er  dev
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
ERDigibuilder Class Reference
Inheritance diagram for ERDigibuilder:
Inheritance graph
[legend]
Collaboration diagram for ERDigibuilder:
Collaboration graph
[legend]

Public Member Functions

 ERDigibuilder (const TString &tree_name)
 
virtual Bool_t Init ()
 
virtual Int_t ReadEvent (UInt_t=0)
 
virtual void Close ()
 
virtual void Reset ()
 
virtual Source_Type GetSourceType ()
 
virtual void SetParUnpackers ()
 
virtual Bool_t InitUnpackers ()
 
virtual Bool_t ReInitUnpackers ()
 
void AddUnpack (ERUnpack *unpack)
 
void AddFile (const TString &path)
 
void SetUserCut (const TCut &cut, bool hold_events_count=true)
 

Private Member Functions

bool LoadEvent (uint event_number)
 
void ApplyUserCut ()
 
bool UserCutIsDefined () const
 
bool EventShouldBeProcessed (const uint event_number, ERBeamTimeEventHeader *) const
 
void ConnectEventCommon ()
 

Static Private Member Functions

static uint EventNumber ()
 
static void CheckEventHeader ()
 

Private Attributes

TChain input_chain_of_events_
 
std::map< TString, std::unique_ptr< ERUnpack > > unpacks_
 
SetupConfiguration * setup_configuration_ = nullptr
 
EventCommon * common_part_of_event_ = nullptr
 
TCut user_cut_
 
bool hold_events_count_ = true
 
TH1I * events_for_processing_ = nullptr
 

Detailed Description

Definition at line 23 of file ERDigibuilder.h.

Member Data Documentation

SetupConfiguration* ERDigibuilder::setup_configuration_ = nullptr
private

Configuration of setup: detector named, station names, channel numbers. Loaded from first file added with AddFile.

Definition at line 50 of file ERDigibuilder.h.


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