AliPhysics  b81c3d2 (b81c3d2)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalTriggerMaker Class Reference

EMCAL trigger patch maker. More...

#include <AliEmcalTriggerMaker.h>

Inheritance diagram for AliEmcalTriggerMaker:

Public Types

enum  TriggerMakerTriggerType_t { kTMEMCalJet = 0, kTMEMCalGamma = 1, kTMEMCalLevel0 = 2 }
 Definition of different trigger patch types. More...
 
enum  TriggerMakerPatchSource_t { kTMOnline = 0, kTMOffline = 1, kTMRecalc = 2 }
 
enum  TriggerMakerBits_t { kMainTriggerBitNum = 15, kRecalcOffset = 16, kOfflineOffset = 24 }
 
enum  TriggerMakerBitmasks_t { kRecalcBitmask = 0x00FF0000, kOfflineBitmask = 0xFF000000 }
 
enum  TriggerMakerBitConfig_t { kOldConfig = 0, kNewConfig = 1 }
 
- Public Types inherited from AliAnalysisTaskEmcal
enum  EDataType_t { kUnknownDataType, kESD, kAOD }
 Switch for the data type. More...
 
enum  BeamType { kNA = -1, kpp = 0, kAA = 1, kpA = 2 }
 Switch for the beam type. More...
 
enum  TriggerType {
  kND = -1, kJ1 = 0, kJ2 = 1, kG1 = 2,
  kG2 = 3, kL0 = 4
}
 Switch for EMCAL trigger types. More...
 
enum  TriggerCategory {
  kTriggerLevel0 = 0, kTriggerLevel1Jet = 1, kTriggerLevel1Gamma = 2, kTriggerRecalcJet = 3,
  kTriggerRecalcGamma = 4
}
 Online trigger categories. More...
 
enum  EMCalTriggerMode_t { kNoSpecialTreatment, kOverlapWithLowThreshold }
 Handling of the EMCAL trigger thresholds. More...
 

Public Member Functions

 AliEmcalTriggerMaker ()
 
 AliEmcalTriggerMaker (const char *name, Bool_t doQA=kFALSE)
 
virtual ~AliEmcalTriggerMaker ()
 
void SetRunQA (Bool_t doQA=kTRUE)
 
void SetCaloTriggersOutName (const char *name)
 
void SetCaloTriggerSetupOutName (const char *name)
 
void SetTriggerThresholdJetLow (Int_t a, Int_t b, Int_t c)
 
void SetTriggerThresholdJetHigh (Int_t a, Int_t b, Int_t c)
 
void SetTriggerThresholdGammaLow (Int_t a, Int_t b, Int_t c)
 
void SetTriggerThresholdGammaHigh (Int_t a, Int_t b, Int_t c)
 
void SetDebugLevel (Int_t debugLevel)
 
void SetV0InName (const char *name)
 
void AddHotFastor (int col, int row)
 
void SetUseTriggerBitConfig (TriggerMakerBitConfig_t bitConfig)
 
void SetTriggerBitConfig (const AliEMCALTriggerBitConfig *conf)
 
void SetRejectOffAcceptancePatches (Bool_t doReject=kTRUE)
 
Bool_t IsEJE (Int_t tBits) const
 
Bool_t IsEGA (Int_t tBits) const
 
Bool_t IsLevel0 (Int_t tBits) const
 
Bool_t IsOfflineSimple (Int_t tBits) const
 
Bool_t IsRecalc (Int_t tBits) const
 
- Public Member Functions inherited from AliAnalysisTaskEmcal
 AliAnalysisTaskEmcal ()
 
 AliAnalysisTaskEmcal (const char *name, Bool_t histo=kFALSE)
 
virtual ~AliAnalysisTaskEmcal ()
 
AliParticleContainerAddParticleContainer (const char *n)
 
AliTrackContainerAddTrackContainer (const char *n)
 
AliMCParticleContainerAddMCParticleContainer (const char *n)
 
AliClusterContainerAddClusterContainer (const char *n)
 
void AdoptParticleContainer (AliParticleContainer *cont)
 
void AdoptTrackContainer (AliTrackContainer *cont)
 
void AdoptMCParticleContainer (AliMCParticleContainer *cont)
 
void AdoptClusterContainer (AliClusterContainer *cont)
 
AliParticleContainerGetParticleContainer (Int_t i=0) const
 
AliParticleContainerGetParticleContainer (const char *name) const
 
AliClusterContainerGetClusterContainer (Int_t i=0) const
 
AliClusterContainerGetClusterContainer (const char *name) const
 
AliMCParticleContainerGetMCParticleContainer (Int_t i=0) const
 
AliMCParticleContainerGetMCParticleContainer (const char *name) const
 
AliTrackContainerGetTrackContainer (Int_t i=0) const
 
AliTrackContainerGetTrackContainer (const char *name) const
 
void RemoveParticleContainer (Int_t i=0)
 
void RemoveClusterContainer (Int_t i=0)
 
void SetCaloCellsName (const char *n)
 
void SetCaloTriggerPatchInfoName (const char *n)
 
void SetCaloTriggersName (const char *n)
 
void SetCentRange (Double_t min, Double_t max)
 
void SetCentralityEstimator (const char *c)
 
void SetClusPtCut (Double_t cut, Int_t c=0)
 
void SetClusTimeCut (Double_t min, Double_t max, Int_t c=0)
 
void SetEventPlaneVsEmcal (Double_t ep)
 
void SetForceBeamType (BeamType f)
 
void SetHistoBins (Int_t nbins, Double_t min, Double_t max)
 
void SetIsEmbedded (Bool_t i)
 
void SetIsPythia (Bool_t i)
 
void SetIsHerwig (Bool_t i)
 
void SetMakeGeneralHistograms (Bool_t g)
 
void SetNumberOfPtHardBins (Int_t nbins)
 Set the number of \( p_{t}\$-hard bins @param[in] nbins Number of \) p_{t}$-hard bins. More...
 
void SetUserPtHardBinning (const TArrayI &binning)
 Set a non-standard \( p_{t}\$-hard binning The array reflects the bin limits, therefore the size must match the number of \) p_{t}$-hard bins + 1, otherwise the binning is not used in order to create the bin labels. More...
 
void SetMCLabelShift (Int_t s)
 
void SetMinMCLabel (Int_t s)
 
void SetMinNTrack (Int_t min)
 
void SetZvertexDiffValue (Double_t cut)
 
void SetMinPtTrackInEmcal (Double_t min)
 
virtual void SetNCentBins (Int_t n)
 
void SetNeedEmcalGeom (Bool_t n)
 
void SetCountDownscaleCorrectedEvents (Bool_t d)
 
void SetOffTrigger (UInt_t t)
 
void SetTrackEtaLimits (Double_t min, Double_t max, Int_t c=0)
 
void SetTrackPhiLimits (Double_t min, Double_t max, Int_t c=0)
 
void SetTrackPtCut (Double_t cut, Int_t c=0)
 
void SetTrigClass (const char *n)
 
void SetMinBiasTriggerClassName (const char *n)
 
void SetTriggerTypeSel (TriggerType t)
 
void SetUseAliAnaUtils (Bool_t b, Bool_t bRejPilup=kTRUE)
 
void SetVzRange (Double_t min, Double_t max)
 
void SetUseSPDTrackletVsClusterBG (Bool_t b)
 
void SetEMCalTriggerMode (EMCalTriggerMode_t m)
 
void SetUseNewCentralityEstimation (Bool_t b)
 
void SetGeneratePythiaInfoObject (Bool_t b)
 
void SetPythiaInfoName (const char *n)
 
const TStringGetPythiaInfoName () const
 
const AliEmcalPythiaInfoGetPythiaInfo () const
 
void SetUsePtHardBinScaling (Bool_t b)
 
void SetMCFilter ()
 
void ResetMCFilter ()
 
void SetJetPtFactor (Float_t f)
 
Float_t JetPtFactor ()
 
void SetClusterPtFactor (Float_t f)
 
Float_t ClusterPtFactor ()
 
void SetTrackPtFactor (Float_t f)
 
Float_t TrackPtFactor ()
 

Protected Member Functions

void UserCreateOutputObjects ()
 
void ExecOnce ()
 
Bool_t Run ()
 
void RunSimpleOfflineTrigger ()
 
Bool_t NextTrigger (Bool_t &isOfflineSimple)
 
AliEMCALTriggerPatchInfo * ProcessPatch (TriggerMakerTriggerType_t type, TriggerMakerPatchSource_t patchSource)
 
Bool_t CheckForL0 (const AliVCaloTrigger &trg) const
 
- Protected Member Functions inherited from AliAnalysisTaskEmcal
void LoadPythiaInfo (AliVEvent *event)
 
void SetRejectionReasonLabels (TAxis *axis)
 
Bool_t AcceptCluster (AliVCluster *clus, Int_t c=0) const
 
Bool_t AcceptTrack (AliVParticle *track, Int_t c=0) const
 
void AddObjectToEvent (TObject *obj, Bool_t attempt=kFALSE)
 
AliVParticle * GetAcceptParticleFromArray (Int_t p, Int_t c=0) const
 
AliVCluster * GetAcceptClusterFromArray (Int_t cl, Int_t c=0) const
 
TClonesArray * GetArrayFromEvent (const char *name, const char *clname=0)
 
BeamType GetBeamType () const
 
TClonesArray * GetParticleArray (Int_t i=0) const
 
TClonesArray * GetClusterArray (Int_t i=0) const
 
Int_t GetNParticles (Int_t i=0) const
 
Int_t GetNClusters (Int_t i=0) const
 
AliEMCALTriggerPatchInfo * GetMainTriggerPatch (TriggerCategory triggersel=kTriggerLevel1Jet, Bool_t doOfflinSimple=kFALSE)
 
Bool_t HasTriggerType (TriggerType triggersel)
 
ULong_t GetTriggerList ()
 
Bool_t PythiaInfoFromFile (const char *currFile, Float_t &fXsec, Float_t &fTrials, Int_t &pthard)
 
Bool_t IsTrackInEmcalAcceptance (AliVParticle *part, Double_t edges=0.9) const
 
void GeneratePythiaInfoObject (AliMCEvent *mcEvent)
 
Bool_t CheckMCOutliers ()
 
void UserCreateOutputObjects ()
 
void UserExec (Option_t *option)
 
Bool_t UserNotify ()
 
virtual Bool_t FillGeneralHistograms ()
 
virtual Bool_t IsEventSelected ()
 
virtual Bool_t RetrieveEventObjects ()
 
virtual void RunChanged (Int_t)
 
virtual void UserExecOnce ()
 
virtual Bool_t FillHistograms ()
 

Protected Attributes

AliEMCALTriggerChannelContainer fBadChannels
 Container of bad channels. More...
 
TString fCaloTriggersOutName
 name of output track array More...
 
TString fCaloTriggerSetupOutName
 name of output track array More...
 
TString fV0InName
 name of output track array More...
 
TriggerMakerBitConfig_t fUseTriggerBitConfig
 type of trigger config More...
 
Int_t fThresholdConstants [4][3]
 simple offline trigger thresholds constants More...
 
const AliEMCALTriggerBitConfig * fTriggerBitConfig
 Trigger bit configuration, aliroot-dependent. More...
 
TClonesArray * fCaloTriggersOut
 ! trigger array out More...
 
AliEmcalTriggerSetupInfofCaloTriggerSetupOut
 ! trigger setup More...
 
AliAODCaloTrigger * fSimpleOfflineTriggers
 ! simple offline trigger More...
 
AliVVZERO * fV0
 ! V0 object More...
 
AliEMCALTriggerDataGrid< float > * fPatchAmplitudes
 ! TRU Amplitudes (for L0) More...
 
AliEMCALTriggerDataGrid< double > * fPatchADCSimple
 ! patch map for simple offline trigger More...
 
AliEMCALTriggerDataGrid< int > * fPatchADC
 ! ADC values map More...
 
AliEMCALTriggerDataGrid< char > * fLevel0TimeMap
 ! Map needed to store the level0 times More...
 
Int_t fITrigger
 ! trigger counter More...
 
Bool_t fDoQA
 Fill QA histograms. More...
 
Bool_t fRejectOffAcceptancePatches
 Switch for rejection of patches outside the acceptance. More...
 
THistManagerfQAHistos
 ! Histograms for QA More...
 
Int_t fDebugLevel
 Debug lebel;. More...
 
- Protected Attributes inherited from AliAnalysisTaskEmcal
TString fPythiaInfoName
 name of pythia info object More...
 
BeamType fForceBeamType
 forced beam type More...
 
Bool_t fGeneralHistograms
 whether or not it should fill some general histograms More...
 
Bool_t fLocalInitialized
 whether or not the task has been already initialized More...
 
Bool_t fCreateHisto
 whether or not create histograms More...
 
TString fCaloCellsName
 name of calo cell collection More...
 
TString fCaloTriggersName
 name of calo triggers collection More...
 
TString fCaloTriggerPatchInfoName
 trigger patch info array name More...
 
Double_t fMinCent
 min centrality for event selection More...
 
Double_t fMaxCent
 max centrality for event selection More...
 
Double_t fMinVz
 min vertex for event selection More...
 
Double_t fMaxVz
 max vertex for event selection More...
 
Double_t fTrackPtCut
 cut on track pt in event selection More...
 
Int_t fMinNTrack
 minimum nr of tracks in event with pT>fTrackPtCut More...
 
Double_t fZvertexDiff
 upper limit for distance between primary and SPD vertex More...
 
Bool_t fUseAliAnaUtils
 used for LHC13* data: z-vtx, Ncontributors, z-vtx resolution cuts More...
 
Bool_t fRejectPileup
 Reject pilup using function AliAnalysisUtils::IsPileUpEvent() More...
 
Bool_t fTklVsClusSPDCut
 Apply tracklet-vs-cluster SPD cut to reject background events in pp. More...
 
UInt_t fOffTrigger
 offline trigger for event selection More...
 
TString fTrigClass
 trigger class name for event selection More...
 
TString fMinBiasRefTrigger
 Name of the minmum bias reference trigger, used in the calculation of downscale-corrected event numbers. More...
 
TriggerType fTriggerTypeSel
 trigger type to select based on trigger patches More...
 
Int_t fNbins
 no. of pt bins More...
 
Double_t fMinBinPt
 min pt in histograms More...
 
Double_t fMaxBinPt
 max pt in histograms More...
 
Double_t fMinPtTrackInEmcal
 min pt track in emcal More...
 
Double_t fEventPlaneVsEmcal
 select events which have a certain event plane wrt the emcal More...
 
Double_t fMinEventPlane
 minimum event plane value More...
 
Double_t fMaxEventPlane
 maximum event plane value More...
 
TString fCentEst
 name of V0 centrality estimator More...
 
Bool_t fIsEmbedded
 trigger, embedded signal More...
 
Bool_t fIsPythia
 trigger, if it is a PYTHIA production More...
 
Bool_t fIsHerwig
 trigger, if it is a HERWIG production More...
 
Int_t fSelectPtHardBin
 select one pt hard bin for analysis More...
 
Int_t fMinMCLabel
 minimum MC label value for the tracks/clusters being considered MC particles More...
 
Int_t fMCLabelShift
 if MC label > fMCLabelShift, MC label -= fMCLabelShift More...
 
Int_t fNcentBins
 how many centrality bins More...
 
Bool_t fNeedEmcalGeom
 whether or not the task needs the emcal geometry More...
 
TObjArray fParticleCollArray
 particle/track collection array More...
 
TObjArray fClusterCollArray
 cluster collection array More...
 
ULong_t fTriggers
 list of fired triggers More...
 
EMCalTriggerMode_t fEMCalTriggerMode
 EMCal trigger selection mode. More...
 
Bool_t fUseNewCentralityEstimation
 Use new centrality estimation (for 2015 data) More...
 
Bool_t fGeneratePythiaInfoObject
 Generate Pythia info object. More...
 
Bool_t fUsePtHardBinScaling
 Use \( p_{t}\)-hard bin scaling in merging. More...
 
Bool_t fUseXsecFromHeader
 ! Use cross section from header instead of pyxsec.root (purely transient) More...
 
Bool_t fMCRejectFilter
 enable the filtering of events by tail rejection More...
 
Bool_t fCountDownscaleCorrectedEvents
 Count event number corrected for downscaling. More...
 
Float_t fPtHardAndJetPtFactor
 Factor between ptHard and jet pT to reject/accept event. More...
 
Float_t fPtHardAndClusterPtFactor
 Factor between ptHard and cluster pT to reject/accept event. More...
 
Float_t fPtHardAndTrackPtFactor
 Factor between ptHard and track pT to reject/accept event. More...
 
Int_t fRunNumber
 !run number (triggering RunChanged() More...
 
AliAnalysisUtils * fAliAnalysisUtils
 !vertex selection (optional) More...
 
Bool_t fIsEsd
 !whether it's an ESD analysis More...
 
AliEMCALGeometry * fGeom
 !emcal geometry More...
 
TClonesArray * fTracks
 !tracks More...
 
TClonesArray * fCaloClusters
 !clusters More...
 
AliVCaloCells * fCaloCells
 !cells More...
 
AliVCaloTrigger * fCaloTriggers
 !calo triggers More...
 
TClonesArray * fTriggerPatchInfo
 !trigger patch info array More...
 
Double_t fCent
 !event centrality More...
 
Int_t fCentBin
 !event centrality bin More...
 
Double_t fEPV0
 !event plane V0 More...
 
Double_t fEPV0A
 !event plane V0A More...
 
Double_t fEPV0C
 !event plane V0C More...
 
Double_t fVertex [3]
 !event vertex More...
 
Double_t fVertexSPD [3]
 !event Svertex More...
 
Int_t fNVertCont
 !event vertex number of contributors More...
 
Int_t fNVertSPDCont
 !event SPD vertex number of contributors More...
 
BeamType fBeamType
 !event beam type More...
 
AliGenPythiaEventHeader * fPythiaHeader
 !event Pythia header More...
 
AliGenHerwigEventHeader * fHerwigHeader
 !event Herwig header More...
 
Double_t fPtHard
 !event \( p_{t}\)-hard More...
 
Int_t fPtHardBin
 !event \( p_{t}\)-hard bin More...
 
Int_t fNPtHardBins
 Number of \( p_{t}\)-hard bins in the dataset. More...
 
TArrayI fPtHardBinning
 \( p_{t}\)-hard binning More...
 
Int_t fNTrials
 !event trials More...
 
Float_t fXsection
 !x-section from pythia header More...
 
AliEmcalPythiaInfofPythiaInfo
 !event parton info More...
 
AliEmcalListfOutput
 !output list More...
 
TH1fHistEventCount
 !incoming and selected events More...
 
TH1fHistTrialsAfterSel
 !total number of trials per pt hard bin after selection More...
 
TH1fHistEventsAfterSel
 !total number of events per pt hard bin after selection More...
 
TProfile * fHistXsectionAfterSel
 !x section from pythia header More...
 
TH1fHistTrials
 !trials from pyxsec.root More...
 
TH1fHistEvents
 !total number of events per pt hard bin More...
 
TProfile * fHistXsection
 !x section from pyxsec.root More...
 
TH1fHistPtHard
 !pt hard distribution More...
 
TH1fHistCentrality
 !event centrality distribution More...
 
TH1fHistZVertex
 !z vertex position More...
 
TH1fHistEventPlane
 !event plane distribution More...
 
TH1fHistEventRejection
 !book keep reasons for rejecting event More...
 
TH1fHistTriggerClasses
 !number of events in each trigger class More...
 
TH1fHistTriggerClassesCorr
 !corrected number of events in each trigger class More...
 

Static Protected Attributes

static const TString fgkTriggerTypeNames [5] = {"EJE", "EGA", "EL0", "REJE", "REGA"}
 Histogram name tags. More...
 
static const int kColsEta = 48
 Number of columns in eta direction. More...
 
- Static Protected Attributes inherited from AliAnalysisTaskEmcal
static Double_t fgkEMCalDCalPhiDivide = 4.
 phi value used to distinguish between DCal and EMCal More...
 

Private Member Functions

 AliEmcalTriggerMaker (const AliEmcalTriggerMaker &)
 
AliEmcalTriggerMakeroperator= (const AliEmcalTriggerMaker &)
 

Additional Inherited Members

- Static Public Member Functions inherited from AliAnalysisTaskEmcal
static AliAODInputHandler * AddAODHandler ()
 
static AliESDInputHandler * AddESDHandler ()
 
- Static Protected Member Functions inherited from AliAnalysisTaskEmcal
static void GetEtaPhiDiff (const AliVTrack *t, const AliVCluster *v, Double_t &phidiff, Double_t &etadiff)
 
static Byte_t GetTrackType (const AliVTrack *t)
 
static Byte_t GetTrackType (const AliAODTrack *aodTrack, UInt_t filterBit1, UInt_t filterBit2)
 
static Double_t DeltaPhi (Double_t phia, Double_t phib, Double_t rMin=-TMath::Pi()/2, Double_t rMax=3 *TMath::Pi()/2)
 
static Double_tGenerateFixedBinArray (Int_t n, Double_t min, Double_t max)
 
static void GenerateFixedBinArray (Int_t n, Double_t min, Double_t max, Double_t *array)
 
static Double_t GetParallelFraction (AliVParticle *part1, AliVParticle *part2)
 
static Double_t GetParallelFraction (const TVector3 &vect1, AliVParticle *part2)
 

Detailed Description

EMCAL trigger patch maker.

This class creates EMCAL trigger patches found in reconstructed events. Two methods can be applied.

  1. Trigger patches can be created from reconstructed online trigger patch information using the online TRU amplitude.
  2. A simple offline trigger estimates a TRU amplitude from calibrated EMCAL cells, and runs the same trigger algorithm on the offline estimated amplitudes.

For reconstructed trigger patches, an object AliEmcalTriggerPatchInfo which stores all relevant information of the trigger patch is created and stored in a TClonesArray. This TClonesArray is appended to the ESD or AOD event, and can be retrieved in other analysis tasks in the same train by the container name, defined in the function SetCaloTriggerOutName.

Definition at line 61 of file AliEmcalTriggerMaker.h.

Member Enumeration Documentation

Enumerator
kOldConfig 

Old configuration, no distinction between high and low threshold.

kNewConfig 

New configuration, distiction between high and low threshold.

Definition at line 101 of file AliEmcalTriggerMaker.h.

Enumerator
kRecalcBitmask 

Bitmask for Offline simple patches.

kOfflineBitmask 

Bitmask for recalc patches.

Definition at line 88 of file AliEmcalTriggerMaker.h.

Enumerator
kMainTriggerBitNum 

Trigger bit indicating the main (highest energy) trigger patch of a given type per event.

kRecalcOffset 
kOfflineOffset 

Definition at line 82 of file AliEmcalTriggerMaker.h.

Enumerator
kTMOnline 
kTMOffline 
kTMRecalc 

Definition at line 77 of file AliEmcalTriggerMaker.h.

Definition of different trigger patch types.

This enumeration defines the different trigger patch types processed by the trigger maker. Each trigger patch type has a certain patch size and therefore a certain length and geometric center

Enumerator
kTMEMCalJet 

EMCAL Jet trigger.

kTMEMCalGamma 

EMCAL Gamma trigger.

kTMEMCalLevel0 

EMCAL Level0 patches.

Definition at line 72 of file AliEmcalTriggerMaker.h.

Constructor & Destructor Documentation

AliEmcalTriggerMaker::AliEmcalTriggerMaker ( )

Dummy constructor

Definition at line 51 of file AliEmcalTriggerMaker.cxx.

AliEmcalTriggerMaker::AliEmcalTriggerMaker ( const char *  name,
Bool_t  doQA = kFALSE 
)

Named constructor.

Parameters
nameName of the trigger maker task
doQASwitch on/off QA

Definition at line 80 of file AliEmcalTriggerMaker.cxx.

AliEmcalTriggerMaker::~AliEmcalTriggerMaker ( )
virtual

Destructor

Definition at line 108 of file AliEmcalTriggerMaker.cxx.

AliEmcalTriggerMaker::AliEmcalTriggerMaker ( const AliEmcalTriggerMaker )
private

Member Function Documentation

void AliEmcalTriggerMaker::AddHotFastor ( int  col,
int  row 
)
inline

Definition at line 119 of file AliEmcalTriggerMaker.h.

Bool_t AliEmcalTriggerMaker::CheckForL0 ( const AliVCaloTrigger &  trg) const
protected

Accept trigger patch as Level0 patch. Level0 patches are identified as 2x2 FASTOR patches in the same TRU

Parameters
trgTriggers object with the pointer set to the patch to inspect
Returns
True if the patch is accepted, false otherwise.

Definition at line 1127 of file AliEmcalTriggerMaker.cxx.

Referenced by ProcessPatch().

void AliEmcalTriggerMaker::ExecOnce ( )
protectedvirtual

Init the analysis.

Reimplemented from AliAnalysisTaskEmcal.

Definition at line 116 of file AliEmcalTriggerMaker.cxx.

Bool_t AliEmcalTriggerMaker::IsEGA ( Int_t  tBits) const
inline

Check whether trigger is gamma patch trigger according to trigger bits

Parameters
[in]tBitsTrigger bits of the fastor
Returns
True if fastor belongs to a gamma trigger, false otherwise

Definition at line 197 of file AliEmcalTriggerMaker.h.

Referenced by ProcessPatch().

Bool_t AliEmcalTriggerMaker::IsEJE ( Int_t  tBits) const
inline

Check whehter trigger is jet patch trigger according to trigger bits

Parameters
[in]tBitsTrigger bits of the fastor
Returns
True if fastor belongs to a jet patch trigger, false otherwise

Definition at line 185 of file AliEmcalTriggerMaker.h.

Referenced by ProcessPatch().

Bool_t AliEmcalTriggerMaker::IsLevel0 ( Int_t  tBits) const
inline

Check whether trigger is level0 trigger according to trigger bits

Parameters
[in]tBitsTrigger bits of the fastor
Returns
True if fastor belongs to a level0 trigger, false otherwise

Definition at line 209 of file AliEmcalTriggerMaker.h.

Bool_t AliEmcalTriggerMaker::IsOfflineSimple ( Int_t  tBits) const
inline

Identify offline simple patches based on the offline bitmask (bits 24 - 31)

Parameters
[in]tBitsTrigger bits to check
Returns
True if trigger bits contain offline simple bits

Definition at line 220 of file AliEmcalTriggerMaker.h.

Referenced by ProcessPatch().

Bool_t AliEmcalTriggerMaker::IsRecalc ( Int_t  tBits) const
inline

Identify recalc patches based on the recalc bitmask (bits 16 - 23)

Parameters
[in]tBitsTrigger bits to check
Returns
True if trigger bits contain recalc bits

Definition at line 229 of file AliEmcalTriggerMaker.h.

Referenced by ProcessPatch().

Bool_t AliEmcalTriggerMaker::NextTrigger ( Bool_t isOfflineSimple)
protected

Get next trigger. Forwards the pointer of the trigger object inside the trigger maker

Parameters
isOfflineSimpleSwitch between online and ofline patches
Returns
True if successful, false otherwise

Definition at line 1109 of file AliEmcalTriggerMaker.cxx.

Referenced by Run().

AliEmcalTriggerMaker& AliEmcalTriggerMaker::operator= ( const AliEmcalTriggerMaker )
private
AliEMCALTriggerPatchInfo * AliEmcalTriggerMaker::ProcessPatch ( TriggerMakerTriggerType_t  type,
TriggerMakerPatchSource_t  patchSource 
)
protected

Process and fill trigger patch. check if jet trigger low or high

Parameters
typeType of the patch (Jet, gamma, Level0)
isOfflineSimpleSwitch between online and offline patches
Returns
The new patch (NULL in case of failure)

Definition at line 494 of file AliEmcalTriggerMaker.cxx.

Referenced by Run().

Bool_t AliEmcalTriggerMaker::Run ( )
protectedvirtual

Create and fill the patch array.

Returns
Always true.

Reimplemented from AliAnalysisTaskEmcal.

Definition at line 215 of file AliEmcalTriggerMaker.cxx.

void AliEmcalTriggerMaker::RunSimpleOfflineTrigger ( )
protected

Runs a simple algorithm to calculate patch energies based on the offline/FEE ADC values (useOffline = kTRUE) or the online/trigger values (useOffline = kFALSE.

It creates separate patches for jet and gamma triggers on the same positions (different from STU reconstruction behavior)

Definition at line 825 of file AliEmcalTriggerMaker.cxx.

Referenced by Run().

void AliEmcalTriggerMaker::SetCaloTriggerSetupOutName ( const char *  name)
inline

Definition at line 112 of file AliEmcalTriggerMaker.h.

void AliEmcalTriggerMaker::SetCaloTriggersOutName ( const char *  name)
inline

Definition at line 111 of file AliEmcalTriggerMaker.h.

void AliEmcalTriggerMaker::SetDebugLevel ( Int_t  debugLevel)
inline

Definition at line 117 of file AliEmcalTriggerMaker.h.

void AliEmcalTriggerMaker::SetRejectOffAcceptancePatches ( Bool_t  doReject = kTRUE)
inline

Switch on rejection of patches which leave the EMCAL acceptance in \( \eta \) and \( \phi \)

Parameters
doRejectIf true we reject patches outside the EMCAL acceptance

Definition at line 128 of file AliEmcalTriggerMaker.h.

void AliEmcalTriggerMaker::SetRunQA ( Bool_t  doQA = kTRUE)
inline

Definition at line 110 of file AliEmcalTriggerMaker.h.

void AliEmcalTriggerMaker::SetTriggerBitConfig ( const AliEMCALTriggerBitConfig *  conf)
inline

Definition at line 122 of file AliEmcalTriggerMaker.h.

void AliEmcalTriggerMaker::SetTriggerThresholdGammaHigh ( Int_t  a,
Int_t  b,
Int_t  c 
)
inline

Definition at line 116 of file AliEmcalTriggerMaker.h.

void AliEmcalTriggerMaker::SetTriggerThresholdGammaLow ( Int_t  a,
Int_t  b,
Int_t  c 
)
inline

Definition at line 115 of file AliEmcalTriggerMaker.h.

void AliEmcalTriggerMaker::SetTriggerThresholdJetHigh ( Int_t  a,
Int_t  b,
Int_t  c 
)
inline

Definition at line 114 of file AliEmcalTriggerMaker.h.

void AliEmcalTriggerMaker::SetTriggerThresholdJetLow ( Int_t  a,
Int_t  b,
Int_t  c 
)
inline

Definition at line 113 of file AliEmcalTriggerMaker.h.

void AliEmcalTriggerMaker::SetUseTriggerBitConfig ( TriggerMakerBitConfig_t  bitConfig)
inline

Definition at line 121 of file AliEmcalTriggerMaker.h.

void AliEmcalTriggerMaker::SetV0InName ( const char *  name)
inline

Definition at line 118 of file AliEmcalTriggerMaker.h.

void AliEmcalTriggerMaker::UserCreateOutputObjects ( )
protected

Do basic QA monitoring (if requested)

Definition at line 183 of file AliEmcalTriggerMaker.cxx.

Member Data Documentation

AliEMCALTriggerChannelContainer AliEmcalTriggerMaker::fBadChannels
protected

Container of bad channels.

Definition at line 149 of file AliEmcalTriggerMaker.h.

Referenced by AddHotFastor(), and Run().

AliEmcalTriggerSetupInfo* AliEmcalTriggerMaker::fCaloTriggerSetupOut
protected

! trigger setup

Definition at line 157 of file AliEmcalTriggerMaker.h.

Referenced by ExecOnce(), Run(), and RunSimpleOfflineTrigger().

TString AliEmcalTriggerMaker::fCaloTriggerSetupOutName
protected

name of output track array

Definition at line 151 of file AliEmcalTriggerMaker.h.

Referenced by ExecOnce(), and SetCaloTriggerSetupOutName().

TClonesArray* AliEmcalTriggerMaker::fCaloTriggersOut
protected

! trigger array out

Definition at line 156 of file AliEmcalTriggerMaker.h.

Referenced by ExecOnce(), and Run().

TString AliEmcalTriggerMaker::fCaloTriggersOutName
protected

name of output track array

Definition at line 150 of file AliEmcalTriggerMaker.h.

Referenced by ExecOnce(), and SetCaloTriggersOutName().

Int_t AliEmcalTriggerMaker::fDebugLevel
protected

Debug lebel;.

Definition at line 169 of file AliEmcalTriggerMaker.h.

Referenced by ProcessPatch(), and SetDebugLevel().

Bool_t AliEmcalTriggerMaker::fDoQA
protected

Fill QA histograms.

Definition at line 165 of file AliEmcalTriggerMaker.h.

Referenced by ProcessPatch(), SetRunQA(), and UserCreateOutputObjects().

const TString AliEmcalTriggerMaker::fgkTriggerTypeNames = {"EJE", "EGA", "EL0", "REJE", "REGA"}
staticprotected

Histogram name tags.

Definition at line 138 of file AliEmcalTriggerMaker.h.

Referenced by ProcessPatch(), and UserCreateOutputObjects().

Int_t AliEmcalTriggerMaker::fITrigger
protected

! trigger counter

Definition at line 164 of file AliEmcalTriggerMaker.h.

Referenced by ProcessPatch(), and Run().

AliEMCALTriggerDataGrid<char>* AliEmcalTriggerMaker::fLevel0TimeMap
protected

! Map needed to store the level0 times

Definition at line 163 of file AliEmcalTriggerMaker.h.

Referenced by ExecOnce(), Run(), and UserCreateOutputObjects().

AliEMCALTriggerDataGrid<int>* AliEmcalTriggerMaker::fPatchADC
protected

! ADC values map

Definition at line 162 of file AliEmcalTriggerMaker.h.

Referenced by ExecOnce(), Run(), and UserCreateOutputObjects().

AliEMCALTriggerDataGrid<double>* AliEmcalTriggerMaker::fPatchADCSimple
protected

! patch map for simple offline trigger

Definition at line 161 of file AliEmcalTriggerMaker.h.

Referenced by ExecOnce(), Run(), and UserCreateOutputObjects().

AliEMCALTriggerDataGrid<float>* AliEmcalTriggerMaker::fPatchAmplitudes
protected

! TRU Amplitudes (for L0)

Definition at line 160 of file AliEmcalTriggerMaker.h.

Referenced by ExecOnce(), Run(), and UserCreateOutputObjects().

THistManager* AliEmcalTriggerMaker::fQAHistos
protected

! Histograms for QA

Definition at line 167 of file AliEmcalTriggerMaker.h.

Referenced by ProcessPatch(), and UserCreateOutputObjects().

Bool_t AliEmcalTriggerMaker::fRejectOffAcceptancePatches
protected

Switch for rejection of patches outside the acceptance.

Definition at line 166 of file AliEmcalTriggerMaker.h.

Referenced by ProcessPatch(), and SetRejectOffAcceptancePatches().

AliAODCaloTrigger* AliEmcalTriggerMaker::fSimpleOfflineTriggers
protected

! simple offline trigger

Definition at line 158 of file AliEmcalTriggerMaker.h.

Referenced by ExecOnce(), NextTrigger(), ProcessPatch(), Run(), and RunSimpleOfflineTrigger().

Int_t AliEmcalTriggerMaker::fThresholdConstants[4][3]
protected
const AliEMCALTriggerBitConfig* AliEmcalTriggerMaker::fTriggerBitConfig
protected

Trigger bit configuration, aliroot-dependent.

Definition at line 155 of file AliEmcalTriggerMaker.h.

Referenced by ExecOnce(), IsEGA(), IsEJE(), IsLevel0(), ProcessPatch(), RunSimpleOfflineTrigger(), SetTriggerBitConfig(), and ~AliEmcalTriggerMaker().

TriggerMakerBitConfig_t AliEmcalTriggerMaker::fUseTriggerBitConfig
protected

type of trigger config

Definition at line 153 of file AliEmcalTriggerMaker.h.

Referenced by ExecOnce(), and SetUseTriggerBitConfig().

AliVVZERO* AliEmcalTriggerMaker::fV0
protected

! V0 object

Definition at line 159 of file AliEmcalTriggerMaker.h.

Referenced by ExecOnce(), and Run().

TString AliEmcalTriggerMaker::fV0InName
protected

name of output track array

Definition at line 152 of file AliEmcalTriggerMaker.h.

Referenced by ExecOnce(), Run(), and SetV0InName().

const int AliEmcalTriggerMaker::kColsEta = 48
staticprotected

Number of columns in eta direction.

Definition at line 139 of file AliEmcalTriggerMaker.h.

Referenced by CheckForL0(), and ProcessPatch().


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