ROOT logo
AliRoot » PWGLF » FORWARD » ANALYSIS2 » AliAODForwardMult

class AliAODForwardMult: public TObject

Function Members (Methods)

public:
AliAODForwardMult()
AliAODForwardMult(Bool_t isMC)
AliAODForwardMult(const AliAODForwardMult&)
virtual~AliAODForwardMult()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidBrowse(TBrowser* b)
Bool_tCheckEvent(Int_t triggerMask = kInel, Double_t vzMin = -10, Double_t vzMax = 10, UShort_t cMin = 0, UShort_t cMax = 100, TH1* hist = 0, TH1* status = 0, Bool_t removePileup = true) const
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidClear(Option_t* option = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
Float_tGetCentrality() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
const TH2D&GetHistogram() const
TH2D&GetHistogram()
virtual const char*TObject::GetIconName() const
Float_tGetIpZ() const
virtual const Char_t*GetName() const
UShort_tGetNClusters() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
UShort_tGetSNN() const
UShort_tGetSystem() const
virtual const char*TObject::GetTitle() const
UInt_tGetTriggerBits() const
static const Char_t*GetTriggerString(UInt_t mask)
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
Bool_tHasCentrality() const
virtual ULong_tTObject::Hash() const
Bool_tHasIpZ() const
Bool_tHasTrigger() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
voidInit(const TAxis& etaAxis)
Bool_tInRange(Float_t low, Float_t high) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
Bool_tIsAcceptanceCorrected() const
Bool_tIsEmpiricalCorrected() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tIsFolder() const
Bool_tIsMergingEfficiencyCorrected() const
Bool_tTObject::IsOnHeap() const
Bool_tIsSecondaryCorrected() const
virtual Bool_tTObject::IsSortable() const
Bool_tIsSumSignal() const
Bool_tIsTriggerBits(UInt_t bits) const
Bool_tIsTriggerOrBits(UInt_t bits) const
Bool_tIsVertexBiasCorrected() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
static TH1I*MakeStatusHistogram(const char* name = "status")
static TH1I*MakeTriggerHistogram(const char* name = "triggers", Int_t mask = 0)
static UInt_tMakeTriggerMask(const char* what)
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TObject&TObject::operator=(const TObject& rhs)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidPrint(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidSetCentrality(Float_t c)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetIpZ(Float_t ipZ)
voidSetNClusters(UShort_t n)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetSNN(UShort_t sNN)
voidSetSystem(UShort_t sys)
voidSetTriggerBits(UInt_t bits)
voidSetTriggerMask(UInt_t trg)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
enum { kInel
kInelGt0
kNSD
kEmpty
kA
kB
kC
kE
kPileUp
kMCNSD
kOffline
kNClusterGt0
kV0AND
kSatellite
kSPDOutlier
kPileupSPD
kPileupTrack
kPileupBC
kBinAll
kBinInel
kBinInelGt0
kBinNSD
kBinV0AND
kBinA
kBinB
kBinC
kBinE
kBinSatellite
kBinPileUp
kBinMCNSD
kBinOffline
kBinNClusterGt0
kWithTrigger
kWithVertex
kAccepted
kSecondary
kVertexBias
kAcceptance
kMergingEfficiency
kSum
kEmpirical
};
enum ECheckStatus { kGoodEvent
kWrongCentrality
kWrongTrigger
kIsPileup
kNoVertex
kWrongVertex
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
Float_tfCentralityEvent centrality
TH2DfHistHistogram of d^2N_{ch}/(deta dphi) for this event
Float_tfIpZZ coordinate of the interaction point
Bool_tfIsMCWhether this is from MC
UShort_tfNClustersNumber of SPD clusters in |eta|<1
UInt_tfTriggersTrigger bit mask
static const Float_tfgkInvalidIpZInvalid IpZ value

Class Charts

Inheritance Chart:
TObject
AliAODForwardMult

Function documentation

AliAODForwardMult()
 Constructor

AliAODForwardMult(Bool_t isMC)
Init(const TAxis& etaAxis)
 Initialize the histogram with an eta axis

 Parameters:
   etaAxis       Eta axis to use

Clear(Option_t* option = "")
 Clear (or reset) internal values

 Parameters:
  option   Passed to TH1::Reset

SetSNN(UShort_t sNN)
 set the center of mass energy per nucleon pair (GeV).
 This is stored in bin (0,0) of the histogram

 Parameters:
   sNN   Center of mass energy per nuclean
SetSystem(UShort_t sys)
 set the center of mass energy per nucleon pair (GeV).
 This is stored in bin (N+1,0) of the histogram

 Parameters:
   sys   Collision system number
HasIpZ() const
 Check if we have valid z coordinate of the interaction point

 Return:
   true if the z coordinate of the interaction point is valid

GetSNN() const
 set the center of mass energy per nucleon pair (GeV).
 This is stored in bin (0,0) of the histogram

 Parameters:
   sNN   Center of mass energy per nuclean
GetSystem() const
 set the center of mass energy per nucleon pair (GeV).
 This is stored in bin (N+1,0) of the histogram

 Parameters:
   sNN   Center of mass energy per nuclean
Browse(TBrowser* b)
 Browse this object

 Parameters:
   b   Browser to use
GetTriggerString(UInt_t mask)
 Get a string that describes the triggers

 Parameters:
   mask  Bit pattern of triggers
 Return:
   Character string representation of mask
MakeTriggerHistogram(const char* name = "triggers", Int_t mask = 0)
 Make a histogram to record triggers in.

 The bins defined by the trigger enumeration in this class.  One
 can use this enumeration to retrieve the number of triggers for
 each class.

 Parameters:
    name Name of the histogram

 Return:
    Newly allocated histogram

MakeStatusHistogram(const char* name = "status")
 Make a histogram to record status in.

 The bins defined by the status enumeration in this class.

 Parameters:
    name Name of the histogram

 Return:
    Newly allocated histogram

MakeTriggerMask(const char* what)
CheckEvent(Int_t triggerMask = kInel, Double_t vzMin = -10, Double_t vzMax = 10, UShort_t cMin = 0, UShort_t cMax = 100, TH1* hist = 0, TH1* status = 0, Bool_t removePileup = true) const
 Check if event meets the passses requirements.

 It returns true if @e all of the following is true

 - The trigger is within the bit mask passed.
 - The vertex is within the specified limits.
 - The centrality is within the specified limits, or if lower
   limit is equal to or larger than the upper limit.

 If a histogram is passed in the last parameter, then that
 histogram is filled with the trigger bits.

 Parameters:
    triggerMask  Trigger mask
    vzMin        Minimum @f$ v_z@f$ (in centimeters)
    vzMax        Maximum @f$ v_z@f$ (in centimeters)
    cMin         Minimum centrality (in percent)
    cMax         Maximum centrality (in percent)
    hist         Histogram to fill

 Return:
    @c true if the event meets the requirements

Print(Option_t* option = "") const
 Print this object

 Parameters:
  option   Passed to TH1::Print
InRange(Float_t low, Float_t high) const
IsTriggerBits(UInt_t bits) const
IsTriggerOrBits(UInt_t bits) const
AliAODForwardMult()
   * Default constructor
   *
   * Used by ROOT I/O sub-system - do not use

virtual ~AliAODForwardMult()
   * Destructor

{}
const TH2D& GetHistogram() const
   * Get the @f$ d^2N_{ch}/d\eta d\phi@f$ histogram,
   *
   * @return @f$ d^2N_{ch}/d\eta d\phi@f$ histogram,

{ return fHist; }
TH2D& GetHistogram()
   * Get the @f$ d^2N_{ch}/d\eta d\phi@f$ histogram,
   *
   * @return @f$ d^2N_{ch}/d\eta d\phi@f$ histogram,

{ return fHist; }
UInt_t GetTriggerBits() const
   * Get the trigger bits
   *
   * @return Trigger bits

{ return fTriggers; }
void SetTriggerMask(UInt_t trg)
   * Set the trigger mask
   *
   * @param trg Trigger mask

{ fTriggers = trg; }
void SetTriggerBits(UInt_t bits)
   * Set bit(s) in trigger mask
   *
   * @param bits bit(s) to set

{ fTriggers |= bits; }
Bool_t HasTrigger() const
   * Whether we have any trigger bits
   *
   * @return true if we have some trigger

{ return fTriggers != 0; }
Bool_t IsFolder() const
   * This is a folder
   *
   * @return Always true

{ return kTRUE; }
Bool_t IsSecondaryCorrected() const
   * Check if the data has been secondary corrected by MC maps
   *
   * @return true if secondary corrected via MC maps

{ return TestBit(kSecondary); }
Bool_t IsVertexBiasCorrected() const
   * Check if vertex bias correction was applied
   *
   * @return true if MC based vertex bias was applied

{ return TestBit(kVertexBias); }
Bool_t IsAcceptanceCorrected() const
   * Check if acceptance correction (from dead strips) was applied
   *
   * @return true if acceptance correction was applied

{ return TestBit(kAcceptance); }
Bool_t IsMergingEfficiencyCorrected() const
   * Check if merging efficiency (from MC) was applied
   *
   * @return true if merging efficiency was applied

Bool_t IsEmpiricalCorrected() const
   * Check if an empirical correction was applied in the event level.
   *
   * @return True if the empirical correction was applied per event.

{ return TestBit(kEmpirical); }
Bool_t IsSumSignal() const
   * Check if the output is the sum (not average) in regions of
   * overlap between detectors.
   *
   *
   * @return true if the sum (not average) is stored in overlap
   * regions.

{ return TestBit(kSum); }
void SetIpZ(Float_t ipZ)
   * Set the z coordinate of the interaction point
   *
   * @param ipZ Interaction point z coordinate

{ fIpZ = ipZ; }
void SetCentrality(Float_t c)
   * Set the event centrality
   *
   * @param c Centrality

{ fCentrality = c; }
Float_t GetIpZ() const
   * Set the z coordinate of the interaction point
   *
   * @return Interaction point z coordinate

{ return fIpZ; }
Float_t GetCentrality() const
   * Get the event centrality
   *
   * @return Centrality

{ return fCentrality; }
Bool_t HasCentrality() const
   * Check if we have a valid centrality
   *
   * @return true if the centrality information is valid

{ return !(fCentrality < 0); }
UShort_t GetNClusters() const
   * Get the number of SPD clusters seen in @f$ |\eta|<1@f$
   *
   * @return Number of SPD clusters seen

{ return fNClusters; }
void SetNClusters(UShort_t n)
   * Set the number of SPD clusters seen in @f$ |\eta|<1@f$
   *
   * @param n Number of SPD clusters

{ fNClusters = n; }
const Char_t* GetName() const
   * Get the name of the object
   *
   * @return Name of object

{ return (fIsMC ? "ForwardMC" : "Forward"); }