![]() |
Project
|
#include <ClusterReaderSpec.h>
Inherits o2::framework::Task.
Public Member Functions | |
| ClusterReader ()=delete | |
| ClusterReader (bool useMC, bool usePatterns=true, bool triggers=true) | |
| ~ClusterReader () override=default | |
| void | init (InitContext &ic) final |
| void | run (ProcessingContext &pc) final |
Public Member Functions inherited from o2::framework::Task | |
| virtual | ~Task () |
| virtual void | endOfStream (EndOfStreamContext &context) |
| This is invoked whenever we have an EndOfStream event. | |
| virtual void | finaliseCCDB (ConcreteDataMatcher &matcher, void *obj) |
| virtual void | stop () |
| This is invoked on stop. | |
Static Public Attributes | |
| static constexpr o2::detectors::DetID | ID {N == o2::detectors::DetID::ITS ? o2::detectors::DetID::ITS : o2::detectors::DetID::MFT} |
| static constexpr o2::header::DataOrigin | Origin {(N == o2::detectors::DetID::ITS) ? o2::header::gDataOriginITS : o2::header::gDataOriginMFT} |
| static constexpr int | NLayers {o2::itsmft::DPLAlpideParam<N>::supportsStaggering() ? o2::itsmft::DPLAlpideParam<N>::getNLayers() : 1} |
Protected Member Functions | |
| void | connectTree (const std::string &filename) |
| template<typename Ptr > | |
| void | setBranchAddress (const std::string &base, Ptr &addr, int layer) |
| std::string | getBranchName (const std::string &base, int index) const |
Protected Attributes | |
| std::array< std::vector< o2::itsmft::ROFRecord > *, NLayers > | mClusROFRec |
| std::array< std::vector< o2::itsmft::CompClusterExt > *, NLayers > | mClusterCompArray |
| std::array< std::vector< unsigned char > *, NLayers > | mPatternsArray |
| std::array< o2::dataformats::MCTruthContainer< o2::MCCompLabel > *, NLayers > | mClusterMCTruth |
| std::array< std::vector< o2::itsmft::MC2ROFRecord > *, NLayers > | mClusMC2ROFs |
| std::unique_ptr< TFile > | mFile |
| std::unique_ptr< TTree > | mTree |
| bool | mUseMC = true |
| bool | mUsePatterns = true |
| bool | mTriggerOut = true |
| std::string | mDetName |
| std::string | mDetNameLC |
| std::string | mFileName |
| std::string | mClusTreeName = "o2sim" |
| std::string | mClusROFBranchName = "ClustersROF" |
| std::string | mClusterPattBranchName = "ClusterPatt" |
| std::string | mClusterCompBranchName = "ClusterComp" |
| std::string | mClustMCTruthBranchName = "ClusterMCTruth" |
| std::string | mClustMC2ROFBranchName = "ClustersMC2ROF" |
Definition at line 36 of file ClusterReaderSpec.h.
|
delete |
| o2::itsmft::ClusterReader< N >::ClusterReader | ( | bool | useMC, |
| bool | usePatterns = true, |
||
| bool | triggers = true |
||
| ) |
Definition at line 36 of file ClusterReaderSpec.cxx.
|
overridedefault |
|
protected |
Definition at line 85 of file ClusterReaderSpec.cxx.
|
protected |
Definition at line 114 of file ClusterReaderSpec.cxx.
|
finalvirtual |
The method which is called once to initialise the task. Derived classes can use this to save extra state.
Reimplemented from o2::framework::Task.
Definition at line 48 of file ClusterReaderSpec.cxx.
|
finalvirtual |
This is invoked whenever a new InputRecord is demeed to be complete.
Implements o2::framework::Task.
Definition at line 56 of file ClusterReaderSpec.cxx.
|
protected |
Definition at line 124 of file ClusterReaderSpec.cxx.
|
staticconstexpr |
Definition at line 39 of file ClusterReaderSpec.h.
|
protected |
Definition at line 59 of file ClusterReaderSpec.h.
|
protected |
Definition at line 72 of file ClusterReaderSpec.h.
|
protected |
Definition at line 55 of file ClusterReaderSpec.h.
|
protected |
Definition at line 56 of file ClusterReaderSpec.h.
|
protected |
Definition at line 74 of file ClusterReaderSpec.h.
|
protected |
Definition at line 58 of file ClusterReaderSpec.h.
|
protected |
Definition at line 73 of file ClusterReaderSpec.h.
|
protected |
Definition at line 76 of file ClusterReaderSpec.h.
|
protected |
Definition at line 75 of file ClusterReaderSpec.h.
|
protected |
Definition at line 71 of file ClusterReaderSpec.h.
|
protected |
Definition at line 68 of file ClusterReaderSpec.h.
|
protected |
Definition at line 69 of file ClusterReaderSpec.h.
|
protected |
Definition at line 61 of file ClusterReaderSpec.h.
|
protected |
Definition at line 70 of file ClusterReaderSpec.h.
|
protected |
Definition at line 57 of file ClusterReaderSpec.h.
|
protected |
Definition at line 62 of file ClusterReaderSpec.h.
|
protected |
Definition at line 66 of file ClusterReaderSpec.h.
|
protected |
Definition at line 64 of file ClusterReaderSpec.h.
|
protected |
Definition at line 65 of file ClusterReaderSpec.h.
|
staticconstexpr |
Definition at line 41 of file ClusterReaderSpec.h.
|
staticconstexpr |
Definition at line 40 of file ClusterReaderSpec.h.