Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
MyHal::EventTemplate Class Reference
Inheritance diagram for MyHal::EventTemplate:
Hal::Event

Public Member Functions

 EventTemplate ()
 
Hal::EventInterfaceCreateInterface () const
 
virtual void Update (Hal::EventInterface *interface)
 
virtual void Clear (Option_t *opt=" ")
 
virtual Bool_t ExistInTree () const
 
virtual TString GetFormatName () const
 
- Public Member Functions inherited from Hal::Event
 Event ()
 
 Event (const Event &other)
 
void Build (Event *event, const CompressionMap &map)
 
void Build (Event *event)
 
void Compress (const CompressionMap &map)
 
void SetEventID (Int_t newID)
 
void SetPhi (Double_t phi, Double_t phi_error=0)
 
virtual void RotateZ (Double_t phi)
 
virtual void Print (Option_t *opt="") const
 
TrackGetTrack (Int_t i) const
 
TrackAddTrack ()
 
virtual Bool_t IsCompatible (const Event *non_buffered) const
 
Int_t GetEventID () const
 
Int_t GetTotalTrackNo () const
 
Int_t GetTotalV0No () const
 
Int_t GetMutliplicity () const
 
Double_t GetPhi () const
 
Double_t GetPhiError () const
 
TLorentzVector * GetVertex () const
 
virtual EFormatType GetFormatType () const
 
TrackGetNewTrack () const
 
virtual Float_t GetFieldVal (Int_t fieldID) const
 
virtual TString GetFieldName (Int_t fieldID) const
 
TClonesArray * GetV0HiddenInfo () const
 
virtual ~Event ()
 
virtual void CopyHiddenSettings (const Event *)
 
virtual void Boost (Double_t vx, Double_t vy, Double_t vz)
 
virtual EventGetNewEvent () const
 
virtual Int_t GetMaxExpectedLinks () const
 
virtual Bool_t HasHiddenSettings () const
 
virtual PackageReport () const
 

Additional Inherited Members

- Protected Member Functions inherited from Hal::Event
Double_t CalculateCharge (Int_t pdg) const
 
void ResetHiddenInfoCounter ()
 
void CopyData (Event *event)
 
void CopyCompress (Event *event, const CompressionMap &map)
 
void Compress (TClonesArray *array, const CompressionMap &map)
 
virtual void ShallowCopyTracks (Event *event)
 
virtual void ShallowCopyCompressTracks (Event *event, const CompressionMap &map)
 
virtual void ShallowCopyEvent (Event *event)
 
Bool_t CheckBranches (Int_t n...) const
 
Bool_t CheckBranches (std::initializer_list< TString > list) const
 
 Event (TString track_class, TString v0_class="Hal::V0Track", TString xi_class="Hal::XiTrack")
 
- Protected Attributes inherited from Hal::Event
TDatabasePDG * fPDG
 
TClonesArray * fTracks
 
TClonesArray * fV0sHiddenInfo
 
TClonesArray * fXisHiddenInfo
 
TLorentzVector * fVertex
 
Double_t fPhi
 
Double_t fPhiError
 
Int_t fEventId
 
Int_t fTotalTracksNo
 
Int_t fMultiplicity
 

Detailed Description

Definition at line 11 of file EventTemplate.h.

Constructor & Destructor Documentation

◆ EventTemplate()

MyHal::EventTemplate::EventTemplate ( )

do not forget to put name of your class in constructor !

Definition at line 15 of file EventTemplate.cxx.

◆ ~EventTemplate()

MyHal::EventTemplate::~EventTemplate ( )
virtual

Definition at line 36 of file EventTemplate.cxx.

Member Function Documentation

◆ Clear()

virtual void MyHal::EventTemplate::Clear ( Option_t * opt = " ")
inlinevirtual

used for clear (usually track array)

Parameters
optoption of Clear

Reimplemented from Hal::Event.

Definition at line 16 of file EventTemplate.h.

◆ CreateInterface()

Hal::EventInterface * MyHal::EventTemplate::CreateInterface ( ) const
virtual

create interface - original structure of event, by allocating memory

Implements Hal::Event.

Definition at line 17 of file EventTemplate.cxx.

◆ ExistInTree()

Bool_t MyHal::EventTemplate::ExistInTree ( ) const
virtual
Returns
true if needed branches exist in tree

Reimplemented from Hal::Event.

Definition at line 28 of file EventTemplate.cxx.

◆ GetFormatName()

TString MyHal::EventTemplate::GetFormatName ( ) const
virtual
Returns
name of current format, should be reimplemented only if class name doesn't uniquely define format

Reimplemented from Hal::Event.

Definition at line 34 of file EventTemplate.cxx.

◆ Update()

void MyHal::EventTemplate::Update ( Hal::EventInterface * interface)
virtual

update fields by using "source event", it's better to implement this method due to improve performance. In such case you can use directly getters/setters from oryginal structure instead of calling virtual methods from EventInterface

Parameters
interface- interface to event stored in tree

fill this event data

Reimplemented from Hal::Event.

Definition at line 19 of file EventTemplate.cxx.


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