AliPhysics  1811c8f (1811c8f)
AliFMDEventInspector Class Reference

#include <AliFMDEventInspector.h>

Inheritance diagram for AliFMDEventInspector:

Public Types

enum  ECodes {
  kOk = 0, kNoEvent = 0x1, kNoTriggers = 0x2, kNoSPD = 0x4,
  kNoFMD = 0x8, kNoVertex = 0x10, kBadVertex = 0x20
}
 
enum  ETrgBins {
  kInel, kInelGt0, kNSD, kV0AND,
  kEmpty, kA, kB, kC,
  kE, kPileUp, kMCNSD, kSatellite,
  kSpdOutlier, kOffline
}
 
enum  EVtxType {
  kNormal, kpA2012, kpA2013, kPWGUD,
  kDisplaced
}
 
enum  EPileupType { kSPD = 0x1, kTracks = 0x2, kOutOfBunch = 0x4, kSPDBins = 0x8 }
 
enum  ECentMethod {
  kV0Multiplicity, kV0Amplitude, kV0Charge, kFMDRough,
  kNTracks, kLTracks, kCL0, kCL1,
  kCND, kNParticles, kNeutrons, kV0vsFMD,
  kV0vsNTracks, kZEMvsZDC, kDefaultCent
}
 
enum  ECollisionSystem { kUnknown, kPP, kPbPb }
 
enum  EVtxStatus {
  kVtxOK = 1, kNoVtx, kNoSPDVtx, kFewContrib,
  kUncertain, kNotVtxZ
}
 
enum  ETrgStatus {
  kNoTrgWords =1, kPP2760Fast, kMUON, kTriggered,
  kMinBias, kMinBiasNoSPD, kV0AndTrg, kMinBiasAD,
  kHighMult, kCentral, kSemiCentral, kDiffractive,
  kADOr, kADAnd, kUser, kOther
}
 

Public Member Functions

 AliFMDEventInspector ()
 
 AliFMDEventInspector (const char *name)
 
virtual ~AliFMDEventInspector ()
 
virtual void SetupForData (const TAxis &vtxAxis)
 
UInt_t Process (const AliESDEvent *event, UInt_t &triggers, Bool_t &lowFlux, UShort_t &ivz, TVector3 &ip, Double_t &cent, UShort_t &nClusters)
 
void CreateOutputObjects (TList *dir)
 
void SetLowFluxCut (Int_t c)
 
void SetMaxVzErr (Double_t c=0.1)
 
void SetVertexMethod (EVtxType t)
 
void SetUseFirstPhysicsVtx (Bool_t use)
 
void SetpA2012Vtx (Bool_t use)
 
void SetUseV0AndForNSD (Bool_t use=true)
 
void SetMinPileupContributors (UShort_t nContrib=3)
 
void SetMinPileupDistance (Double_t cm=0.8)
 
void SetUseDisplacedVertices (Bool_t use=true)
 
Bool_t IsUseDisplacedVertices () const
 
void SetMinCentrality (Double_t mincent=-1.0)
 
void SetMaxCentrality (Double_t maxcent=-1.0)
 
void SetCentralityMethod (const TString &m)
 
void SetCentralityMethod (ECentMethod m)
 
void SetPileupFlags (UShort_t flags=0x5)
 
void SetDebug (Int_t dbg=1)
 
void SetMC (Bool_t isMC=true)
 
Bool_t IsMC () const
 
Bool_t FetchHistograms (const TList *d, TH1I *&hEventsTr, TH1I *&hEventsTrVtx, TH1I *&hEventsAcc, TH1I *&hTriggers) const
 
Bool_t ReadRunDetails (const AliESDEvent *esd)
 
UShort_t GetCollisionSystem () const
 
UShort_t GetEnergy () const
 
Short_t GetField () const
 
ULong_t GetRunNumber () const
 
Short_t GetProductionYear () const
 
Char_t GetProductionPeriod () const
 
Short_t GetProductionRevision () const
 
Bool_t IsProductionMC () const
 
void Print (Option_t *option="") const
 
virtual void StoreInformation ()
 
virtual void StoreProduction ()
 

Static Public Member Functions

static const char * CodeString (UInt_t mask)
 

Static Public Attributes

static const char * fgkFolderName = "fmdEventInspector"
 

Protected Member Functions

 AliFMDEventInspector (const AliFMDEventInspector &o)
 
AliFMDEventInspectoroperator= (const AliFMDEventInspector &)
 
Bool_t AllowDisplaced () const
 
void CacheConfiguredTriggerClasses (TList &cache, const TList *classes, AliOADBPhysicsSelection *o)
 
Bool_t ReadTriggers (const AliESDEvent &esd, UInt_t &triggers, UShort_t &nClusters)
 
Bool_t CheckpAExtraV0 (const AliESDEvent &esd) const
 
virtual Bool_t CheckFastPartition (bool fastonly) const
 
virtual Bool_t CheckINELGT0 (const AliESDEvent &esd, UShort_t &nClusters, UInt_t &triggers) const
 
virtual Bool_t CheckPileup (const AliESDEvent &esd, UInt_t &triggers) const
 
virtual Bool_t CheckMultiVertex (const AliESDEvent &esd, Bool_t checkOtherBC=false) const
 
virtual Bool_t CheckCosmics (const TString &trigStri) const
 
virtual Bool_t CheckEmpty (const TString &trigStr, UInt_t &triggers) const
 
virtual Bool_t CheckWords (const AliESDEvent &esd, UInt_t &triggers) const
 
Bool_t ReadVertex (const AliESDEvent &esd, TVector3 &ip)
 
virtual EVtxStatus CheckPWGUDVertex (const AliESDEvent &esd, TVector3 &ip) const
 
virtual EVtxStatus CheckpA2012Vertex (const AliESDEvent &esd, TVector3 &ip) const
 
virtual EVtxStatus CheckpA2013Vertex (const AliESDEvent &esd, TVector3 &ip) const
 
virtual EVtxStatus CheckVertex (const AliESDEvent &esd, TVector3 &ip) const
 
virtual Bool_t ReadCentrality (const AliESDEvent &esd, Double_t &cent, UShort_t &qual) const
 

Protected Attributes

TH1IfHEventsTr
 
TH1IfHEventsTrVtx
 Histogram of events w/trigger. More...
 
TH1IfHEventsAccepted
 Events w/trigger and vertex. More...
 
TH2DfHEventsAcceptedXY
 Events w/trigger and vertex in range. More...
 
TH1IfHTriggers
 XY vtx with trigger and Z vertex in range. More...
 
TH1IfHType
 Triggers. More...
 
TH1IfHWords
 Type (low/high flux) of event. More...
 
TH1F * fHCent
 Trigger words. More...
 
TH2FfHCentVsQual
 Centrality. More...
 
TH1IfHStatus
 Centrality vs quality. More...
 
TH1IfHVtxStatus
 Event processing status. More...
 
TH1IfHTrgStatus
 Vertex processing status. More...
 
TH1IfHPileup
 Trigger processing status. More...
 
Int_t fLowFluxCut
 Pile-up status. More...
 
Double_t fMaxVzErr
 
TListfList
 
UShort_t fEnergy
 Histogram container. More...
 
Short_t fField
 
UShort_t fCollisionSystem
 
Int_t fDebug
 
TAxisfCentAxis
 
TAxis fVtxAxis
 
EVtxType fVtxMethod
 
Bool_t fUseV0AND
 
UShort_t fPileupFlags
 
UShort_t fMinPileupContrib
 
Double_t fMinPileupDistance
 
AliDisplacedVertexSelection fDisplacedVertex
 
TList fCollWords
 
TList fBgWords
 Configured collision words. More...
 
TString fCentMethod
 Configured background words. More...
 
Double_t fMinCent
 
Double_t fMaxCent
 
ULong_t fRunNumber
 
Bool_t fMC
 
Short_t fProdYear
 
Char_t fProdLetter
 
Short_t fProdPass
 
Int_t fProdSVN
 
Bool_t fProdMC
 

Detailed Description

This class inspects the event

Input:
  • AliESDFMD object possibly corrected for sharing
Output:
  • A histogram of v_z of events with triggers.
  • A histogram of v_z of events with vertex and triggers
  • A histogram of trigger counters

Note, that these are added to the master output list

Corrections used:
  • None

Definition at line 50 of file AliFMDEventInspector.h.

Member Enumeration Documentation

Centrality methods

Enumerator
kV0Multiplicity 
kV0Amplitude 
kV0Charge 
kFMDRough 
kNTracks 
kLTracks 
kCL0 
kCL1 
kCND 
kNParticles 
kNeutrons 
kV0vsFMD 
kV0vsNTracks 
kZEMvsZDC 
kDefaultCent 

Definition at line 113 of file AliFMDEventInspector.h.

Return codes

Enumerator
kOk 

all ok - bin 1

kNoEvent 

No ESD event - bin 2

kNoTriggers 

No triggers found - bin 3

kNoSPD 

No SPD data - bin 4

kNoFMD 

No FMD data - bin 5

kNoVertex 

No vertex found - bin 6

kBadVertex 

Vertex out of range - bin 7

Definition at line 56 of file AliFMDEventInspector.h.

Collision systems

Enumerator
kUnknown 
kPP 
kPbPb 

Definition at line 134 of file AliFMDEventInspector.h.

Which kinds of pile-up to use

Enumerator
kSPD 
kTracks 
kOutOfBunch 
kSPDBins 

Definition at line 104 of file AliFMDEventInspector.h.

Trigger bins

Enumerator
kInel 
kInelGt0 
kNSD 
kV0AND 
kEmpty 
kA 
kB 
kC 
kE 
kPileUp 
kMCNSD 
kSatellite 
kSpdOutlier 
kOffline 

Definition at line 75 of file AliFMDEventInspector.h.

Enumerator
kNoTrgWords 
kPP2760Fast 
kMUON 
kTriggered 
kMinBias 
kMinBiasNoSPD 
kV0AndTrg 
kMinBiasAD 
kHighMult 
kCentral 
kSemiCentral 
kDiffractive 
kADOr 
kADAnd 
kUser 
kOther 

Definition at line 147 of file AliFMDEventInspector.h.

Enumerator
kVtxOK 
kNoVtx 
kNoSPDVtx 
kFewContrib 
kUncertain 
kNotVtxZ 

Definition at line 139 of file AliFMDEventInspector.h.

Ways to determine the primary vertex

Enumerator
kNormal 
kpA2012 
kpA2013 
kPWGUD 
kDisplaced 

Definition at line 94 of file AliFMDEventInspector.h.

Constructor & Destructor Documentation

AliFMDEventInspector::AliFMDEventInspector ( )

Constructor

Definition at line 89 of file AliFMDEventInspector.cxx.

AliFMDEventInspector::AliFMDEventInspector ( const char *  name)

Constructor

Parameters
nameName of object

Definition at line 142 of file AliFMDEventInspector.cxx.

AliFMDEventInspector::~AliFMDEventInspector ( )
virtual

Destructor

Definition at line 206 of file AliFMDEventInspector.cxx.

AliFMDEventInspector::AliFMDEventInspector ( const AliFMDEventInspector o)
inlineprotected

Copy constructor - not implemented

Parameters
oObject to copy from

Definition at line 483 of file AliFMDEventInspector.h.

Member Function Documentation

void AliFMDEventInspector::CacheConfiguredTriggerClasses ( TList cache,
const TList classes,
AliOADBPhysicsSelection o 
)
protected

Cache the configure trigger classes from the physis selection.

Parameters
cachewhere to cache the trigger class.
classesList of configured classes.
oObject from OADB with config

Definition at line 300 of file AliFMDEventInspector.cxx.

Referenced by AllowDisplaced(), and SetupForData().

Bool_t AliFMDEventInspector::CheckCosmics ( const TString trigStri) const
protectedvirtual

Check if we have a cosmic trigger. These should be filtered out.

Parameters
trigStriTrigger string
Returns
true if we have a cosmic trigger

Definition at line 1097 of file AliFMDEventInspector.cxx.

Referenced by AllowDisplaced(), and ReadTriggers().

Bool_t AliFMDEventInspector::CheckEmpty ( const TString trigStr,
UInt_t triggers 
) const
protectedvirtual

Check if the trigger string corresponds to an empty event

Parameters
trigStrTrigger string
triggersTrigger mask to be filled
Returns
true if the trigger string corresponds to an empty event

Definition at line 1273 of file AliFMDEventInspector.cxx.

Referenced by AllowDisplaced(), and ReadTriggers().

Bool_t AliFMDEventInspector::CheckFastPartition ( bool  fastonly) const
protectedvirtual

Check, for the \(\sqrt{s}=2.76GeV\) pp run wether this event was in the fast partition, and if so, filter it out.

Parameters
fastonlyEvent was in fast-only partition
Returns
true if event was in the fast-only partition, for the run period.

Reimplemented in AliFMDMCEventInspector.

Definition at line 1080 of file AliFMDEventInspector.cxx.

Referenced by AllowDisplaced(), and ReadTriggers().

Bool_t AliFMDEventInspector::CheckINELGT0 ( const AliESDEvent esd,
UShort_t nClusters,
UInt_t triggers 
) const
protectedvirtual

Check if we have an INEL>0 trigger

Parameters
esdData
nClustersOn return, number of clusters
triggersTrigger mask to be filled
Returns
true if we have an INEL>0 trigger

Definition at line 1110 of file AliFMDEventInspector.cxx.

Referenced by AllowDisplaced(), and ReadTriggers().

Bool_t AliFMDEventInspector::CheckMultiVertex ( const AliESDEvent esd,
Bool_t  checkOtherBC = false 
) const
protectedvirtual

Check for multi-vertex pile-up

Parameters
esdESD event
checkOtherBCAlso check other BC's
Returns
true if multiple vertices found

Definition at line 1200 of file AliFMDEventInspector.cxx.

Referenced by AllowDisplaced(), and CheckPileup().

AliFMDEventInspector::EVtxStatus AliFMDEventInspector::CheckpA2012Vertex ( const AliESDEvent esd,
TVector3 &  ip 
) const
protectedvirtual

Check the vertex. That is

  • Check if we have an SPD vertex and that it's status is OK
  • Check that we have enough contributors
  • Check that the reslution is OK
Parameters
esdData
ipOn return, the coordinates of the IP
Returns
status

Definition at line 1402 of file AliFMDEventInspector.cxx.

Referenced by AllowDisplaced(), and ReadVertex().

AliFMDEventInspector::EVtxStatus AliFMDEventInspector::CheckpA2013Vertex ( const AliESDEvent esd,
TVector3 &  ip 
) const
protectedvirtual

Check the vertex. That is

  • Check if we have an normal vertex and that it's status is OK
  • Check that we have enough contributors
  • Check if we have an SPD vertex
  • Check that we have enough contributors
  • If from Z-vertexer, check the resolution
  • Check that the two found vertices are within 0.5cm of each other
Parameters
esdData
ipOn return, the coordinates of the IP
Returns
status

Definition at line 1423 of file AliFMDEventInspector.cxx.

Referenced by AllowDisplaced(), and ReadVertex().

Bool_t AliFMDEventInspector::CheckpAExtraV0 ( const AliESDEvent esd) const
protected

Possible extra check for p-Pb from 2012/13 - require V0AND.

Parameters
esdEvent structure
Returns
true on success

Definition at line 893 of file AliFMDEventInspector.cxx.

Referenced by AllowDisplaced().

Bool_t AliFMDEventInspector::CheckPileup ( const AliESDEvent esd,
UInt_t triggers 
) const
protectedvirtual

Check if this is a pile-up event

Parameters
esdData
triggersTrigger mask to be filled
Returns
true if this is a pile-up event

Definition at line 1150 of file AliFMDEventInspector.cxx.

Referenced by AllowDisplaced(), and ReadTriggers().

AliFMDEventInspector::EVtxStatus AliFMDEventInspector::CheckPWGUDVertex ( const AliESDEvent esd,
TVector3 &  ip 
) const
protectedvirtual

Check the vertex using the method used in PWG-UD. That is

  • Check we have a vertex and status is OK
  • Check if we have an SPD vertex and that it's status is OK
  • Check if the vertex is from the Z-vertexer, and if it is,
    • Check that the dispersion and resolution is OK
Parameters
esdData
ipOn return, the coordinates of the IP
Returns
status

Definition at line 1365 of file AliFMDEventInspector.cxx.

Referenced by AllowDisplaced(), and ReadVertex().

AliFMDEventInspector::EVtxStatus AliFMDEventInspector::CheckVertex ( const AliESDEvent esd,
TVector3 &  ip 
) const
protectedvirtual

Check the vertex for pA 2012 settings. That is

Parameters
esdData
ipOn return, the coordinates of the IP
Returns
true if the vertex was found and met the requirements

Definition at line 1457 of file AliFMDEventInspector.cxx.

Referenced by AllowDisplaced(), and ReadVertex().

Bool_t AliFMDEventInspector::CheckWords ( const AliESDEvent esd,
UInt_t triggers 
) const
protectedvirtual

Check the trigger words to see if we have a B, A, C, or E event.

Parameters
esdData
triggersTrigger mask to be filled
Returns
always true

Definition at line 1284 of file AliFMDEventInspector.cxx.

Referenced by AllowDisplaced(), and ReadTriggers().

const Char_t * AliFMDEventInspector::CodeString ( UInt_t  mask)
static

Return a string representing the return code

Parameters
maskCode
Returns
String representation

Definition at line 1580 of file AliFMDEventInspector.cxx.

Referenced by AliForwardQATask::Event(), and IsProductionMC().

void AliFMDEventInspector::CreateOutputObjects ( TList dir)

Define the output histograms. These are put in a sub list of the passed list. The histograms are merged before the parent task calls AliAnalysisTaskSE::Terminate

Parameters
dirDirectory to add to

Definition at line 728 of file AliFMDEventInspector.cxx.

Referenced by AliBaseESDTask::UserCreateOutputObjects().

Bool_t AliFMDEventInspector::FetchHistograms ( const TList d,
TH1I *&  hEventsTr,
TH1I *&  hEventsTrVtx,
TH1I *&  hEventsAcc,
TH1I *&  hTriggers 
) const

Fetch our histograms from the passed list

Parameters
dInput
hEventsTrOn return, pointer to histogram, or null
hEventsTrVtxOn return, pointer to histogram, or null
hEventsAccOn return, pointer to histogram, or null
hTriggersOn return, pointer to histogram, or null
Returns
true on success, false otherwise

Definition at line 261 of file AliFMDEventInspector.cxx.

Referenced by AliForwardQATask::Finalize(), IsMC(), and AliForwardMultiplicityBase::MakeSimpledNdeta().

UShort_t AliFMDEventInspector::GetCollisionSystem ( ) const
inline

Get the collision system (one of the value in ECollisionSystem)

Returns
Collision system

Definition at line 388 of file AliFMDEventInspector.h.

Referenced by AliForwardMultiplicityTask::Event(), and AliForwardMCMultiplicityTask::Event().

UShort_t AliFMDEventInspector::GetEnergy ( ) const
inline

Get the center of mass energy (per nucleon pair) in GeV

Returns
center of mass energy (per nucleon pair) in GeV

Definition at line 394 of file AliFMDEventInspector.h.

Referenced by AliForwardMultiplicityTask::Event(), and AliForwardMCMultiplicityTask::Event().

Short_t AliFMDEventInspector::GetField ( ) const
inline

Get the magnetic field setting of the L3 magnet in kilo Gauss.

Returns
The magnetic field setting

Definition at line 400 of file AliFMDEventInspector.h.

Char_t AliFMDEventInspector::GetProductionPeriod ( ) const
inline

Get the production period.

  • For real data, this is the period identifier of the data taking
  • For MC data, this is the period identifier the production was anchored to
Returns
Period identifier or null

Definition at line 425 of file AliFMDEventInspector.h.

Short_t AliFMDEventInspector::GetProductionRevision ( ) const
inline

Get the AliROOT revision used for this production

Returns
SVN revision number or -1

Definition at line 431 of file AliFMDEventInspector.h.

Short_t AliFMDEventInspector::GetProductionYear ( ) const
inline

Get the production year.

  • For real data, this is the year of the data taking
  • For MC this is the year the production is anchored to.
Returns
A two-digit year (post millennium), or -1

Definition at line 415 of file AliFMDEventInspector.h.

ULong_t AliFMDEventInspector::GetRunNumber ( ) const
inline

Get the current run number

Returns
The current run number

Definition at line 406 of file AliFMDEventInspector.h.

Bool_t AliFMDEventInspector::IsMC ( ) const
inline

Definition at line 357 of file AliFMDEventInspector.h.

Referenced by AliForwardQATask::IsMC().

Bool_t AliFMDEventInspector::IsProductionMC ( ) const
inline

Check if the production was an MC production anchored in some real data.

Returns
true if this (MC) production was anchored

Definition at line 438 of file AliFMDEventInspector.h.

Bool_t AliFMDEventInspector::IsUseDisplacedVertices ( ) const
inline

Definition at line 289 of file AliFMDEventInspector.h.

AliFMDEventInspector& AliFMDEventInspector::operator= ( const AliFMDEventInspector )
inlineprotected

Assignement operator - not implemented

Returns
Reference to this object

Definition at line 534 of file AliFMDEventInspector.h.

Referenced by AliFMDMCEventInspector::operator=().

void AliFMDEventInspector::Print ( Option_t option = "") const

Print information

Parameters
optionNot used

Definition at line 1606 of file AliFMDEventInspector.cxx.

Referenced by IsProductionMC(), and AliBaseESDTask::Print().

UInt_t AliFMDEventInspector::Process ( const AliESDEvent event,
UInt_t triggers,
Bool_t lowFlux,
UShort_t ivz,
TVector3 &  ip,
Double_t cent,
UShort_t nClusters 
)

Process the event

Parameters
eventInput event
triggersOn return, the triggers fired
lowFluxOn return, true if the event is considered a low-flux event (according to the setting of fLowFluxCut)
ivzOn return, the found vertex bin (1-based). A zero means outside of the defined vertex range
ipOn return, coordinates of interaction point
centOn return, the centrality (in percent) or < 0 if not found
nClustersOn return, number of SPD clusters in \( |\eta|<1\)
Returns
0 (or kOk) on success, otherwise a bit mask of error codes

Definition at line 746 of file AliFMDEventInspector.cxx.

Referenced by AliBaseMCCorrectionsTask::Event(), AliForwardMultiplicityTask::Event(), AliForwardMCMultiplicityTask::Event(), AliCentralMCMultiplicityTask::Event(), AliCentralMultiplicityTask::Event(), AliFMDEnergyFitterTask::Event(), AliForwardQATask::Event(), AliFMDMCTrackInspectorTask::Event(), AliFMDMCHitEnergyFitterTask::Event(), and ELossTimeTask::Event().

Bool_t AliFMDEventInspector::ReadCentrality ( const AliESDEvent esd,
Double_t cent,
UShort_t qual 
) const
protectedvirtual

Read centrality from event

Parameters
esdEvent
centOn return, the centrality or negative if not found
qualOn return, centrality quality flag
Returns
False on error, true otherwise

Reimplemented in AliFMDMCEventInspector.

Definition at line 862 of file AliFMDEventInspector.cxx.

Referenced by AllowDisplaced(), Process(), and AliFMDMCEventInspector::ReadCentrality().

Bool_t AliFMDEventInspector::ReadRunDetails ( const AliESDEvent esd)

Read the collision system, collision energy, and L3 field setting from the ESD

Parameters
esdESD to get information from
Returns
true on success, false

Definition at line 1508 of file AliFMDEventInspector.cxx.

Referenced by AliBaseESDTask::GetESDEvent(), and IsMC().

Bool_t AliFMDEventInspector::ReadTriggers ( const AliESDEvent esd,
UInt_t triggers,
UShort_t nClusters 
)
protected

Read the trigger information from the ESD event

Parameters
esdESD event
triggersOn return, contains the trigger bits
nClustersOn return, number of SPD clusters in \( |\eta|<1\)
Returns
true on success, false otherwise

Definition at line 905 of file AliFMDEventInspector.cxx.

Referenced by AllowDisplaced(), and Process().

Bool_t AliFMDEventInspector::ReadVertex ( const AliESDEvent esd,
TVector3 &  ip 
)
protected

Read the vertex information from the ESD event

Parameters
esdESD event
ipOn return, the coordinates of the IP
Returns
true on success, false otherwise

Definition at line 1329 of file AliFMDEventInspector.cxx.

Referenced by AllowDisplaced(), and Process().

void AliFMDEventInspector::SetCentralityMethod ( const TString m)
inline

Set the centrality method to use. Possible values are

  • VOM - VZERO multiplicity
  • V0A - VZERO amplitude
  • V0C - VZERO charge
  • FMD - FMD scaled energy loss
  • TRK - Number of tracks
  • TKL - Number of tracks
  • CL0 -
  • CL1 -
  • CND -
  • NPA - Neutral particles
  • ZNA - ZDC neutron amplitude
  • V0MvsFMD - VZERO versus FMD
  • TKLvsVOM - Tracks versus VZERO
  • ZEMvsZDC - ZDC
Parameters
m

Definition at line 326 of file AliFMDEventInspector.h.

Referenced by ForwardAODConfig(), ReadRunDetails(), and TunedConfig().

void AliFMDEventInspector::SetCentralityMethod ( ECentMethod  m)

Set the centrality method

Parameters
mMethod identifier

Definition at line 217 of file AliFMDEventInspector.cxx.

void AliFMDEventInspector::SetDebug ( Int_t  dbg = 1)
inline

Set the debug level. The higher the value the more output

Parameters
dbgDebug level

Definition at line 347 of file AliFMDEventInspector.h.

Referenced by AliBaseESDTask::SetDebug().

void AliFMDEventInspector::SetLowFluxCut ( Int_t  c)
inline

Set the number of SPD tracklets for which we consider the event a low-flux event or not .

Parameters
cCut (default 1000)

Definition at line 227 of file AliFMDEventInspector.h.

Referenced by AddTaskFMDMCHit(), AddTaskFMDMCTracks(), AddTaskForwardQA(), CentralAODConfig(), elossFitConfig(), ForwardAODConfig(), and TunedConfig().

void AliFMDEventInspector::SetMaxCentrality ( Double_t  maxcent = -1.0)

Set the upper centrality cut - if negative, do not use

Deprecated:
We should accept all events in the AOD pass
Parameters
maxcentUpper cut on centrality

Definition at line 250 of file AliFMDEventInspector.cxx.

Referenced by IsUseDisplacedVertices().

void AliFMDEventInspector::SetMaxVzErr ( Double_t  c = 0.1)
inline

Set the maximum error on \( v_z\)

Parameters
cMaximum error (in centimeters)

Definition at line 233 of file AliFMDEventInspector.h.

Referenced by AddTaskFMDMCHit(), AddTaskFMDMCTracks(), AddTaskForwardQA(), CentralAODConfig(), elossFitConfig(), ForwardAODConfig(), and TunedConfig().

void AliFMDEventInspector::SetMC ( Bool_t  isMC = true)
inline

Set whether this is MC or not. Needed by energy loss fitter task that never instantices AliFMDMCEventInspector. In particular, we need this to make sure we ignore the FAST partition flag in MC for 2.76TeV pp.

Parameters
isMCIf true, assume MC input

Definition at line 356 of file AliFMDEventInspector.h.

Referenced by AliBaseESDTask::GetESDEvent().

void AliFMDEventInspector::SetMinCentrality ( Double_t  mincent = -1.0)

Set the lower centrality cut - if negative, do not use

Deprecated:
We should accept all events in the AOD pass
Parameters
mincentLower cut on centrality

Definition at line 240 of file AliFMDEventInspector.cxx.

Referenced by IsUseDisplacedVertices().

void AliFMDEventInspector::SetMinPileupContributors ( UShort_t  nContrib = 3)
inline

Set the minimum number of contributors for a 2nd pile-up vertex

Parameters
nContribLeast number of contributors

Definition at line 268 of file AliFMDEventInspector.h.

Referenced by CentralAODConfig(), ForwardAODConfig(), and TunedConfig().

void AliFMDEventInspector::SetMinPileupDistance ( Double_t  cm = 0.8)
inline

Set minimum distance from primary vertex to 2nd pile-up vertex

Parameters
cmDistance (in centimeters)

Definition at line 277 of file AliFMDEventInspector.h.

Referenced by CentralAODConfig(), ForwardAODConfig(), and TunedConfig().

void AliFMDEventInspector::SetpA2012Vtx ( Bool_t  use)
inline

Use the first physics vtx code.

Parameters
useUse it or not
Deprecated:
Use SetVertexMethod

Definition at line 254 of file AliFMDEventInspector.h.

void AliFMDEventInspector::SetPileupFlags ( UShort_t  flags = 0x5)
inline

Pile-up flags. A bit mask of EPileupType

  • 0x1 Check for number of vertices from SPD
  • 0x2 Check for number of vertices from tracks
  • 0x4 Check out-of-bunch pile-up
Parameters
flagsA bit mask of EPileupType

Definition at line 341 of file AliFMDEventInspector.h.

Referenced by elossFitConfig(), ForwardAODConfig(), and TunedConfig().

void AliFMDEventInspector::SetupForData ( const TAxis vtxAxis)
virtual

Initialize the object

Parameters
vtxAxisVertex axis in use

Reimplemented in AliFMDMCEventInspector.

Definition at line 362 of file AliFMDEventInspector.cxx.

Referenced by AliBaseESDTask::GetESDEvent(), and AliFMDMCEventInspector::SetupForData().

void AliFMDEventInspector::SetUseDisplacedVertices ( Bool_t  use = true)
inline

Enable selection of displaced vertices.

Parameters
usewhether to use
Deprecated:
Use SetVertexMethod

Definition at line 287 of file AliFMDEventInspector.h.

void AliFMDEventInspector::SetUseFirstPhysicsVtx ( Bool_t  use)
inline

Use the first physics vtx code.

Parameters
useUse it or not
Deprecated:
Use SetVertexMethod

Definition at line 246 of file AliFMDEventInspector.h.

Referenced by AddTaskForwardQA().

void AliFMDEventInspector::SetUseV0AndForNSD ( Bool_t  use = true)
inline

Use the 2012 pA vtx code.

Parameters
useUse it or not

Definition at line 262 of file AliFMDEventInspector.h.

Referenced by ForwardAODConfig(), and TunedConfig().

void AliFMDEventInspector::SetVertexMethod ( EVtxType  t)
inline
void AliFMDEventInspector::StoreInformation ( )
virtual

Store information about running conditions in output list

3 TNamed objects are defined. The names are fixed, but the title is a string representation of the information, and the unique ID contains the identifier

  • sys Contains the collision system string and identifier.
  • sNN Contains the center-of-mass energy per nucleon (GeV)
  • field Contains the L3 magnetic field (kG)
  • run Contains the run number

Definition at line 643 of file AliFMDEventInspector.cxx.

Referenced by IsProductionMC(), and ReadRunDetails().

void AliFMDEventInspector::StoreProduction ( )
virtual

Store - if possible - production information in a sub-list

Definition at line 673 of file AliFMDEventInspector.cxx.

Referenced by IsProductionMC(), and ReadRunDetails().

Member Data Documentation

TList AliFMDEventInspector::fBgWords
protected

Configured collision words.

Definition at line 739 of file AliFMDEventInspector.h.

Referenced by CheckWords(), and SetupForData().

TAxis* AliFMDEventInspector::fCentAxis
protected
TString AliFMDEventInspector::fCentMethod
protected

Configured background words.

Definition at line 740 of file AliFMDEventInspector.h.

Referenced by Print(), AliFMDMCEventInspector::ReadCentrality(), ReadRunDetails(), and SetCentralityMethod().

UShort_t AliFMDEventInspector::fCollisionSystem
protected
TList AliFMDEventInspector::fCollWords
protected

Definition at line 738 of file AliFMDEventInspector.h.

Referenced by CheckWords(), and SetupForData().

UShort_t AliFMDEventInspector::fEnergy
protected
Short_t AliFMDEventInspector::fField
protected

Definition at line 725 of file AliFMDEventInspector.h.

Referenced by GetField(), Print(), ReadRunDetails(), and StoreInformation().

const char * AliFMDEventInspector::fgkFolderName = "fmdEventInspector"
static

Folder name

Definition at line 168 of file AliFMDEventInspector.h.

TH1F* AliFMDEventInspector::fHCent
protected

Trigger words.

Definition at line 715 of file AliFMDEventInspector.h.

Referenced by Process(), AliFMDMCEventInspector::SetupForData(), and SetupForData().

TH2F* AliFMDEventInspector::fHCentVsQual
protected

Centrality.

Definition at line 716 of file AliFMDEventInspector.h.

Referenced by Process(), and SetupForData().

TH1I* AliFMDEventInspector::fHEventsAccepted
protected

Events w/trigger and vertex.

Definition at line 710 of file AliFMDEventInspector.h.

Referenced by Process(), and SetupForData().

TH2D* AliFMDEventInspector::fHEventsAcceptedXY
protected

Events w/trigger and vertex in range.

Definition at line 711 of file AliFMDEventInspector.h.

Referenced by Process(), and SetupForData().

TH1I* AliFMDEventInspector::fHEventsTr
protected
TH1I* AliFMDEventInspector::fHEventsTrVtx
protected

Histogram of events w/trigger.

Definition at line 709 of file AliFMDEventInspector.h.

Referenced by Process(), and SetupForData().

TH1I* AliFMDEventInspector::fHPileup
protected

Trigger processing status.

Definition at line 720 of file AliFMDEventInspector.h.

Referenced by CheckPileup(), and SetupForData().

TH1I* AliFMDEventInspector::fHStatus
protected

Centrality vs quality.

Definition at line 717 of file AliFMDEventInspector.h.

Referenced by Process(), and SetupForData().

TH1I* AliFMDEventInspector::fHTrgStatus
protected

Vertex processing status.

Definition at line 719 of file AliFMDEventInspector.h.

Referenced by ReadTriggers(), and SetupForData().

TH1I* AliFMDEventInspector::fHTriggers
protected

XY vtx with trigger and Z vertex in range.

Definition at line 712 of file AliFMDEventInspector.h.

Referenced by Process(), AliFMDMCEventInspector::ProcessMC(), ReadTriggers(), and SetupForData().

TH1I* AliFMDEventInspector::fHType
protected

Triggers.

Definition at line 713 of file AliFMDEventInspector.h.

Referenced by Process(), and SetupForData().

TH1I* AliFMDEventInspector::fHVtxStatus
protected

Event processing status.

Definition at line 718 of file AliFMDEventInspector.h.

Referenced by ReadVertex(), and SetupForData().

TH1I* AliFMDEventInspector::fHWords
protected

Type (low/high flux) of event.

Definition at line 714 of file AliFMDEventInspector.h.

Referenced by CheckWords(), and SetupForData().

Int_t AliFMDEventInspector::fLowFluxCut
protected

Pile-up status.

Definition at line 721 of file AliFMDEventInspector.h.

Referenced by Print(), Process(), SetLowFluxCut(), SetupForData(), and StoreInformation().

Double_t AliFMDEventInspector::fMaxCent
protected

Definition at line 742 of file AliFMDEventInspector.h.

Referenced by Process(), SetMaxCentrality(), and SetupForData().

Double_t AliFMDEventInspector::fMaxVzErr
protected
Bool_t AliFMDEventInspector::fMC
protected
Double_t AliFMDEventInspector::fMinCent
protected

Definition at line 741 of file AliFMDEventInspector.h.

Referenced by Process(), SetMinCentrality(), and SetupForData().

UShort_t AliFMDEventInspector::fMinPileupContrib
protected
Double_t AliFMDEventInspector::fMinPileupDistance
protected
UShort_t AliFMDEventInspector::fPileupFlags
protected

Definition at line 733 of file AliFMDEventInspector.h.

Referenced by CheckPileup(), Print(), SetPileupFlags(), and StoreInformation().

Char_t AliFMDEventInspector::fProdLetter
protected

Definition at line 747 of file AliFMDEventInspector.h.

Referenced by GetProductionPeriod(), Print(), and StoreProduction().

Bool_t AliFMDEventInspector::fProdMC
protected

Definition at line 750 of file AliFMDEventInspector.h.

Referenced by IsProductionMC(), Print(), and StoreProduction().

Short_t AliFMDEventInspector::fProdPass
protected

Definition at line 748 of file AliFMDEventInspector.h.

Referenced by StoreProduction().

Int_t AliFMDEventInspector::fProdSVN
protected

Definition at line 749 of file AliFMDEventInspector.h.

Referenced by GetProductionRevision(), Print(), and StoreProduction().

Short_t AliFMDEventInspector::fProdYear
protected

Definition at line 746 of file AliFMDEventInspector.h.

Referenced by GetProductionYear(), Print(), and StoreProduction().

ULong_t AliFMDEventInspector::fRunNumber
protected

Definition at line 744 of file AliFMDEventInspector.h.

Referenced by GetRunNumber(), ReadRunDetails(), and StoreInformation().

Bool_t AliFMDEventInspector::fUseV0AND
protected

Definition at line 732 of file AliFMDEventInspector.h.

Referenced by ReadTriggers(), SetUseV0AndForNSD(), and StoreInformation().

TAxis AliFMDEventInspector::fVtxAxis
protected
EVtxType AliFMDEventInspector::fVtxMethod
protected

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