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

Public Member Functions

Hal::EventInterfaceCreateInterface () const
 
virtual void Update (Hal::EventInterface *interface)
 
virtual Bool_t ExistInTree () const
 
virtual TString GetFormatName () const
 
- Public Member Functions inherited from Hal::McEvent
 McEvent (const McEvent &other)
 
Double_t GetImpactParameter () const
 
virtual EFormatType GetFormatType () const
 
McEventGetMC () const
 
virtual Float_t GetFieldVal (Int_t fieldID) const
 
virtual TString GetFieldName (Int_t fieldID) 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
 
TrackGetNewTrack () 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::McEvent
virtual void ShallowCopyEvent (Event *event)
 
virtual void ShallowCopyTracks (Event *event)
 
 McEvent (TString track_classname, TString v0_class="Hal::V0Track", TString xi_class="Hal::XiTrack")
 
- 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 ShallowCopyCompressTracks (Event *event, const CompressionMap &map)
 
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::McEvent
Double_t fB
 
- 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 16 of file OTFMcEvent.h.

Constructor & Destructor Documentation

◆ McEvent()

HalOTF::McEvent::McEvent ( )

Definition at line 23 of file OTFMcEvent.cxx.

◆ ~McEvent()

HalOTF::McEvent::~McEvent ( )
virtual

Reimplemented from Hal::McEvent.

Definition at line 52 of file OTFMcEvent.cxx.

Member Function Documentation

◆ CreateInterface()

Hal::EventInterface * HalOTF::McEvent::CreateInterface ( ) const
virtual

create interface - original structure of event, by allocating memory

Implements Hal::Event.

Definition at line 25 of file OTFMcEvent.cxx.

◆ ExistInTree()

Bool_t HalOTF::McEvent::ExistInTree ( ) const
virtual
Returns
true if needed branches exist in tree

Reimplemented from Hal::Event.

Definition at line 46 of file OTFMcEvent.cxx.

◆ GetFormatName()

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

Reimplemented from Hal::Event.

Definition at line 22 of file OTFMcEvent.h.

◆ Update()

void HalOTF::McEvent::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::McEvent.

Definition at line 27 of file OTFMcEvent.cxx.


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