14#ifndef O2_ITSMFT_CLUSTERREADER
15#define O2_ITSMFT_CLUSTERREADER
44 ClusterReader(
bool useMC,
bool usePatterns =
true,
bool triggers =
true);
51 template <
typename Ptr>
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::string mClustMC2ROFBranchName
void connectTree(const std::string &filename)
static constexpr int NLayers
std::array< std::vector< unsigned char > *, NLayers > 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::array< std::vector< o2::itsmft::CompClusterExt > *, NLayers > mClusterCompArray
std::string mClustMCTruthBranchName
static constexpr o2::detectors::DetID ID
std::string mClusTreeName
std::array< std::vector< o2::itsmft::MC2ROFRecord > *, NLayers > mClusMC2ROFs
std::unique_ptr< TTree > mTree
std::array< std::vector< o2::itsmft::ROFRecord > *, NLayers > mClusROFRec
std::string mClusterCompBranchName
std::unique_ptr< TFile > mFile
std::string mClusROFBranchName
std::array< o2::dataformats::MCTruthContainer< o2::MCCompLabel > *, NLayers > mClusterMCTruth
~ClusterReader() override=default
ITSClusterReader(bool useMC=true, bool usePatterns=true, bool triggerOut=true)
MFTClusterReader(bool useMC=true, bool usePatterns=true, bool triggerOut=true)
GLenum GLuint GLint GLint layer
constexpr o2::header::DataOrigin gDataOriginMFT
constexpr o2::header::DataOrigin gDataOriginITS
Defining PrimaryVertex explicitly as messageable.
framework::DataProcessorSpec getMFTClusterReaderSpec(bool useMC=true, bool usePatterns=true, bool useTriggers=true)
framework::DataProcessorSpec getITSClusterReaderSpec(bool useMC=true, bool usePatterns=true, bool useTriggers=true)
static constexpr int getNLayers()
static constexpr bool supportsStaggering() noexcept