Project
Loading...
Searching...
No Matches
o2::its3::ClusterReader Class Reference

#include <ClusterReaderSpec.h>

Inherits o2::framework::Task.

Public Member Functions

 ClusterReader (bool useMC, bool usePatterns=true)
 
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.
 

Protected Member Functions

void connectTree (const std::string &filename)
 

Protected Attributes

std::vector< o2::itsmft::ROFRecordmClusROFRec
 
std::vector< o2::itsmft::ROFRecord > * mClusROFRecPtr = &mClusROFRec
 
std::vector< o2::itsmft::CompClusterExtmClusterCompArray
 
std::vector< o2::itsmft::CompClusterExt > * mClusterCompArrayPtr = &mClusterCompArray
 
std::vector< unsigned charmPatternsArray
 
std::vector< unsigned char > * mPatternsArrayPtr = &mPatternsArray
 
o2::dataformats::MCTruthContainer< o2::MCCompLabelmClusterMCTruth
 
o2::dataformats::MCTruthContainer< o2::MCCompLabel > * mClusterMCTruthPtr = &mClusterMCTruth
 
std::vector< o2::itsmft::MC2ROFRecordmClusMC2ROFs
 
std::vector< o2::itsmft::MC2ROFRecord > * mClusMC2ROFsPtr = &mClusMC2ROFs
 
o2::header::DataOrigin mOrigin = o2::header::gDataOriginITS
 
std::unique_ptr< TFile > mFile
 
std::unique_ptr< TTree > mTree
 
bool mUseMC = true
 
bool mUsePatterns = true
 
std::string mDetName = "ITS"
 
std::string mDetNameLC = "its"
 
std::string mDetNameReal = "IT3"
 
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"
 

Detailed Description

Definition at line 33 of file ClusterReaderSpec.h.

Constructor & Destructor Documentation

◆ ClusterReader()

o2::its3::ClusterReader::ClusterReader ( bool  useMC,
bool  usePatterns = true 
)

Definition at line 33 of file ClusterReaderSpec.cxx.

Member Function Documentation

◆ connectTree()

void o2::its3::ClusterReader::connectTree ( const std::string &  filename)
protected

Definition at line 72 of file ClusterReaderSpec.cxx.

◆ init()

void o2::its3::ClusterReader::init ( InitContext context)
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 39 of file ClusterReaderSpec.cxx.

◆ run()

void o2::its3::ClusterReader::run ( ProcessingContext context)
finalvirtual

This is invoked whenever a new InputRecord is demeed to be complete.

Implements o2::framework::Task.

Definition at line 46 of file ClusterReaderSpec.cxx.

Member Data Documentation

◆ mClusMC2ROFs

std::vector<o2::itsmft::MC2ROFRecord> o2::its3::ClusterReader::mClusMC2ROFs
protected

Definition at line 48 of file ClusterReaderSpec.h.

◆ mClusMC2ROFsPtr

std::vector<o2::itsmft::MC2ROFRecord> * o2::its3::ClusterReader::mClusMC2ROFsPtr = &mClusMC2ROFs
protected

Definition at line 48 of file ClusterReaderSpec.h.

◆ mClusROFBranchName

std::string o2::its3::ClusterReader::mClusROFBranchName = "ClustersROF"
protected

Definition at line 63 of file ClusterReaderSpec.h.

◆ mClusROFRec

std::vector<o2::itsmft::ROFRecord> o2::its3::ClusterReader::mClusROFRec
protected

Definition at line 44 of file ClusterReaderSpec.h.

◆ mClusROFRecPtr

std::vector<o2::itsmft::ROFRecord> * o2::its3::ClusterReader::mClusROFRecPtr = &mClusROFRec
protected

Definition at line 44 of file ClusterReaderSpec.h.

◆ mClusterCompArray

std::vector<o2::itsmft::CompClusterExt> o2::its3::ClusterReader::mClusterCompArray
protected

Definition at line 45 of file ClusterReaderSpec.h.

◆ mClusterCompArrayPtr

std::vector<o2::itsmft::CompClusterExt> * o2::its3::ClusterReader::mClusterCompArrayPtr = &mClusterCompArray
protected

Definition at line 45 of file ClusterReaderSpec.h.

◆ mClusterCompBranchName

std::string o2::its3::ClusterReader::mClusterCompBranchName = "ClusterComp"
protected

Definition at line 65 of file ClusterReaderSpec.h.

◆ mClusterMCTruth

o2::dataformats::MCTruthContainer<o2::MCCompLabel> o2::its3::ClusterReader::mClusterMCTruth
protected

Definition at line 47 of file ClusterReaderSpec.h.

◆ mClusterMCTruthPtr

o2::dataformats::MCTruthContainer<o2::MCCompLabel> * o2::its3::ClusterReader::mClusterMCTruthPtr = &mClusterMCTruth
protected

Definition at line 47 of file ClusterReaderSpec.h.

◆ mClusterPattBranchName

std::string o2::its3::ClusterReader::mClusterPattBranchName = "ClusterPatt"
protected

Definition at line 64 of file ClusterReaderSpec.h.

◆ mClustMC2ROFBranchName

std::string o2::its3::ClusterReader::mClustMC2ROFBranchName = "ClustersMC2ROF"
protected

Definition at line 67 of file ClusterReaderSpec.h.

◆ mClustMCTruthBranchName

std::string o2::its3::ClusterReader::mClustMCTruthBranchName = "ClusterMCTruth"
protected

Definition at line 66 of file ClusterReaderSpec.h.

◆ mClusTreeName

std::string o2::its3::ClusterReader::mClusTreeName = "o2sim"
protected

Definition at line 62 of file ClusterReaderSpec.h.

◆ mDetName

std::string o2::its3::ClusterReader::mDetName = "ITS"
protected

Definition at line 58 of file ClusterReaderSpec.h.

◆ mDetNameLC

std::string o2::its3::ClusterReader::mDetNameLC = "its"
protected

Definition at line 59 of file ClusterReaderSpec.h.

◆ mDetNameReal

std::string o2::its3::ClusterReader::mDetNameReal = "IT3"
protected

Definition at line 60 of file ClusterReaderSpec.h.

◆ mFile

std::unique_ptr<TFile> o2::its3::ClusterReader::mFile
protected

Definition at line 52 of file ClusterReaderSpec.h.

◆ mFileName

std::string o2::its3::ClusterReader::mFileName = ""
protected

Definition at line 61 of file ClusterReaderSpec.h.

◆ mOrigin

o2::header::DataOrigin o2::its3::ClusterReader::mOrigin = o2::header::gDataOriginITS
protected

Definition at line 50 of file ClusterReaderSpec.h.

◆ mPatternsArray

std::vector<unsigned char> o2::its3::ClusterReader::mPatternsArray
protected

Definition at line 46 of file ClusterReaderSpec.h.

◆ mPatternsArrayPtr

std::vector<unsigned char> * o2::its3::ClusterReader::mPatternsArrayPtr = &mPatternsArray
protected

Definition at line 46 of file ClusterReaderSpec.h.

◆ mTree

std::unique_ptr<TTree> o2::its3::ClusterReader::mTree
protected

Definition at line 53 of file ClusterReaderSpec.h.

◆ mUseMC

bool o2::its3::ClusterReader::mUseMC = true
protected

Definition at line 55 of file ClusterReaderSpec.h.

◆ mUsePatterns

bool o2::its3::ClusterReader::mUsePatterns = true
protected

Definition at line 56 of file ClusterReaderSpec.h.


The documentation for this class was generated from the following files: