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

#include <AtCore2.h>

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

Public Member Functions

 AtCore2 ()
 
 AtCore2 (std::shared_ptr< AtMap > map)
 
 AtCore2 (std::shared_ptr< AtMap > map, Int_t numCobos=4)
 
 AtCore2 (TString filename, std::shared_ptr< AtMap > map)
 
 AtCore2 (TString filename, Int_t numTbs, Int_t windowNumTbs=512, Int_t windowStartTb=0)
 
 ~AtCore2 ()
 
void Initialize ()
 
Bool_t AddData (TString filename, Int_t coboIdx=0)
 
void SetPositivePolarity (Bool_t value=kTRUE)
 
Bool_t SetData (Int_t value)
 
void SetDiscontinuousData (Bool_t value=kTRUE)
 
Int_t GetNumData (Int_t coboIdx=0)
 
TString GetDataName (Int_t index, Int_t coboIdx=0)
 
void SetNumTbs (Int_t value)
 
void SetFPNPedestal (Double_t sigmaThreshold=5)
 
void SetMap (std::shared_ptr< AtMap > map)
 
void SetUseSeparatedData (Bool_t value=kTRUE)
 
void ProcessCobo (Int_t coboIdx)
 
void ProcessBasicCobo (Int_t coboIdx)
 
void ProcessLayeredFrame (GETLayeredFrame *layeredFrame)
 
void ProcessBasicFrame (GETBasicFrame *basicFrame)
 
Bool_t SetWriteFile (TString filename, Int_t coboIdx=0, Bool_t overwrite=kFALSE)
 
void WriteData ()
 
AtRawEventGetRawEvent (Long64_t eventID=-1)
 Returns STRawEvent object filled with the data. More...
 
Int_t GetEventID ()
 Returns the current event ID. More...
 
Int_t GetNumTbs (Int_t coboIdx=0)
 Returns the number of time buckets of the data. More...
 
Int_t GetFPNChannel (Int_t chIdx)
 
void SetPseudoTopologyFrame (Int_t asadMask, Bool_t check=kFALSE)
 
void SetNumCobo (Int_t numCobo)
 
 ClassDef (AtCore2, 3)
 

Detailed Description

Definition at line 26 of file AtCore2.h.

Constructor & Destructor Documentation

◆ AtCore2() [1/5]

AtCore2::AtCore2 ( )

Definition at line 26 of file AtCore2.cxx.

◆ AtCore2() [2/5]

AtCore2::AtCore2 ( std::shared_ptr< AtMap map)

Definition at line 31 of file AtCore2.cxx.

◆ AtCore2() [3/5]

AtCore2::AtCore2 ( std::shared_ptr< AtMap map,
Int_t  numCobos = 4 
)

Definition at line 37 of file AtCore2.cxx.

◆ AtCore2() [4/5]

AtCore2::AtCore2 ( TString  filename,
std::shared_ptr< AtMap map 
)

Definition at line 42 of file AtCore2.cxx.

◆ AtCore2() [5/5]

AtCore2::AtCore2 ( TString  filename,
Int_t  numTbs,
Int_t  windowNumTbs = 512,
Int_t  windowStartTb = 0 
)

Definition at line 50 of file AtCore2.cxx.

◆ ~AtCore2()

AtCore2::~AtCore2 ( )

Definition at line 57 of file AtCore2.cxx.

Member Function Documentation

◆ AddData()

Bool_t AtCore2::AddData ( TString  filename,
Int_t  coboIdx = 0 
)

Definition at line 89 of file AtCore2.cxx.

◆ ClassDef()

AtCore2::ClassDef ( AtCore2  ,
 
)

◆ GetDataName()

TString AtCore2::GetDataName ( Int_t  index,
Int_t  coboIdx = 0 
)

Definition at line 143 of file AtCore2.cxx.

◆ GetEventID()

Int_t AtCore2::GetEventID ( )

Returns the current event ID.

Definition at line 378 of file AtCore2.cxx.

◆ GetFPNChannel()

Int_t AtCore2::GetFPNChannel ( Int_t  chIdx)

Definition at line 403 of file AtCore2.cxx.

◆ GetNumData()

Int_t AtCore2::GetNumData ( Int_t  coboIdx = 0)

Definition at line 138 of file AtCore2.cxx.

◆ GetNumTbs()

Int_t AtCore2::GetNumTbs ( Int_t  coboIdx = 0)

Returns the number of time buckets of the data.

Definition at line 383 of file AtCore2.cxx.

◆ GetRawEvent()

AtRawEvent * AtCore2::GetRawEvent ( Long64_t  eventID = -1)

Returns STRawEvent object filled with the data.

For basic and merged frames, i.e. one graw file

else

Definition at line 302 of file AtCore2.cxx.

◆ Initialize()

void AtCore2::Initialize ( )

Definition at line 59 of file AtCore2.cxx.

◆ ProcessBasicCobo()

void AtCore2::ProcessBasicCobo ( Int_t  coboIdx)

Definition at line 226 of file AtCore2.cxx.

◆ ProcessBasicFrame()

void AtCore2::ProcessBasicFrame ( GETBasicFrame basicFrame)

Definition at line 479 of file AtCore2.cxx.

◆ ProcessCobo()

void AtCore2::ProcessCobo ( Int_t  coboIdx)

Definition at line 165 of file AtCore2.cxx.

◆ ProcessLayeredFrame()

void AtCore2::ProcessLayeredFrame ( GETLayeredFrame layeredFrame)

Definition at line 425 of file AtCore2.cxx.

◆ SetData()

Bool_t AtCore2::SetData ( Int_t  value)

Definition at line 99 of file AtCore2.cxx.

◆ SetDiscontinuousData()

void AtCore2::SetDiscontinuousData ( Bool_t  value = kTRUE)

Definition at line 130 of file AtCore2.cxx.

◆ SetFPNPedestal()

void AtCore2::SetFPNPedestal ( Double_t  sigmaThreshold = 5)

Definition at line 158 of file AtCore2.cxx.

◆ SetMap()

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

Definition at line 73 of file AtCore2.h.

◆ SetNumCobo()

void AtCore2::SetNumCobo ( Int_t  numCobo)

Definition at line 531 of file AtCore2.cxx.

◆ SetNumTbs()

void AtCore2::SetNumTbs ( Int_t  value)

Definition at line 148 of file AtCore2.cxx.

◆ SetPositivePolarity()

void AtCore2::SetPositivePolarity ( Bool_t  value = kTRUE)

Definition at line 94 of file AtCore2.cxx.

◆ SetPseudoTopologyFrame()

void AtCore2::SetPseudoTopologyFrame ( Int_t  asadMask,
Bool_t  check = kFALSE 
)

Definition at line 419 of file AtCore2.cxx.

◆ SetUseSeparatedData()

void AtCore2::SetUseSeparatedData ( Bool_t  value = kTRUE)

Definition at line 388 of file AtCore2.cxx.

◆ SetWriteFile()

Bool_t AtCore2::SetWriteFile ( TString  filename,
Int_t  coboIdx = 0,
Bool_t  overwrite = kFALSE 
)

Definition at line 280 of file AtCore2.cxx.

◆ WriteData()

void AtCore2::WriteData ( )

Definition at line 285 of file AtCore2.cxx.


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