File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1212o2_add_library(TOFSimulation
1313 SOURCES src/Detector.cxx src/Digitizer.cxx src/DigitizerTask.cxx src/TOFSimParams.cxx
1414 PUBLIC_LINK_LIBRARIES O2::DetectorsBase O2::TOFBase
15- O2::SimulationDataFormat
15+ O2::SimulationDataFormat O2::DetectorsRaw
1616 O2::TOFCalibration)
1717
1818o2_target_root_dictionary(TOFSimulation
Original file line number Diff line number Diff line change 1212#include " TOFSimulation/Digitizer.h"
1313#include " DetectorsBase/GeometryManager.h"
1414#include " TOFSimulation/TOFSimParams.h"
15+ #include " DetectorsRaw/HBFUtils.h"
1516
1617#include " TCanvas.h"
1718#include " TFile.h"
@@ -67,6 +68,9 @@ digit time = NBC*1024 + Ntdc
6768void Digitizer::init ()
6869{
6970
71+ // set first readout window in MC production getting
72+ mReadoutWindowCurrent = o2::raw::HBFUtils::Instance ().orbitFirstSampled * Geo::NWINDOW_IN_ORBIT;
73+
7074 // method to initialize the parameters neede to digitize and the array of strip objects containing
7175 // the digits belonging to a strip
7276
You can’t perform that action at this time.
0 commit comments