Skip to content

Commit b473a81

Browse files
committed
[PWGJE] add hard scattering scale to gammejettreeproducer
1 parent 7b07cdd commit b473a81

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

PWGJE/DataModel/GammaJetAnalysisTree.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,10 @@ namespace gjmcevent
7373
DECLARE_SOA_INDEX_COLUMN(GjEvent, gjevent);
7474
DECLARE_SOA_COLUMN(Weight, weight, double);
7575
DECLARE_SOA_COLUMN(Rho, rho, float); // gen level rho
76+
DECLARE_SOA_COLUMN(PtHard, ptHard, float); // hard-scattering scale
7677
DECLARE_SOA_COLUMN(IsMultipleAssigned, isMultipleAssigned, bool); // if the corresponding MC collision matched to this rec collision was also matched to other rec collisions (allows to skip those on analysis level )
7778
} // namespace gjmcevent
78-
DECLARE_SOA_TABLE(GjMCEvents, "AOD", "GJMCEVENT", gjmcevent::GjEventId, gjmcevent::Weight, gjmcevent::Rho, gjmcevent::IsMultipleAssigned)
79+
DECLARE_SOA_TABLE(GjMCEvents, "AOD", "GJMCEVENT", gjmcevent::GjEventId, gjmcevent::Weight, gjmcevent::Rho, gjmcevent::PtHard, gjmcevent::IsMultipleAssigned)
7980
// Information about EMCal clusters
8081
namespace gjgamma
8182
{

PWGJE/Tasks/gammaJetTreeProducer.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1155,7 +1155,7 @@ struct GammaJetTreeProducer {
11551155
if (std::find(mcCollisionsMultiRecCollisions.begin(), mcCollisionsMultiRecCollisions.end(), mcCollision.globalIndex()) != mcCollisionsMultiRecCollisions.end()) {
11561156
isMultipleAssigned = true;
11571157
}
1158-
mcEventsTable(eventsTable.lastIndex(), mcCollision.weight(), mcCollision.rho(), isMultipleAssigned);
1158+
mcEventsTable(eventsTable.lastIndex(), mcCollision.weight(), mcCollision.rho(), mcCollision.ptHard(), isMultipleAssigned);
11591159
}
11601160

11611161
// ---------------------

0 commit comments

Comments
 (0)