Skip to content

Commit 752b662

Browse files
committed
cleaned up code
1 parent d54f717 commit 752b662

1 file changed

Lines changed: 0 additions & 26 deletions

File tree

PWGJE/Tasks/fullJetSpectra.cxx

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ using namespace o2::framework::expressions;
5555
struct FullJetSpectra {
5656

5757
HistogramRegistry registry;
58-
// HistogramRegistry registryTrig;
5958

6059
// MC Sample split configurables
6160
/* Configurable<int> mcSplitSeed{"mcSplitSeed", 12345, "Seed for reproducible MC event splitting"};
@@ -68,8 +67,6 @@ struct FullJetSpectra {
6867
Configurable<float> centralityMax{"centralityMax", 999.0, "maximum centrality"};
6968
Configurable<bool> doEMCALEventWorkaround{"doEMCALEventWorkaround", false, "apply the workaround to read the EMC trigger bit by requiring a cell content in the EMCAL"};
7069
Configurable<bool> doMBGapTrigger{"doMBGapTrigger", true, "set to true only when using MB-Gap Trigger JJ MC to reject MB events at the collision and track level"};
71-
// Configurable<bool> doMBMC{"doMBMC", false, "set to true only when using MB MC"};
72-
// Configurable<bool> checkMcCollisionIsMatched{"checkMcCollisionIsMatched", false, "0: count whole MCcollisions, 1: select MCcollisions which only have their correspond collisions"};
7370

7471
//Software Trigger configurables
7572
Configurable<bool> doSoftwareTriggerSelection{"doSoftwareTriggerSelection", false, "set to true when using triggered datasets"};
@@ -325,10 +322,6 @@ void init(o2::framework::InitContext&)
325322
particleSelection = static_cast<std::string>(particleSelections);
326323
jetRadiiValues = (std::vector<double>)jetRadii;
327324

328-
// if (doSoftwareTriggerSelection) {
329-
// zorroSummary.setObject(zorro.getZorroSummary());
330-
// }
331-
332325
/* if (doMcClosure) {
333326
// randGen.SetSeed(mcSplitSeed);
334327
// randGen.SetSeed(static_cast<UInt_t>(std::time(nullptr)));
@@ -570,9 +563,7 @@ if (doprocessMBMCPCollisionsWithMultiplicity || doprocessMBMCPCollisionsWeighted
570563

571564
// Label the histograms
572565
labelCollisionHistograms(registry);
573-
// labelCollisionHistograms(registryTrig);
574566
// labelMCSplitHistogram(registry);
575-
576567
} // init
577568

578569
// Initialize CCDB access and histogram registry for Zorro processing
@@ -1502,15 +1493,7 @@ for (auto const& jet : jets) {
15021493
if (!isAcceptedPartJet<aod::JetParticles>(jet)) {
15031494
continue;
15041495
}
1505-
// if (checkMcCollisionIsMatched) { // basically checks if the same collisions are generated at the Part level as those at the Det level
1506-
// auto collisionspermcpjet = collisions.sliceBy(CollisionsPerMCPCollision, jet.mcCollisionId());
1507-
// if (collisionspermcpjet.size() >= 1 && jetderiveddatautilities::selectCollision(collisionspermcpjet.begin(), eventSelectionBits)) {
1508-
// // Now here for every matched collision, I fill the corresponding jet histograms.
1509-
// fillMCPHistograms(jet);
1510-
// }
1511-
// } else {
15121496
fillMCPHistograms(jet);
1513-
// }
15141497
}
15151498
}
15161499
PROCESS_SWITCH(FullJetSpectra, processJetsMCP, "Full Jets at Particle Level", false);
@@ -1620,16 +1603,7 @@ for (auto const& jet : jets) {
16201603
if (doMBGapTrigger && jet.eventWeight() == 1) {
16211604
return;
16221605
}
1623-
1624-
// if (checkMcCollisionIsMatched) {
1625-
// auto collisionspermcpjet = collisions.sliceBy(CollisionsPerMCPCollision, jet.mcCollisionId());
1626-
//
1627-
// if (collisionspermcpjet.size() >= 1 && jetderiveddatautilities::selectCollision(collisionspermcpjet.begin(), eventSelectionBits)) {
1628-
// fillMCPHistograms(jet, jet.eventWeight());
1629-
// }
1630-
// } else {
16311606
fillMCPHistograms(jet, jet.eventWeight());
1632-
// }
16331607
}
16341608
}
16351609
PROCESS_SWITCH(FullJetSpectra, processJetsMCPWeighted, "Full Jets at Particle Level on weighted events", false);

0 commit comments

Comments
 (0)