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

Public Member Functions

 VirtualEvent (const VirtualEvent &other)
 
Hal::EventInterfaceCreateInterface () const
 
void Update (Hal::EventInterface *interface)
 
void RegisterInTree (TString prefix, Bool_t save=kTRUE)
 
Bool_t ExistInTree () const
 
TrackGetTrackSafely (Int_t i)
 
EventGetNewEvent () const
 
TrackGetNewTrack () 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)
 
virtual void Clear (Option_t *opt=" ")
 
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
 
virtual TString GetFormatName () 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 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 32 of file VirtualEvent.h.

Constructor & Destructor Documentation

◆ VirtualEvent() [1/2]

Hal::VirtualEvent::VirtualEvent ( )

Definition at line 15 of file VirtualEvent.cxx.

◆ VirtualEvent() [2/2]

Hal::VirtualEvent::VirtualEvent ( const VirtualEvent & other)

Definition at line 44 of file VirtualEvent.cxx.

◆ ~VirtualEvent()

Hal::VirtualEvent::~VirtualEvent ( )
virtual

Definition at line 49 of file VirtualEvent.cxx.

Member Function Documentation

◆ CreateInterface()

Hal::EventInterface * Hal::VirtualEvent::CreateInterface ( ) const
inlinevirtual

create interface - original structure of event, by allocating memory

Implements Hal::Event.

Definition at line 38 of file VirtualEvent.h.

◆ ExistInTree()

Bool_t Hal::VirtualEvent::ExistInTree ( ) const
virtual
Returns
true if needed branches exist in tree

Reimplemented from Hal::Event.

Definition at line 38 of file VirtualEvent.cxx.

◆ GetNewEvent()

Event * Hal::VirtualEvent::GetNewEvent ( ) const
inlinevirtual

for allocation event should be reimpleneted only if default constructor + CopyHiddenVariabels is not enough to create complete empty new event

Returns
new object of this class for SetFormat()

Reimplemented from Hal::Event.

Definition at line 43 of file VirtualEvent.h.

◆ GetNewTrack()

Track * Hal::VirtualEvent::GetNewTrack ( ) const
inline

Definition at line 44 of file VirtualEvent.h.

◆ GetTrackSafely()

Track * Hal::VirtualEvent::GetTrackSafely ( Int_t i)
inline

Definition at line 42 of file VirtualEvent.h.

◆ RegisterInTree()

void Hal::VirtualEvent::RegisterInTree ( TString prefix,
Bool_t save = kTRUE )

Definition at line 30 of file VirtualEvent.cxx.

◆ Update()

void Hal::VirtualEvent::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

Reimplemented from Hal::Event.

Definition at line 17 of file VirtualEvent.cxx.


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