AliRoot Core  ee782a0 (ee782a0)
AliMCEvent Class Reference

#include <AliMCEvent.h>

Inheritance diagram for AliMCEvent:

Public Member Functions

 AliMCEvent ()
 
virtual ~AliMCEvent ()
 
 AliMCEvent (const AliMCEvent &mcEvnt)
 
AliMCEventoperator= (const AliMCEvent &mcEvnt)
 
virtual void AddObject (TObject *)
 
virtual TObject * FindListObject (const char *) const
 
virtual TList * GetList () const
 
virtual void CreateStdContent ()
 
virtual void GetStdContent ()
 
virtual void ReadFromTree (TTree *, Option_t *)
 
virtual void WriteToTree (TTree *) const
 
virtual void SetStdNames ()
 
virtual void Print (Option_t *) const
 
virtual void PreReadAll ()
 
virtual void Reset ()
 
virtual AliVHeaderGetHeader () const
 
virtual void SetRunNumber (Int_t)
 
virtual void SetPeriodNumber (UInt_t)
 
virtual void SetMagneticField (Double_t)
 
virtual Int_t GetRunNumber () const
 
virtual UInt_t GetPeriodNumber () const
 
virtual Double_t GetMagneticField () const
 
virtual void SetOrbitNumber (UInt_t)
 
virtual void SetBunchCrossNumber (UShort_t)
 
virtual void SetEventType (UInt_t)
 
virtual void SetTriggerMask (ULong64_t)
 
virtual void SetTriggerCluster (UChar_t)
 
virtual UInt_t GetOrbitNumber () const
 
virtual UShort_t GetBunchCrossNumber () const
 
virtual UInt_t GetEventType () const
 
virtual ULong64_t GetTriggerMask () const
 
virtual UChar_t GetTriggerCluster () const
 
virtual TString GetFiredTriggerClasses () const
 
virtual Double_t GetZDCN1Energy () const
 
virtual Double_t GetZDCP1Energy () const
 
virtual Double_t GetZDCN2Energy () const
 
virtual Double_t GetZDCP2Energy () const
 
virtual Double_t GetZDCEMEnergy (Int_t) const
 
virtual AliVParticleGetTrack (Int_t i) const
 
virtual Int_t GetNumberOfTracks () const
 
virtual Int_t GetNumberOfV0s () const
 
virtual Int_t GetNumberOfCascades () const
 
Int_t Raw2MergedLabel (int lbRaw) const
 
TParticle * ParticleFromStack (Int_t i) const
 
TParticle * Particle (int i) const
 
virtual const AliVVertexGetPrimaryVertex () const
 
AliStackStack ()
 
AliHeaderHeader ()
 
AliGenEventHeaderGenEventHeader () const
 
virtual void ConnectTreeE (TTree *tree)
 
virtual void ConnectTreeK (TTree *tree)
 
virtual void ConnectHeaderAndStack (AliHeader *header)
 
virtual void ConnectTreeTR (TTree *tree)
 
virtual void Clean ()
 
virtual void InitEvent ()
 
virtual void FinishEvent ()
 
virtual Int_t GetParticleAndTR (Int_t i, TParticle *&particle, TClonesArray *&trefs)
 
virtual void DrawCheck (Int_t i, Int_t search)
 
virtual void AddSubsidiaryEvent (AliMCEvent *event)
 
virtual Int_t GetNumberOfPrimaries () const
 
virtual Int_t GetPrimaryOffset () const
 
virtual Int_t GetSecondaryOffset () const
 
virtual void SetPrimaryOffset (Int_t ioff)
 
virtual void SetSecondaryOffset (Int_t ioff)
 
virtual Bool_t IsPhysicalPrimary (Int_t i) const
 
Int_t GetPrimary (Int_t id)
 
virtual Int_t BgLabelToIndex (Int_t label)
 
virtual Bool_t IsFromBGEvent (Int_t index)
 
TList * GetCocktailList ()
 
TString GetGenerator (Int_t index)
 
Bool_t GetCocktailGenerator (Int_t index, TString &nameGen)
 
virtual Bool_t IsSecondaryFromWeakDecay (Int_t index)
 
virtual Bool_t IsSecondaryFromMaterial (Int_t index)
 
virtual void SetParticleArray (TClonesArray *mcParticles)
 
virtual void SetExternalHeader (AliVHeader *aodmcHeader)
 
virtual AliGenEventHeaderFindHeader (Int_t ipart)
 
virtual Int_t EventIndex (Int_t) const
 
virtual Int_t EventIndexForCaloCluster (Int_t) const
 
virtual Int_t EventIndexForPHOSCell (Int_t) const
 
virtual Int_t EventIndexForEMCALCell (Int_t) const
 
AliCentralityGetCentrality ()
 
AliEventplaneGetEventplane ()
 
virtual AliVVZEROGetVZEROData () const
 
virtual AliVZDCGetZDCData () const
 
virtual AliVEvent::EDataLayoutType GetDataLayoutType () const
 
virtual Int_t FindIndexAndEvent (Int_t oldidx, AliMCEvent *&event) const
 
Bool_t HasSubsidiaries () const
 
Bool_t IsFromSubsidiaryEvent (int id) const
 
void SetTopEvent (const AliMCEvent *ev)
 
const AliMCEventGetTopEvent () const
 
- Public Member Functions inherited from AliVEvent
 AliVEvent ()
 
virtual ~AliVEvent ()
 
 AliVEvent (const AliVEvent &vEvnt)
 
AliVEventoperator= (const AliVEvent &vEvnt)
 
virtual Bool_t InitMagneticField () const
 
virtual Double_t GetDiamondX () const
 
virtual Double_t GetDiamondY () const
 
virtual void GetDiamondCovXY (Float_t cov[3]) const
 
virtual ULong64_t GetTriggerMaskNext50 () const
 
virtual Bool_t IsTriggerClassFired (const char *) const
 
virtual AliVTrackGetVTrack (Int_t) const
 
virtual const AliTOFHeaderGetTOFHeader () const
 
virtual Float_t GetEventTimeSpread () const
 
virtual Float_t GetTOFTimeResolution () const
 
virtual Double32_t GetT0TOF (Int_t icase) const
 
virtual const Double32_t * GetT0TOF () const
 
virtual Float_t GetT0spread (Int_t) const
 
virtual AliVClusterGetCaloCluster (Int_t) const
 
virtual Int_t GetNumberOfCaloClusters () const
 
virtual Int_t GetEMCALClusters (TRefArray *) const
 
virtual Int_t GetPHOSClusters (TRefArray *) const
 
virtual AliVCaloCellsGetEMCALCells () const
 
virtual AliVCaloCellsGetPHOSCells () const
 
const TGeoHMatrix * GetPHOSMatrix (Int_t) const
 
const TGeoHMatrix * GetEMCALMatrix (Int_t) const
 
virtual AliVCaloTriggerGetCaloTrigger (TString) const
 
virtual Bool_t IsPileupFromSPD (Int_t, Double_t, Double_t, Double_t, Double_t) const
 
virtual AliVMultiplicityGetMultiplicity () const
 
virtual Int_t GetNumberOfITSClusters (Int_t) const
 
virtual Bool_t IsPileupFromSPDInMultBins () const
 
virtual const Float_t * GetVZEROEqFactors () const
 
virtual Float_t GetVZEROEqMultiplicity (Int_t) const
 
virtual void SetVZEROEqFactors (Float_t[64]) const
 
virtual AliVADGetADData () const
 
virtual Int_t GetNumberOfTrdTracks () const
 
virtual AliVTrdTrackGetTrdTrack (Int_t) const
 
virtual Int_t GetNumberOfESDTracks () const
 
virtual Int_t GetEventNumberInFile () const
 
virtual Int_t GetV0 (AliESDv0 &, Int_t) const
 
virtual UInt_t GetTimeStamp () const
 
virtual AliVfriendEventFindFriend () const
 
virtual void SetFriendEvent (AliVfriendEvent *)
 
virtual UInt_t GetEventSpecie () const
 
virtual AliESDkinkGetKink (Int_t) const
 
virtual Int_t GetNumberOfKinks () const
 
virtual Int_t GetVZEROData (AliESDVZERO &) const
 
virtual Int_t GetMultiplicity (AliMultiplicity &) const
 
virtual const AliVVertexGetPrimaryVertexSPD () const
 
virtual const AliVVertexGetPrimaryVertexTPC () const
 
virtual const AliVVertexGetPrimaryVertexTracks () const
 
virtual Int_t GetPrimaryVertex (AliESDVertex &) const
 
virtual Int_t GetPrimaryVertexTPC (AliESDVertex &) const
 
virtual Int_t GetPrimaryVertexSPD (AliESDVertex &) const
 
virtual Int_t GetPrimaryVertexTracks (AliESDVertex &) const
 
virtual Bool_t IsIncompleteDAQ ()
 
virtual Bool_t IsDetectorOn (ULong_t) const
 
virtual void ConnectTracks ()
 
const char * Whoami ()
 
virtual ULong64_t GetSize () const
 
virtual void AdjustMCLabels (const AliVEvent *)
 

Static Public Member Functions

static Int_t BgLabelOffset ()
 

Private Member Functions

virtual void ReorderAndExpandTreeTR ()
 
void UpdateEventInformation ()
 
virtual void AssignGeneratorIndex ()
 
virtual void AssignGeneratorIndex (Int_t index, Int_t dmin, Int_t dmax)
 

Private Attributes

AliStackfStack
 
TClonesArray * fMCParticles
 
TObjArrayfMCParticleMap
 
AliHeaderfHeader
 
AliVHeaderfAODMCHeader
 
TClonesArray * fTRBuffer
 
TClonesArray * fTrackReferences
 
TTree * fTreeTR
 
TTree * fTmpTreeTR
 
TFile * fTmpFileTR
 
Int_t fNprimaries
 
Int_t fNparticles
 
TList * fSubsidiaryEvents
 
Int_t fPrimaryOffset
 
Int_t fSecondaryOffset
 
Bool_t fExternal
 
const AliMCEventfTopEvent
 
AliVVertexfVertex
 
Int_t fNBG
 

Static Private Attributes

static Int_t fgkBgLabelOffset
 Top MCEvent (if not embedded, then itself) More...
 

Additional Inherited Members

- Public Types inherited from AliVEvent
enum  EDataLayoutType {
  kESD, kMC, kAOD, kMixed,
  kFlat
}
 
enum  EOfflineTriggerTypes {
  kMB = BIT( 0), kINT1 = BIT( 0), kINT7 = BIT( 1), kMUON = BIT( 2),
  kHighMult = BIT( 3), kHighMultSPD = BIT( 3), kEMC1 = BIT( 4), kCINT5 = BIT( 5),
  kINT5 = BIT( 5), kCMUS5 = BIT( 6), kMUSPB = BIT( 6), kINT7inMUON = BIT( 6),
  kMuonSingleHighPt7 = BIT( 7), kMUSH7 = BIT( 7), kMUSHPB = BIT( 7), kMuonLikeLowPt7 = BIT( 8),
  kMUL7 = BIT( 8), kMuonLikePB = BIT( 8), kMuonUnlikeLowPt7 = BIT( 9), kMUU7 = BIT( 9),
  kMuonUnlikePB = BIT( 9), kEMC7 = BIT(10), kEMC8 = BIT(10), kMUS7 = BIT(11),
  kMuonSingleLowPt7 = BIT(11), kPHI1 = BIT(12), kPHI7 = BIT(13), kPHI8 = BIT(13),
  kPHOSPb = BIT(13), kEMCEJE = BIT(14), kEMCEGA = BIT(15), kHighMultV0 = BIT(16),
  kCentral = BIT(16), kSemiCentral = BIT(17), kDG = BIT(18), kDG5 = BIT(18),
  kZED = BIT(19), kSPI7 = BIT(20), kSPI = BIT(20), kINT8 = BIT(21),
  kMuonSingleLowPt8 = BIT(22), kMuonSingleHighPt8 = BIT(23), kMuonLikeLowPt8 = BIT(24), kMuonUnlikeLowPt8 = BIT(25),
  kMuonUnlikeLowPt0 = BIT(26), kUserDefined = BIT(27), kTRD = BIT(28), kMuonCalo = BIT(29),
  kCaloOnly = BIT(29), kFastOnly = BIT(30), kAny = 0xffffffff, kAnyINT = kMB | kINT7 | kINT5 | kINT8 | kSPI7
}
 

Detailed Description

Definition at line 36 of file AliMCEvent.h.

Constructor & Destructor Documentation

AliMCEvent::AliMCEvent ( )

Definition at line 48 of file AliMCEvent.cxx.

Referenced by AddSubsidiaryEvent().

AliMCEvent::~AliMCEvent ( )
virtual

Definition at line 110 of file AliMCEvent.cxx.

AliMCEvent::AliMCEvent ( const AliMCEvent mcEvnt)

Definition at line 74 of file AliMCEvent.cxx.

Member Function Documentation

virtual void AliMCEvent::AddObject ( TObject *  )
inlinevirtual

Implements AliVEvent.

Definition at line 48 of file AliMCEvent.h.

void AliMCEvent::AddSubsidiaryEvent ( AliMCEvent event)
virtual

Definition at line 682 of file AliMCEvent.cxx.

Referenced by AliMCEventHandler::BeginEvent(), and Header().

void AliMCEvent::AssignGeneratorIndex ( )
privatevirtual

Definition at line 950 of file AliMCEvent.cxx.

Referenced by AssignGeneratorIndex(), GetTopEvent(), PreReadAll(), and SetParticleArray().

void AliMCEvent::AssignGeneratorIndex ( Int_t  index,
Int_t  dmin,
Int_t  dmax 
)
privatevirtual

Definition at line 992 of file AliMCEvent.cxx.

Int_t AliMCEvent::BgLabelToIndex ( Int_t  label)
virtual
void AliMCEvent::Clean ( )
virtual

Definition at line 228 of file AliMCEvent.cxx.

Referenced by Header(), and AliMCEventHandler::ResetIO().

void AliMCEvent::ConnectHeaderAndStack ( AliHeader header)
virtual

Definition at line 133 of file AliMCEvent.cxx.

Referenced by AliMCGenHandler::BeginEvent(), and Header().

void AliMCEvent::ConnectTreeE ( TTree *  tree)
virtual

Definition at line 115 of file AliMCEvent.cxx.

Referenced by Header(), and AliMCEventHandler::Init().

void AliMCEvent::ConnectTreeK ( TTree *  tree)
virtual

Definition at line 121 of file AliMCEvent.cxx.

Referenced by Header(), and AliMCEventHandler::LoadEvent().

void AliMCEvent::ConnectTreeTR ( TTree *  tree)
virtual
virtual void AliMCEvent::CreateStdContent ( )
inlinevirtual

Implements AliVEvent.

Definition at line 51 of file AliMCEvent.h.

void AliMCEvent::DrawCheck ( Int_t  i,
Int_t  search 
)
virtual

Definition at line 267 of file AliMCEvent.cxx.

Referenced by AliMCEventHandler::DrawCheck(), and Header().

virtual Int_t AliMCEvent::EventIndex ( Int_t  ) const
inlinevirtual

Implements AliVEvent.

Definition at line 152 of file AliMCEvent.h.

virtual Int_t AliMCEvent::EventIndexForCaloCluster ( Int_t  ) const
inlinevirtual

Implements AliVEvent.

Definition at line 153 of file AliMCEvent.h.

virtual Int_t AliMCEvent::EventIndexForEMCALCell ( Int_t  ) const
inlinevirtual

Implements AliVEvent.

Definition at line 155 of file AliMCEvent.h.

virtual Int_t AliMCEvent::EventIndexForPHOSCell ( Int_t  ) const
inlinevirtual

Implements AliVEvent.

Definition at line 154 of file AliMCEvent.h.

AliGenEventHeader * AliMCEvent::FindHeader ( Int_t  ipart)
virtual

Definition at line 697 of file AliMCEvent.cxx.

Referenced by SetExternalHeader().

Int_t AliMCEvent::FindIndexAndEvent ( Int_t  oldidx,
AliMCEvent *&  event 
) const
virtual
virtual TObject* AliMCEvent::FindListObject ( const char *  ) const
inlinevirtual

Implements AliVEvent.

Definition at line 49 of file AliMCEvent.h.

void AliMCEvent::FinishEvent ( )
virtual

Definition at line 243 of file AliMCEvent.cxx.

Referenced by AliMCEventHandler::FinishEvent(), and Header().

AliGenEventHeader * AliMCEvent::GenEventHeader ( ) const

Definition at line 666 of file AliMCEvent.cxx.

Referenced by GetCocktailList(), GetPrimaryVertex(), Header(), and IsFromBGEvent().

virtual UShort_t AliMCEvent::GetBunchCrossNumber ( ) const
inlinevirtual

Implements AliVEvent.

Definition at line 83 of file AliMCEvent.h.

AliCentrality* AliMCEvent::GetCentrality ( )
inlinevirtual

Implements AliVEvent.

Definition at line 156 of file AliMCEvent.h.

Bool_t AliMCEvent::GetCocktailGenerator ( Int_t  index,
TString &  nameGen 
)

Definition at line 1004 of file AliMCEvent.cxx.

Referenced by BgLabelOffset().

TList * AliMCEvent::GetCocktailList ( )

Definition at line 910 of file AliMCEvent.cxx.

Referenced by AssignGeneratorIndex(), BgLabelOffset(), and GetGenerator().

AliVEvent::EDataLayoutType AliMCEvent::GetDataLayoutType ( ) const
virtual

Implements AliVEvent.

Definition at line 1076 of file AliMCEvent.cxx.

Referenced by GetZDCData().

AliEventplane* AliMCEvent::GetEventplane ( )
inlinevirtual

Implements AliVEvent.

Definition at line 157 of file AliMCEvent.h.

virtual UInt_t AliMCEvent::GetEventType ( ) const
inlinevirtual

Implements AliVEvent.

Definition at line 85 of file AliMCEvent.h.

virtual TString AliMCEvent::GetFiredTriggerClasses ( ) const
inlinevirtual

Implements AliVEvent.

Definition at line 89 of file AliMCEvent.h.

TString AliMCEvent::GetGenerator ( Int_t  index)

Definition at line 931 of file AliMCEvent.cxx.

Referenced by BgLabelOffset(), and GetCocktailGenerator().

virtual AliVHeader* AliMCEvent::GetHeader ( ) const
inlinevirtual

Implements AliVEvent.

Definition at line 62 of file AliMCEvent.h.

virtual TList* AliMCEvent::GetList ( ) const
inlinevirtual

Implements AliVEvent.

Definition at line 50 of file AliMCEvent.h.

virtual Double_t AliMCEvent::GetMagneticField ( ) const
inlinevirtual

Implements AliVEvent.

Definition at line 73 of file AliMCEvent.h.

virtual Int_t AliMCEvent::GetNumberOfCascades ( ) const
inlinevirtual

Implements AliVEvent.

Definition at line 100 of file AliMCEvent.h.

virtual Int_t AliMCEvent::GetNumberOfPrimaries ( ) const
inlinevirtual
virtual Int_t AliMCEvent::GetNumberOfV0s ( ) const
inlinevirtual

Implements AliVEvent.

Definition at line 99 of file AliMCEvent.h.

virtual UInt_t AliMCEvent::GetOrbitNumber ( ) const
inlinevirtual

Implements AliVEvent.

Definition at line 82 of file AliMCEvent.h.

Int_t AliMCEvent::GetParticleAndTR ( Int_t  i,
TParticle *&  particle,
TClonesArray *&  trefs 
)
virtual

Definition at line 188 of file AliMCEvent.cxx.

Referenced by AliMCEventHandler::GetParticleAndTR(), GetParticleAndTR(), and Header().

virtual UInt_t AliMCEvent::GetPeriodNumber ( ) const
inlinevirtual

Implements AliVEvent.

Definition at line 72 of file AliMCEvent.h.

Int_t AliMCEvent::GetPrimary ( Int_t  id)

Definition at line 1101 of file AliMCEvent.cxx.

Referenced by SetSecondaryOffset().

virtual Int_t AliMCEvent::GetPrimaryOffset ( ) const
inlinevirtual

Definition at line 129 of file AliMCEvent.h.

Referenced by BgLabelToIndex(), FindIndexAndEvent(), and Raw2MergedLabel().

const AliVVertex * AliMCEvent::GetPrimaryVertex ( ) const
virtual

Reimplemented from AliVEvent.

Definition at line 879 of file AliMCEvent.cxx.

Referenced by GetNumberOfCascades().

virtual Int_t AliMCEvent::GetRunNumber ( ) const
inlinevirtual

Implements AliVEvent.

Definition at line 71 of file AliMCEvent.h.

virtual Int_t AliMCEvent::GetSecondaryOffset ( ) const
inlinevirtual

Definition at line 130 of file AliMCEvent.h.

Referenced by BgLabelToIndex(), FindIndexAndEvent(), and Raw2MergedLabel().

virtual void AliMCEvent::GetStdContent ( )
inlinevirtual

Implements AliVEvent.

Definition at line 52 of file AliMCEvent.h.

const AliMCEvent* AliMCEvent::GetTopEvent ( ) const
inline

Definition at line 169 of file AliMCEvent.h.

virtual UChar_t AliMCEvent::GetTriggerCluster ( ) const
inlinevirtual

Implements AliVEvent.

Definition at line 88 of file AliMCEvent.h.

virtual ULong64_t AliMCEvent::GetTriggerMask ( ) const
inlinevirtual

Implements AliVEvent.

Definition at line 87 of file AliMCEvent.h.

virtual AliVVZERO* AliMCEvent::GetVZEROData ( ) const
inlinevirtual

Implements AliVEvent.

Definition at line 159 of file AliMCEvent.h.

virtual AliVZDC* AliMCEvent::GetZDCData ( ) const
inlinevirtual

Implements AliVEvent.

Definition at line 160 of file AliMCEvent.h.

virtual Double_t AliMCEvent::GetZDCEMEnergy ( Int_t  ) const
inlinevirtual

Implements AliVEvent.

Definition at line 94 of file AliMCEvent.h.

virtual Double_t AliMCEvent::GetZDCN1Energy ( ) const
inlinevirtual

Implements AliVEvent.

Definition at line 90 of file AliMCEvent.h.

virtual Double_t AliMCEvent::GetZDCN2Energy ( ) const
inlinevirtual

Implements AliVEvent.

Definition at line 92 of file AliMCEvent.h.

virtual Double_t AliMCEvent::GetZDCP1Energy ( ) const
inlinevirtual

Implements AliVEvent.

Definition at line 91 of file AliMCEvent.h.

virtual Double_t AliMCEvent::GetZDCP2Energy ( ) const
inlinevirtual

Implements AliVEvent.

Definition at line 93 of file AliMCEvent.h.

Bool_t AliMCEvent::HasSubsidiaries ( ) const
inline

Definition at line 166 of file AliMCEvent.h.

AliHeader* AliMCEvent::Header ( )
inline

Definition at line 115 of file AliMCEvent.h.

Referenced by AliMCEventHandler::BeginEvent(), and AliAODHandler::StoreMCParticles().

void AliMCEvent::InitEvent ( )
virtual

Definition at line 824 of file AliMCEvent.cxx.

Referenced by AliMCEventHandler::BeginEvent(), and Header().

Bool_t AliMCEvent::IsFromBGEvent ( Int_t  index)
virtual

Definition at line 892 of file AliMCEvent.cxx.

Referenced by BgLabelOffset().

Bool_t AliMCEvent::IsFromSubsidiaryEvent ( int  id) const

Definition at line 525 of file AliMCEvent.cxx.

Referenced by HasSubsidiaries().

Bool_t AliMCEvent::IsPhysicalPrimary ( Int_t  i) const
virtual
Bool_t AliMCEvent::IsSecondaryFromMaterial ( Int_t  index)
virtual
Bool_t AliMCEvent::IsSecondaryFromWeakDecay ( Int_t  index)
virtual
AliMCEvent & AliMCEvent::operator= ( const AliMCEvent mcEvnt)

Definition at line 100 of file AliMCEvent.cxx.

TParticle * AliMCEvent::Particle ( int  i) const

Definition at line 1081 of file AliMCEvent.cxx.

Referenced by GetNumberOfCascades(), and GetPrimary().

TParticle * AliMCEvent::ParticleFromStack ( Int_t  i) const

Definition at line 651 of file AliMCEvent.cxx.

Referenced by GetNumberOfCascades().

void AliMCEvent::PreReadAll ( )
virtual

Definition at line 852 of file AliMCEvent.cxx.

Referenced by AliMCEventHandler::BeginEvent(), PreReadAll(), and Print().

virtual void AliMCEvent::Print ( Option_t *  ) const
inlinevirtual

Implements AliVEvent.

Definition at line 57 of file AliMCEvent.h.

Int_t AliMCEvent::Raw2MergedLabel ( int  lbRaw) const

Definition at line 1088 of file AliMCEvent.cxx.

Referenced by GetNumberOfCascades().

virtual void AliMCEvent::ReadFromTree ( TTree *  ,
Option_t *   
)
inlinevirtual

Implements AliVEvent.

Definition at line 53 of file AliMCEvent.h.

void AliMCEvent::ReorderAndExpandTreeTR ( )
privatevirtual

Definition at line 318 of file AliMCEvent.cxx.

Referenced by ConnectTreeTR(), and GetTopEvent().

virtual void AliMCEvent::Reset ( void  )
inlinevirtual

Implements AliVEvent.

Definition at line 59 of file AliMCEvent.h.

virtual void AliMCEvent::SetBunchCrossNumber ( UShort_t  )
inlinevirtual

Implements AliVEvent.

Definition at line 77 of file AliMCEvent.h.

virtual void AliMCEvent::SetEventType ( UInt_t  )
inlinevirtual

Implements AliVEvent.

Definition at line 78 of file AliMCEvent.h.

virtual void AliMCEvent::SetExternalHeader ( AliVHeader aodmcHeader)
inlinevirtual

Definition at line 148 of file AliMCEvent.h.

Referenced by AliAODInputHandler::BeginEvent().

virtual void AliMCEvent::SetMagneticField ( Double_t  )
inlinevirtual

Implements AliVEvent.

Definition at line 68 of file AliMCEvent.h.

virtual void AliMCEvent::SetOrbitNumber ( UInt_t  )
inlinevirtual

Implements AliVEvent.

Definition at line 76 of file AliMCEvent.h.

void AliMCEvent::SetParticleArray ( TClonesArray *  mcParticles)
virtual

Definition at line 1050 of file AliMCEvent.cxx.

Referenced by AliAODInputHandler::BeginEvent(), and BgLabelOffset().

virtual void AliMCEvent::SetPeriodNumber ( UInt_t  )
inlinevirtual

Implements AliVEvent.

Definition at line 67 of file AliMCEvent.h.

virtual void AliMCEvent::SetPrimaryOffset ( Int_t  ioff)
inlinevirtual

Definition at line 131 of file AliMCEvent.h.

Referenced by InitEvent().

virtual void AliMCEvent::SetRunNumber ( Int_t  )
inlinevirtual

Implements AliVEvent.

Definition at line 66 of file AliMCEvent.h.

virtual void AliMCEvent::SetSecondaryOffset ( Int_t  ioff)
inlinevirtual

Definition at line 132 of file AliMCEvent.h.

Referenced by InitEvent().

virtual void AliMCEvent::SetStdNames ( )
inlinevirtual

Implements AliVEvent.

Definition at line 56 of file AliMCEvent.h.

void AliMCEvent::SetTopEvent ( const AliMCEvent ev)
inline

Definition at line 168 of file AliMCEvent.h.

virtual void AliMCEvent::SetTriggerCluster ( UChar_t  )
inlinevirtual

Implements AliVEvent.

Definition at line 80 of file AliMCEvent.h.

virtual void AliMCEvent::SetTriggerMask ( ULong64_t  )
inlinevirtual

Implements AliVEvent.

Definition at line 79 of file AliMCEvent.h.

AliStack* AliMCEvent::Stack ( )
inline

Definition at line 114 of file AliMCEvent.h.

Referenced by AliMCGenHandler::FinishEvent(), and AliAODHandler::StoreMCParticles().

void AliMCEvent::UpdateEventInformation ( )
private

Definition at line 143 of file AliMCEvent.cxx.

Referenced by ConnectHeaderAndStack(), ConnectTreeK(), and GetTopEvent().

virtual void AliMCEvent::WriteToTree ( TTree *  ) const
inlinevirtual

Implements AliVEvent.

Definition at line 54 of file AliMCEvent.h.

Member Data Documentation

AliVHeader* AliMCEvent::fAODMCHeader
private

Definition at line 186 of file AliMCEvent.h.

Referenced by GenEventHeader(), GetCocktailList(), and SetExternalHeader().

Bool_t AliMCEvent::fExternal
private
Int_t AliMCEvent::fgkBgLabelOffset
staticprivate

Top MCEvent (if not embedded, then itself)

Definition at line 199 of file AliMCEvent.h.

Referenced by BgLabelOffset().

AliHeader* AliMCEvent::fHeader
private
TObjArray* AliMCEvent::fMCParticleMap
private

Definition at line 184 of file AliMCEvent.h.

Referenced by FinishEvent(), GetTrack(), and UpdateEventInformation().

TClonesArray* AliMCEvent::fMCParticles
private
Int_t AliMCEvent::fNBG
private

Definition at line 201 of file AliMCEvent.h.

Referenced by FinishEvent(), and IsFromBGEvent().

Int_t AliMCEvent::fNparticles
private
Int_t AliMCEvent::fPrimaryOffset
private

Definition at line 195 of file AliMCEvent.h.

Referenced by GetPrimaryOffset(), GetTrack(), and SetPrimaryOffset().

Int_t AliMCEvent::fSecondaryOffset
private

Definition at line 196 of file AliMCEvent.h.

Referenced by GetSecondaryOffset(), GetTrack(), and SetSecondaryOffset().

TFile* AliMCEvent::fTmpFileTR
private

Definition at line 191 of file AliMCEvent.h.

Referenced by ConnectTreeTR(), and ReorderAndExpandTreeTR().

TTree* AliMCEvent::fTmpTreeTR
private

Definition at line 190 of file AliMCEvent.h.

Referenced by ReorderAndExpandTreeTR().

const AliMCEvent* AliMCEvent::fTopEvent
private
TClonesArray* AliMCEvent::fTrackReferences
private

Definition at line 188 of file AliMCEvent.h.

Referenced by FinishEvent(), and GetTrack().

TClonesArray* AliMCEvent::fTRBuffer
private
TTree* AliMCEvent::fTreeTR
private
AliVVertex* AliMCEvent::fVertex
mutableprivate

Definition at line 200 of file AliMCEvent.h.

Referenced by GetPrimaryVertex().


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