ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
Public Member Functions | List of all members
AtDecoder2Task Class Reference

#include <AtDecoder2Task.h>

Inheritance diagram for AtDecoder2Task:
Inheritance graph
[legend]
Collaboration diagram for AtDecoder2Task:
Collaboration graph
[legend]

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)
 

Detailed Description

Definition at line 23 of file AtDecoder2Task.h.

Constructor & Destructor Documentation

◆ AtDecoder2Task()

AtDecoder2Task::AtDecoder2Task ( )

Constructor.

Definition at line 17 of file AtDecoder2Task.cxx.

◆ ~AtDecoder2Task()

AtDecoder2Task::~AtDecoder2Task ( )

Destructor.

Definition at line 51 of file AtDecoder2Task.cxx.

Member Function Documentation

◆ AddData()

void AtDecoder2Task::AddData ( TString  filename,
Int_t  coboIdx = 0 
)

Adding raw data file to the list.

Definition at line 62 of file AtDecoder2Task.cxx.

◆ ClassDef()

AtDecoder2Task::ClassDef ( AtDecoder2Task  ,
 
)

◆ Exec()

void AtDecoder2Task::Exec ( Option_t *  opt)
virtual

Running the task. This will be called when Run() method invoked from FairRun.

Definition at line 171 of file AtDecoder2Task.cxx.

◆ FinishEvent()

void AtDecoder2Task::FinishEvent ( )
virtual

Finishing the event.

Definition at line 208 of file AtDecoder2Task.cxx.

◆ GetEventID()

Long64_t AtDecoder2Task::GetEventID ( )

Definition at line 104 of file AtDecoder2Task.cxx.

◆ Init()

InitStatus AtDecoder2Task::Init ( )
virtual

Initializing the task. This will be called when Init() method invoked from FairRun.

Definition at line 109 of file AtDecoder2Task.cxx.

◆ ReadEvent()

Int_t AtDecoder2Task::ReadEvent ( Int_t  eventID)

Read event for AtSource.

Definition at line 193 of file AtDecoder2Task.cxx.

◆ SetData()

void AtDecoder2Task::SetData ( Int_t  value)

Setting which data to be decoded.

Definition at line 66 of file AtDecoder2Task.cxx.

◆ SetEventID()

void AtDecoder2Task::SetEventID ( Long64_t  eventid = -1)

Setting event id for STSource.

Definition at line 86 of file AtDecoder2Task.cxx.

◆ SetFPNPedestal()

void AtDecoder2Task::SetFPNPedestal ( Double_t  rms)

Setting the FPN RMS value cut for pedestal region taking.

Definition at line 70 of file AtDecoder2Task.cxx.

◆ SetMap()

void AtDecoder2Task::SetMap ( std::shared_ptr< AtMap map)
inline

Definition at line 84 of file AtDecoder2Task.h.

◆ SetNumCobo()

void AtDecoder2Task::SetNumCobo ( Int_t  numCobo)

Definition at line 95 of file AtDecoder2Task.cxx.

◆ SetNumTbs()

void AtDecoder2Task::SetNumTbs ( Int_t  numTbs)

Setting the number of time buckets used when taking data.

Definition at line 57 of file AtDecoder2Task.cxx.

◆ SetOldData()

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

◆ SetParContainers()

void AtDecoder2Task::SetParContainers ( )
virtual

Setting parameter containers. This will be called inbetween Init() and Run().

Definition at line 156 of file AtDecoder2Task.cxx.

◆ SetPersistence()

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.

◆ SetPositivePolarity()

void AtDecoder2Task::SetPositivePolarity ( Bool_t  value = kFALSE)

Definition at line 74 of file AtDecoder2Task.cxx.

◆ SetPseudoTopologyFrame()

void AtDecoder2Task::SetPseudoTopologyFrame ( Bool_t  value)

Definition at line 90 of file AtDecoder2Task.cxx.

◆ SetPTFMask()

void AtDecoder2Task::SetPTFMask ( Int_t  mask)

Definition at line 99 of file AtDecoder2Task.cxx.

◆ SetUseSeparatedData()

void AtDecoder2Task::SetUseSeparatedData ( Bool_t  value = kTRUE)

Setting to use not merged data files.

Definition at line 82 of file AtDecoder2Task.cxx.


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