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

#include <DigitReaderSpec.h>

Inherits o2::framework::Task.

Inherited by o2::its3::ITS3DigitReader.

Public Member Functions

 DigitReader ()=delete
 
 DigitReader (o2::detectors::DetID id, bool useMC, bool useCalib)
 
 ~DigitReader () 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.
 

Protected Member Functions

void connectTree (const std::string &filename)
 

Protected Attributes

std::vector< o2::itsmft::DigitmDigits
 
std::vector< o2::itsmft::Digit > * mDigitsPtr = &mDigits
 
std::vector< o2::itsmft::GBTCalibDatamCalib
 
std::vector< o2::itsmft::GBTCalibData > * mCalibPtr = &mCalib
 
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::gDataOriginInvalid
 
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 35 of file DigitReaderSpec.h.

Constructor & Destructor Documentation

◆ DigitReader() [1/2]

o2::its3::DigitReader::DigitReader ( )
delete

◆ DigitReader() [2/2]

o2::its3::DigitReader::DigitReader ( o2::detectors::DetID  id,
bool  useMC,
bool  useCalib 
)

Definition at line 35 of file DigitReaderSpec.cxx.

◆ ~DigitReader()

o2::its3::DigitReader::~DigitReader ( )
overridedefault

Member Function Documentation

◆ connectTree()

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

Definition at line 93 of file DigitReaderSpec.cxx.

◆ init()

void o2::its3::DigitReader::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 53 of file DigitReaderSpec.cxx.

◆ run()

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

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

Implements o2::framework::Task.

Definition at line 59 of file DigitReaderSpec.cxx.

Member Data Documentation

◆ mCalib

std::vector<o2::itsmft::GBTCalibData> o2::its3::DigitReader::mCalib
protected

Definition at line 48 of file DigitReaderSpec.h.

◆ mCalibBranchName

std::string o2::its3::DigitReader::mCalibBranchName = "Calib"
protected

Definition at line 66 of file DigitReaderSpec.h.

◆ mCalibPtr

std::vector<o2::itsmft::GBTCalibData> * o2::its3::DigitReader::mCalibPtr = &mCalib
protected

Definition at line 48 of file DigitReaderSpec.h.

◆ mDetName

std::string o2::its3::DigitReader::mDetName = ""
protected

Definition at line 60 of file DigitReaderSpec.h.

◆ mDetNameLC

std::string o2::its3::DigitReader::mDetNameLC = ""
protected

Definition at line 61 of file DigitReaderSpec.h.

◆ mDigitBranchName

std::string o2::its3::DigitReader::mDigitBranchName = "Digit"
protected

Definition at line 64 of file DigitReaderSpec.h.

◆ mDigits

std::vector<o2::itsmft::Digit> o2::its3::DigitReader::mDigits
protected

Definition at line 47 of file DigitReaderSpec.h.

◆ mDigitsPtr

std::vector<o2::itsmft::Digit> * o2::its3::DigitReader::mDigitsPtr = &mDigits
protected

Definition at line 47 of file DigitReaderSpec.h.

◆ mDigMC2ROFs

std::vector<o2::itsmft::MC2ROFRecord> o2::its3::DigitReader::mDigMC2ROFs
protected

Definition at line 50 of file DigitReaderSpec.h.

◆ mDigMC2ROFsPtr

std::vector<o2::itsmft::MC2ROFRecord> * o2::its3::DigitReader::mDigMC2ROFsPtr = &mDigMC2ROFs
protected

Definition at line 50 of file DigitReaderSpec.h.

◆ mDigROFBranchName

std::string o2::its3::DigitReader::mDigROFBranchName = "DigitROF"
protected

Definition at line 65 of file DigitReaderSpec.h.

◆ mDigROFRec

std::vector<o2::itsmft::ROFRecord> o2::its3::DigitReader::mDigROFRec
protected

Definition at line 49 of file DigitReaderSpec.h.

◆ mDigROFRecPtr

std::vector<o2::itsmft::ROFRecord> * o2::its3::DigitReader::mDigROFRecPtr = &mDigROFRec
protected

Definition at line 49 of file DigitReaderSpec.h.

◆ mDigtMC2ROFBranchName

std::string o2::its3::DigitReader::mDigtMC2ROFBranchName = "DigitMC2ROF"
protected

Definition at line 69 of file DigitReaderSpec.h.

◆ mDigtMCTruthBranchName

std::string o2::its3::DigitReader::mDigtMCTruthBranchName = "DigitMCTruth"
protected

Definition at line 68 of file DigitReaderSpec.h.

◆ mDigTreeName

std::string o2::its3::DigitReader::mDigTreeName = "o2sim"
protected

Definition at line 63 of file DigitReaderSpec.h.

◆ mFile

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

Definition at line 54 of file DigitReaderSpec.h.

◆ mFileName

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

Definition at line 62 of file DigitReaderSpec.h.

◆ mOrigin

o2::header::DataOrigin o2::its3::DigitReader::mOrigin = o2::header::gDataOriginInvalid
protected

Definition at line 52 of file DigitReaderSpec.h.

◆ mTree

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

Definition at line 55 of file DigitReaderSpec.h.

◆ mUseCalib

bool o2::its3::DigitReader::mUseCalib = true
protected

Definition at line 58 of file DigitReaderSpec.h.

◆ mUseMC

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

Definition at line 57 of file DigitReaderSpec.h.


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