File tree Expand file tree Collapse file tree
T0/simulation/include/T0Simulation
Steer/DigitizerWorkflow/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222#include " FITSimulation/Digitizer.h"
2323#include " SimulationDataFormat/MCTruthContainer.h"
2424#include " SimulationDataFormat/MCCompLabel.h"
25- #include " FITBase /MCLabel.h"
25+ #include " FITSimulation /MCLabel.h"
2626
2727namespace o2
2828{
Original file line number Diff line number Diff line change 1515#include " T0Simulation/Detector.h"
1616#include " SimulationDataFormat/MCTruthContainer.h"
1717#include " SimulationDataFormat/MCCompLabel.h"
18- #include " FITBase /MCLabel.h"
18+ #include " FITSimulation /MCLabel.h"
1919#include " FITSimulation/DigitizationParameters.h"
2020
2121namespace o2
Original file line number Diff line number Diff line change 1818#pragma link C++ class o2::fit::DigitizationParameters + ;
1919#pragma link C++ class o2::fit::HitType + ;
2020#pragma link C++ class vector < o2::fit::HitType > +;
21- // #pragma link C++ class o2::fit::MCLabel + ;
21+ #pragma link C++ class o2::fit::MCLabel + ;
2222#pragma link C++ class o2::dataformats::MCTruthContainer < o2::fit::MCLabel > +;
2323#pragma link C++ class o2::Base::DetImpl < o2::fit::Detector > +;
2424
Original file line number Diff line number Diff line change 1818#include " FITSimulation/Digitizer.h"
1919#include " T0Simulation/DigitizationParameters.h"
2020#include " FITBase/Digit.h"
21+ #include " FITSimulation/MCLabel.h"
2122#include " SimulationDataFormat/MCCompLabel.h"
2223#include " SimulationDataFormat/MCTruthContainer.h"
2324#include " Framework/Task.h"
@@ -107,6 +108,7 @@ class FITDPLDigitizerTask
107108 mDigitizer .setEventTime (timesview[collID].timeNS );
108109 mDigitizer .setOrbit (timesview[collID].orbit );
109110 mDigitizer .setBC (timesview[collID].bc );
111+ mDigitizer .setMCLabels (&mLabels );
110112 digit.cleardigits ();
111113 // for each collision, loop over the constituents event and source IDs
112114 // (background signal merging is basically taking place here)
@@ -120,6 +122,7 @@ class FITDPLDigitizerTask
120122 // call actual digitization procedure
121123 labels.clear ();
122124 // digits.clear();
125+ mDigitizer .setSrcID (part.sourceID );
123126 mDigitizer .process (&hits, &digit);
124127 const auto & data = digit.getChDgData ();
125128 LOG (INFO ) << " Have " << data.size () << " fired channels " ;
You can’t perform that action at this time.
0 commit comments