14#ifndef O2_ITSMFT_CLUSTERREADER
15#define O2_ITSMFT_CLUSTERREADER
45 ClusterReader(
bool useMC =
true,
bool doStag =
false,
bool usePatterns =
true,
bool triggers =
true);
52 template <
typename Ptr>
56 std::vector<std::vector<o2::itsmft::ROFRecord>*>
mClusROFRec{
nullptr};
59 std::vector<o2::dataformats::MCTruthContainer<o2::MCCompLabel>*>
mClusterMCTruth{
nullptr};
83 ITSClusterReader(
bool useMC =
true,
bool doStag =
false,
bool usePatterns =
true,
bool triggerOut =
true)
90 MFTClusterReader(
bool useMC =
true,
bool doStag =
false,
bool usePatterns =
true,
bool triggerOut =
true)
Definition of the ITSMFT compact cluster.
Definition of a container to keep Monte Carlo truth external to simulation objects.
Static class with identifiers, bitmasks and names for ALICE detectors.
void run(ProcessingContext &pc) final
std::string getBranchName(const std::string &base, int index) const
std::vector< std::vector< o2::itsmft::CompClusterExt > * > mClusterCompArray
void connectTree(const std::string &filename)
std::vector< std::vector< unsigned char > * > mPatternsArray
std::string mClusterPattBranchName
void init(InitContext &ic) final
void setBranchAddress(const std::string &base, Ptr &addr, int layer)
static constexpr o2::header::DataOrigin Origin
std::vector< std::vector< o2::itsmft::ROFRecord > * > mClusROFRec
std::string mClustMCTruthBranchName
static constexpr o2::detectors::DetID ID
std::string mClusTreeName
std::vector< o2::dataformats::MCTruthContainer< o2::MCCompLabel > * > mClusterMCTruth
std::unique_ptr< TTree > mTree
std::string mClusterCompBranchName
std::unique_ptr< TFile > mFile
std::string mClusROFBranchName
~ClusterReader() override=default
ITSClusterReader(bool useMC=true, bool doStag=false, bool usePatterns=true, bool triggerOut=true)
MFTClusterReader(bool useMC=true, bool doStag=false, bool usePatterns=true, bool triggerOut=true)
GLenum GLuint GLint GLint layer
constexpr o2::header::DataOrigin gDataOriginMFT
constexpr o2::header::DataOrigin gDataOriginITS
Defining ITS Vertex explicitly as messageable.
framework::DataProcessorSpec getMFTClusterReaderSpec(bool useMC=true, bool doStag=false, bool usePatterns=true, bool useTriggers=true)
framework::DataProcessorSpec getITSClusterReaderSpec(bool useMC=true, bool doStag=false, bool usePatterns=true, bool useTriggers=true)