Project
Loading...
Searching...
No Matches
o2::iotof::TF3DigitReader Class Reference

#include <DigitReaderSpec.h>

Inherits o2::framework::Task.

Public Member Functions

 TF3DigitReader ()=delete
 
 TF3DigitReader (o2::detectors::DetID id, bool useMC, bool useCalib)
 
 ~TF3DigitReader () override=default
 
void init (o2::framework::InitContext &ic) final
 
void run (o2::framework::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::iotof::DigitmDigits
 
std::vector< o2::iotof::Digit > * mDigitsPtr = &mDigits
 
std::vector< o2::itsmft::ROFRecordmDigROFRec
 
std::vector< o2::itsmft::ROFRecord > * mDigROFRecPtr = &mDigROFRec
 
std::vector< o2::itsmft::MC2ROFRecordmDigMC2ROFs
 
std::vector< o2::itsmft::MC2ROFRecord > * mDigMC2ROFsPtr = &mDigMC2ROFs
 
o2::header::DataOrigin mOrigin = o2::header::gDataOriginTF3
 
std::unique_ptr< TFile > mFile
 
std::unique_ptr< TTree > mTree
 
bool mUseMC = true
 
bool mUseCalib = true
 
std::string mDetName = ""
 
std::string mDetNameLC = ""
 
std::string mFileName = ""
 
std::string mDigTreeName = "o2sim"
 
std::string mDigitBranchName = "Digit"
 
std::string mDigROFBranchName = "DigitROF"
 
std::string mCalibBranchName = "Calib"
 
std::string mDigtMCTruthBranchName = "DigitMCTruth"
 
std::string mDigtMC2ROFBranchName = "DigitMC2ROF"
 

Detailed Description

Definition at line 27 of file DigitReaderSpec.h.

Constructor & Destructor Documentation

◆ TF3DigitReader() [1/2]

o2::iotof::TF3DigitReader::TF3DigitReader ( )
delete

◆ TF3DigitReader() [2/2]

o2::iotof::TF3DigitReader::TF3DigitReader ( o2::detectors::DetID  id,
bool  useMC,
bool  useCalib 
)

Definition at line 29 of file DigitReaderSpec.cxx.

◆ ~TF3DigitReader()

o2::iotof::TF3DigitReader::~TF3DigitReader ( )
overridedefault

Member Function Documentation

◆ connectTree()

void o2::iotof::TF3DigitReader::connectTree ( const std::string &  filename)
protected

Definition at line 87 of file DigitReaderSpec.cxx.

◆ init()

void o2::iotof::TF3DigitReader::init ( o2::framework::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 47 of file DigitReaderSpec.cxx.

◆ run()

void o2::iotof::TF3DigitReader::run ( o2::framework::ProcessingContext context)
finalvirtual

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

Implements o2::framework::Task.

Definition at line 53 of file DigitReaderSpec.cxx.

Member Data Documentation

◆ mCalibBranchName

std::string o2::iotof::TF3DigitReader::mCalibBranchName = "Calib"
protected

Definition at line 56 of file DigitReaderSpec.h.

◆ mDetName

std::string o2::iotof::TF3DigitReader::mDetName = ""
protected

Definition at line 50 of file DigitReaderSpec.h.

◆ mDetNameLC

std::string o2::iotof::TF3DigitReader::mDetNameLC = ""
protected

Definition at line 51 of file DigitReaderSpec.h.

◆ mDigitBranchName

std::string o2::iotof::TF3DigitReader::mDigitBranchName = "Digit"
protected

Definition at line 54 of file DigitReaderSpec.h.

◆ mDigits

std::vector<o2::iotof::Digit> o2::iotof::TF3DigitReader::mDigits
protected

Definition at line 39 of file DigitReaderSpec.h.

◆ mDigitsPtr

std::vector<o2::iotof::Digit> * o2::iotof::TF3DigitReader::mDigitsPtr = &mDigits
protected

Definition at line 39 of file DigitReaderSpec.h.

◆ mDigMC2ROFs

std::vector<o2::itsmft::MC2ROFRecord> o2::iotof::TF3DigitReader::mDigMC2ROFs
protected

Definition at line 41 of file DigitReaderSpec.h.

◆ mDigMC2ROFsPtr

std::vector<o2::itsmft::MC2ROFRecord> * o2::iotof::TF3DigitReader::mDigMC2ROFsPtr = &mDigMC2ROFs
protected

Definition at line 41 of file DigitReaderSpec.h.

◆ mDigROFBranchName

std::string o2::iotof::TF3DigitReader::mDigROFBranchName = "DigitROF"
protected

Definition at line 55 of file DigitReaderSpec.h.

◆ mDigROFRec

std::vector<o2::itsmft::ROFRecord> o2::iotof::TF3DigitReader::mDigROFRec
protected

Definition at line 40 of file DigitReaderSpec.h.

◆ mDigROFRecPtr

std::vector<o2::itsmft::ROFRecord> * o2::iotof::TF3DigitReader::mDigROFRecPtr = &mDigROFRec
protected

Definition at line 40 of file DigitReaderSpec.h.

◆ mDigtMC2ROFBranchName

std::string o2::iotof::TF3DigitReader::mDigtMC2ROFBranchName = "DigitMC2ROF"
protected

Definition at line 59 of file DigitReaderSpec.h.

◆ mDigtMCTruthBranchName

std::string o2::iotof::TF3DigitReader::mDigtMCTruthBranchName = "DigitMCTruth"
protected

Definition at line 58 of file DigitReaderSpec.h.

◆ mDigTreeName

std::string o2::iotof::TF3DigitReader::mDigTreeName = "o2sim"
protected

Definition at line 53 of file DigitReaderSpec.h.

◆ mFile

std::unique_ptr<TFile> o2::iotof::TF3DigitReader::mFile
protected

Definition at line 44 of file DigitReaderSpec.h.

◆ mFileName

std::string o2::iotof::TF3DigitReader::mFileName = ""
protected

Definition at line 52 of file DigitReaderSpec.h.

◆ mOrigin

o2::header::DataOrigin o2::iotof::TF3DigitReader::mOrigin = o2::header::gDataOriginTF3
protected

Definition at line 42 of file DigitReaderSpec.h.

◆ mTree

std::unique_ptr<TTree> o2::iotof::TF3DigitReader::mTree
protected

Definition at line 45 of file DigitReaderSpec.h.

◆ mUseCalib

bool o2::iotof::TF3DigitReader::mUseCalib = true
protected

Definition at line 48 of file DigitReaderSpec.h.

◆ mUseMC

bool o2::iotof::TF3DigitReader::mUseMC = true
protected

Definition at line 47 of file DigitReaderSpec.h.


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