![]() |
Project
|
#include <DigitReaderSpec.h>
Inherits o2::framework::Task.
Public Member Functions | |
DigitReader (bool useMC=true) | |
~DigitReader () override=default | |
void | init (o2::framework::InitContext &ic) final |
void | run (o2::framework::ProcessingContext &pc) final |
![]() | |
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::cpv::Digit > | mDigits |
std::vector< o2::cpv::Digit > * | mDigitsInp = &mDigits |
std::vector< o2::cpv::TriggerRecord > | mTRs |
std::vector< o2::cpv::TriggerRecord > * | mTRsInp = &mTRs |
o2::dataformats::MCTruthContainer< o2::MCCompLabel > | mMCTruth |
o2::dataformats::MCTruthContainer< o2::MCCompLabel > * | mMCTruthInp = &mMCTruth |
o2::header::DataOrigin | mOrigin = o2::header::gDataOriginCPV |
bool | mUseMC = true |
std::unique_ptr< TFile > | mFile |
std::unique_ptr< TTree > | mTree |
std::string | mInputFileName = "" |
std::string | mDigitTreeName = "o2sim" |
std::string | mDigitBranchName = "CPVDigit" |
std::string | mTRBranchName = "CPVDigitTrigRecords" |
std::string | mDigitMCTruthBranchName = "CPVDigitMCTruth" |
Definition at line 33 of file DigitReaderSpec.h.
o2::cpv::DigitReader::DigitReader | ( | bool | useMC = true | ) |
Definition at line 29 of file DigitReaderSpec.cxx.
|
overridedefault |
|
protected |
Definition at line 59 of file DigitReaderSpec.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 34 of file DigitReaderSpec.cxx.
|
finalvirtual |
This is invoked whenever a new InputRecord is demeed to be complete.
Implements o2::framework::Task.
Definition at line 41 of file DigitReaderSpec.cxx.
|
protected |
Definition at line 57 of file DigitReaderSpec.h.
|
protected |
Definition at line 59 of file DigitReaderSpec.h.
|
protected |
Definition at line 44 of file DigitReaderSpec.h.
|
protected |
Definition at line 44 of file DigitReaderSpec.h.
|
protected |
Definition at line 56 of file DigitReaderSpec.h.
|
protected |
Definition at line 53 of file DigitReaderSpec.h.
|
protected |
Definition at line 55 of file DigitReaderSpec.h.
|
protected |
Definition at line 47 of file DigitReaderSpec.h.
|
protected |
Definition at line 47 of file DigitReaderSpec.h.
|
protected |
Definition at line 49 of file DigitReaderSpec.h.
|
protected |
Definition at line 58 of file DigitReaderSpec.h.
|
protected |
Definition at line 54 of file DigitReaderSpec.h.
|
protected |
Definition at line 45 of file DigitReaderSpec.h.
|
protected |
Definition at line 45 of file DigitReaderSpec.h.
|
protected |
Definition at line 51 of file DigitReaderSpec.h.