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

Public Member Functions

 McEvent (const McEvent &other)
 
virtual void Update (EventInterface *interface)
 
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 ExistInTree () const
 
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 TString GetFormatName () const
 
TrackGetNewTrack () const
 
virtual EventInterfaceCreateInterface () const =0
 
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
 

Protected Member Functions

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

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 17 of file McEvent.h.

Constructor & Destructor Documentation

◆ McEvent() [1/3]

Hal::McEvent::McEvent ( TString track_classname,
TString v0_class = "Hal::V0Track",
TString xi_class = "Hal::XiTrack" )
protected

Definition at line 17 of file McEvent.cxx.

◆ McEvent() [2/3]

Hal::McEvent::McEvent ( )

Definition at line 15 of file McEvent.cxx.

◆ McEvent() [3/3]

Hal::McEvent::McEvent ( const McEvent & other)

Definition at line 27 of file McEvent.cxx.

◆ ~McEvent()

Hal::McEvent::~McEvent ( )
virtual

Definition at line 25 of file McEvent.cxx.

Member Function Documentation

◆ GetFieldName()

TString Hal::McEvent::GetFieldName ( Int_t fieldID) const
virtual

return name of the track property by ID

Parameters
fieldID
Returns

Reimplemented from Hal::Event.

Definition at line 66 of file McEvent.cxx.

◆ GetFieldVal()

Float_t Hal::McEvent::GetFieldVal ( Int_t fieldID) const
virtual

return track property by ID, this should be positive number larger than 200 (for ID outside of framework)

Parameters
fieldID
Returns

Reimplemented from Hal::Event.

Definition at line 59 of file McEvent.cxx.

◆ GetFormatType()

virtual EFormatType Hal::McEvent::GetFormatType ( ) const
inlinevirtual
Returns
format type

Reimplemented from Hal::Event.

Definition at line 32 of file McEvent.h.

◆ GetImpactParameter()

Double_t Hal::McEvent::GetImpactParameter ( ) const
inline

Definition at line 31 of file McEvent.h.

◆ GetMC()

McEvent * Hal::McEvent::GetMC ( ) const
inline

Definition at line 33 of file McEvent.h.

◆ ShallowCopyEvent()

void Hal::McEvent::ShallowCopyEvent ( Event * event)
protectedvirtual

copy only event data from "event" into this

Parameters
eventevent to copy

Reimplemented from Hal::Event.

Definition at line 20 of file McEvent.cxx.

◆ ShallowCopyTracks()

void Hal::McEvent::ShallowCopyTracks ( Event * event)
protectedvirtual

copy only track data from "event" into this

Parameters
eventevent to copy

Reimplemented from Hal::Event.

Definition at line 29 of file McEvent.cxx.

◆ Update()

void Hal::McEvent::Update ( 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.

Reimplemented in HalDbg::McEvent, HalOTF::McEvent, and HalUni::UnigenEvent.

Definition at line 43 of file McEvent.cxx.

Member Data Documentation

◆ fB

Double_t Hal::McEvent::fB
protected

impact parameter

Definition at line 22 of file McEvent.h.


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