CbmRoot
PairAnalysisMixedEvent Class Reference

#include <PairAnalysisMixedEvent.h>

Inheritance diagram for PairAnalysisMixedEvent:
[legend]
Collaboration diagram for PairAnalysisMixedEvent:
[legend]

Public Member Functions

 PairAnalysisMixedEvent ()
 
 PairAnalysisMixedEvent (const char *name, const char *title)
 
virtual ~PairAnalysisMixedEvent ()
 
void Set (Int_t size=100)
 
void SetTracks (const TObjArray &arrP, const TObjArray &arrN)
 
void SetEventData (const Double_t data[PairAnalysisVarManager::kNMaxValuesMC])
 
const Double_t * GetEventData () const
 
const TClonesArray * GetTrackArrayP () const
 
const TClonesArray * GetTrackArrayN () const
 
Int_t GetNTracksP () const
 
Int_t GetNTracksN () const
 
void SetProcessID (TProcessID *pid)
 
const TProcessID * GetProcessID ()
 
virtual void Clear (Option_t *opt="C")
 

Private Member Functions

 PairAnalysisMixedEvent (const PairAnalysisMixedEvent &c)
 index of PID More...
 
PairAnalysisMixedEventoperator= (const PairAnalysisMixedEvent &c)
 
void AssignID (TObject *obj)
 

Private Attributes

TClonesArray fArrTrackP
 
TClonesArray fArrTrackN
 
Int_t fNTracksP = 0
 
Int_t fNTracksN = 0
 
Double_t fEventData [PairAnalysisVarManager::kNMaxValuesMC]
 
TProcessID * fPID = NULL
 
UInt_t fPIDIndex = 0
 internal PID for references to buffered objects More...
 

Detailed Description

Definition at line 24 of file PairAnalysisMixedEvent.h.

Constructor & Destructor Documentation

◆ PairAnalysisMixedEvent() [1/3]

PairAnalysisMixedEvent::PairAnalysisMixedEvent ( )

◆ PairAnalysisMixedEvent() [2/3]

PairAnalysisMixedEvent::PairAnalysisMixedEvent ( const char *  name,
const char *  title 
)

Definition at line 33 of file PairAnalysisMixedEvent.cxx.

References fEventData, i, and PairAnalysisVarManager::kNMaxValuesMC.

◆ ~PairAnalysisMixedEvent()

PairAnalysisMixedEvent::~PairAnalysisMixedEvent ( )
virtual

Definition at line 44 of file PairAnalysisMixedEvent.cxx.

References fArrTrackN, and fArrTrackP.

◆ PairAnalysisMixedEvent() [3/3]

PairAnalysisMixedEvent::PairAnalysisMixedEvent ( const PairAnalysisMixedEvent c)
private

index of PID

Member Function Documentation

◆ AssignID()

void PairAnalysisMixedEvent::AssignID ( TObject *  obj)
private

Definition at line 138 of file PairAnalysisMixedEvent.cxx.

References fPID, and fPIDIndex.

◆ Clear()

void PairAnalysisMixedEvent::Clear ( Option_t *  opt = "C")
virtual

Definition at line 108 of file PairAnalysisMixedEvent.cxx.

References fArrTrackN, and fArrTrackP.

Referenced by SetTracks().

◆ GetEventData()

const Double_t* PairAnalysisMixedEvent::GetEventData ( ) const
inline

Definition at line 35 of file PairAnalysisMixedEvent.h.

References fEventData.

◆ GetNTracksN()

Int_t PairAnalysisMixedEvent::GetNTracksN ( ) const
inline

Definition at line 41 of file PairAnalysisMixedEvent.h.

References fNTracksN.

◆ GetNTracksP()

Int_t PairAnalysisMixedEvent::GetNTracksP ( ) const
inline

Definition at line 40 of file PairAnalysisMixedEvent.h.

References fNTracksP.

◆ GetProcessID()

const TProcessID* PairAnalysisMixedEvent::GetProcessID ( )
inline

Definition at line 44 of file PairAnalysisMixedEvent.h.

References fPID.

◆ GetTrackArrayN()

const TClonesArray* PairAnalysisMixedEvent::GetTrackArrayN ( ) const
inline

Definition at line 38 of file PairAnalysisMixedEvent.h.

References fArrTrackN.

Referenced by PairAnalysisMixingHandler::DoMixing().

◆ GetTrackArrayP()

const TClonesArray* PairAnalysisMixedEvent::GetTrackArrayP ( ) const
inline

Definition at line 37 of file PairAnalysisMixedEvent.h.

References fArrTrackP.

Referenced by PairAnalysisMixingHandler::DoMixing().

◆ operator=()

PairAnalysisMixedEvent& PairAnalysisMixedEvent::operator= ( const PairAnalysisMixedEvent c)
private

◆ Set()

void PairAnalysisMixedEvent::Set ( Int_t  size = 100)

Definition at line 117 of file PairAnalysisMixedEvent.cxx.

References fArrTrackN, and fArrTrackP.

Referenced by PairAnalysisMixingHandler::Fill().

◆ SetEventData()

void PairAnalysisMixedEvent::SetEventData ( const Double_t  data[PairAnalysisVarManager::kNMaxValuesMC])

◆ SetProcessID()

void PairAnalysisMixedEvent::SetProcessID ( TProcessID *  pid)
inline

Definition at line 43 of file PairAnalysisMixedEvent.h.

References fPID.

◆ SetTracks()

void PairAnalysisMixedEvent::SetTracks ( const TObjArray &  arrP,
const TObjArray &  arrN 
)

Definition at line 53 of file PairAnalysisMixedEvent.cxx.

References Clear(), fArrTrackN, fArrTrackP, fNTracksN, fNTracksP, fPID, fPIDIndex, and tracks.

Member Data Documentation

◆ fArrTrackN

TClonesArray PairAnalysisMixedEvent::fArrTrackN
private

◆ fArrTrackP

TClonesArray PairAnalysisMixedEvent::fArrTrackP
private

◆ fEventData

Double_t PairAnalysisMixedEvent::fEventData[PairAnalysisVarManager:: kNMaxValuesMC]
private

Definition at line 57 of file PairAnalysisMixedEvent.h.

Referenced by GetEventData(), PairAnalysisMixedEvent(), and SetEventData().

◆ fNTracksN

Int_t PairAnalysisMixedEvent::fNTracksN = 0
private

Definition at line 54 of file PairAnalysisMixedEvent.h.

Referenced by GetNTracksN(), and SetTracks().

◆ fNTracksP

Int_t PairAnalysisMixedEvent::fNTracksP = 0
private

Definition at line 53 of file PairAnalysisMixedEvent.h.

Referenced by GetNTracksP(), and SetTracks().

◆ fPID

TProcessID* PairAnalysisMixedEvent::fPID = NULL
private

Definition at line 60 of file PairAnalysisMixedEvent.h.

Referenced by AssignID(), GetProcessID(), SetProcessID(), and SetTracks().

◆ fPIDIndex

UInt_t PairAnalysisMixedEvent::fPIDIndex = 0
private

internal PID for references to buffered objects

Definition at line 61 of file PairAnalysisMixedEvent.h.

Referenced by AssignID(), and SetTracks().


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