14#ifndef O2_PHOS_CELLREADER
15#define O2_PHOS_CELLREADER
Definition of a container to keep Monte Carlo truth external to simulation objects.
std::string mCellTreeName
std::vector< o2::phos::Cell > mCells
o2::dataformats::MCTruthContainer< o2::phos::MCLabel > mMCTruth
void connectTree(const std::string &filename)
std::vector< o2::phos::Cell > * mCellsInp
void init(o2::framework::InitContext &ic) final
o2::header::DataOrigin mOrigin
o2::dataformats::MCTruthContainer< o2::phos::MCLabel > * mMCTruthInp
~CellReader() override=default
std::vector< o2::phos::TriggerRecord > * mTRsInp
std::string mTRBranchName
std::string mCellMCTruthBranchName
std::vector< o2::phos::TriggerRecord > mTRs
std::unique_ptr< TFile > mFile
void run(o2::framework::ProcessingContext &pc) final
std::string mInputFileName
std::unique_ptr< TTree > mTree
std::string mCellBranchName
constexpr o2::header::DataOrigin gDataOriginPHS
framework::DataProcessorSpec getPHOSCellReaderSpec(bool useMC=true)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...