ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
#include <AtDecoder2Task.h>
Public Member Functions | |
AtDecoder2Task () | |
Constructor. More... | |
~AtDecoder2Task () | |
Destructor. More... | |
void | SetNumTbs (Int_t numTbs) |
Setting the number of time buckets used when taking data. More... | |
void | AddData (TString filename, Int_t coboIdx=0) |
Adding raw data file to the list. More... | |
void | SetData (Int_t value) |
Setting which data to be decoded. More... | |
void | SetFPNPedestal (Double_t rms) |
Setting the FPN RMS value cut for pedestal region taking. More... | |
void | SetOldData (Bool_t oldData=kTRUE) |
Setting gain calibration data file. If not set, gain is not calibrated. More... | |
void | SetUseSeparatedData (Bool_t value=kTRUE) |
Setting to use not merged data files. More... | |
void | SetEventID (Long64_t eventid=-1) |
Setting event id for STSource. More... | |
void | SetMap (std::shared_ptr< AtMap > map) |
void | SetPseudoTopologyFrame (Bool_t value) |
void | SetPTFMask (Int_t mask) |
Long64_t | GetEventID () |
void | SetPersistence (Bool_t value=kTRUE) |
If set, decoded raw data is written in ROOT file with AtRawEvent class. More... | |
void | SetPositivePolarity (Bool_t value=kFALSE) |
virtual InitStatus | Init () |
Initializing the task. This will be called when Init() method invoked from FairRun. More... | |
virtual void | SetParContainers () |
Setting parameter containers. This will be called inbetween Init() and Run(). More... | |
virtual void | Exec (Option_t *opt) |
Running the task. This will be called when Run() method invoked from FairRun. More... | |
virtual void | FinishEvent () |
Finishing the event. More... | |
Int_t | ReadEvent (Int_t eventID) |
Read event for AtSource. More... | |
void | SetNumCobo (Int_t numCobo) |
ClassDef (AtDecoder2Task, 2) | |
Definition at line 23 of file AtDecoder2Task.h.
AtDecoder2Task::AtDecoder2Task | ( | ) |
Constructor.
Definition at line 17 of file AtDecoder2Task.cxx.
AtDecoder2Task::~AtDecoder2Task | ( | ) |
Destructor.
Definition at line 51 of file AtDecoder2Task.cxx.
void AtDecoder2Task::AddData | ( | TString | filename, |
Int_t | coboIdx = 0 |
||
) |
Adding raw data file to the list.
Definition at line 62 of file AtDecoder2Task.cxx.
AtDecoder2Task::ClassDef | ( | AtDecoder2Task | , |
2 | |||
) |
|
virtual |
Running the task. This will be called when Run() method invoked from FairRun.
Definition at line 171 of file AtDecoder2Task.cxx.
|
virtual |
Finishing the event.
Definition at line 208 of file AtDecoder2Task.cxx.
Long64_t AtDecoder2Task::GetEventID | ( | ) |
Definition at line 104 of file AtDecoder2Task.cxx.
|
virtual |
Initializing the task. This will be called when Init() method invoked from FairRun.
Definition at line 109 of file AtDecoder2Task.cxx.
Int_t AtDecoder2Task::ReadEvent | ( | Int_t | eventID | ) |
Read event for AtSource.
Definition at line 193 of file AtDecoder2Task.cxx.
void AtDecoder2Task::SetData | ( | Int_t | value | ) |
Setting which data to be decoded.
Definition at line 66 of file AtDecoder2Task.cxx.
void AtDecoder2Task::SetEventID | ( | Long64_t | eventid = -1 | ) |
Setting event id for STSource.
Definition at line 86 of file AtDecoder2Task.cxx.
void AtDecoder2Task::SetFPNPedestal | ( | Double_t | rms | ) |
Setting the FPN RMS value cut for pedestal region taking.
Definition at line 70 of file AtDecoder2Task.cxx.
|
inline |
Definition at line 84 of file AtDecoder2Task.h.
void AtDecoder2Task::SetNumCobo | ( | Int_t | numCobo | ) |
Definition at line 95 of file AtDecoder2Task.cxx.
void AtDecoder2Task::SetNumTbs | ( | Int_t | numTbs | ) |
Setting the number of time buckets used when taking data.
Definition at line 57 of file AtDecoder2Task.cxx.
void AtDecoder2Task::SetOldData | ( | Bool_t | oldData = kTRUE | ) |
Setting gain calibration data file. If not set, gain is not calibrated.
Setting use gain calibration data file. If there's no file specified by user using two methods below, it'll use the one in parameter files. Setting gain calibration reference. Setting to decode old data file
|
virtual |
Setting parameter containers. This will be called inbetween Init() and Run().
Definition at line 156 of file AtDecoder2Task.cxx.
void AtDecoder2Task::SetPersistence | ( | Bool_t | value = kTRUE | ) |
If set, decoded raw data is written in ROOT file with AtRawEvent class.
Definition at line 53 of file AtDecoder2Task.cxx.
void AtDecoder2Task::SetPositivePolarity | ( | Bool_t | value = kFALSE | ) |
Definition at line 74 of file AtDecoder2Task.cxx.
void AtDecoder2Task::SetPseudoTopologyFrame | ( | Bool_t | value | ) |
Definition at line 90 of file AtDecoder2Task.cxx.
void AtDecoder2Task::SetPTFMask | ( | Int_t | mask | ) |
Definition at line 99 of file AtDecoder2Task.cxx.
void AtDecoder2Task::SetUseSeparatedData | ( | Bool_t | value = kTRUE | ) |
Setting to use not merged data files.
Definition at line 82 of file AtDecoder2Task.cxx.