AliRoot Core  edcc906 (edcc906)
AliEMCALTriggerPatchInfo Class Reference

Main data structure storing all relevant information of EMCAL/DCAL trigger patches. More...

#include <AliEMCALTriggerPatchInfo.h>

Inheritance diagram for AliEMCALTriggerPatchInfo:

Public Types

enum  { kRecalcOffset = 16, kOfflineOffset = 24 }
 
enum  CaloDetectorType_t { kEMCALdet = 0, kDCALPHOSdet = 1 }
 

Public Member Functions

 AliEMCALTriggerPatchInfo ()
 
 AliEMCALTriggerPatchInfo (const AliEMCALTriggerPatchInfo &p)
 
AliEMCALTriggerPatchInfooperator= (const AliEMCALTriggerPatchInfo &p)
 
virtual ~AliEMCALTriggerPatchInfo ()
 
void Reset ()
 
void Initialize (UChar_t col0, UChar_t row0, UChar_t size, UInt_t adc, UInt_t offlineAdc, Double_t patchE, UInt_t bitmask, const TVector3 &vertex, const AliEMCALGeometry *geom)
 
void Initialize (UChar_t col0, UChar_t row0, UChar_t size, UInt_t adc, UInt_t offlineAdc, UInt_t bitmask, const AliEMCALGeometry *geom)
 
void RecalculateKinematics (Double_t patchE, const TVector3 &vertex, const AliEMCALGeometry *geom)
 
Double_t GetPhiGeo () const
 
Double_t GetPhiCM () const
 
Double_t GetPhiMin () const
 
Double_t GetPhiMax () const
 
Double_t GetEtaGeo () const
 
Double_t GetEtaCM () const
 
Double_t GetEtaMin () const
 
Double_t GetEtaMax () const
 
Double_t GetPatchE () const
 
Double_t GetSmearedEnergy () const
 
Int_t GetADCAmp () const
 
Int_t GetADCOfflineAmp () const
 
Double_t GetADCAmpGeVRough () const
 
Int_t GetTriggerBits () const
 
Int_t GetEdgeCellX () const
 
Int_t GetEdgeCellY () const
 
void GetCellIndices (AliEMCALGeometry *geom, TArrayI *cells)
 
Double_t GetPatchET () const
 
Double_t GetPatchETfromADCAmp () const
 
Int_t GetRowStart () const
 
Int_t GetColStart () const
 
Bool_t IsLevel0 () const
 
Bool_t IsJetLow () const
 
Bool_t IsJetHigh () const
 
Bool_t IsGammaLow () const
 
Bool_t IsGammaHigh () const
 
Bool_t IsBkg () const
 
Bool_t IsMainTrigger () const
 
Bool_t IsLevel0Simple () const
 
Bool_t IsJetLowSimple () const
 
Bool_t IsJetHighSimple () const
 
Bool_t IsGammaLowSimple () const
 
Bool_t IsGammaHighSimple () const
 
Bool_t IsBkgSimple () const
 
Bool_t IsLevel0Recalc () const
 
Bool_t IsJetLowRecalc () const
 
Bool_t IsJetHighRecalc () const
 
Bool_t IsGammaLowRecalc () const
 
Bool_t IsGammaHighRecalc () const
 
Bool_t IsBkgRecalc () const
 
Bool_t IsMainTriggerSimple () const
 
Bool_t IsOfflineSimple () const
 
Bool_t IsRecalc () const
 
Bool_t IsOnline () const
 
const TLorentzVector & GetLorentzVectorCM () const
 
const TLorentzVector & GetLorentzVectorCenterGeo () const
 
const TLorentzVector & GetLorentzVectorEdge1 () const
 
const TLorentzVector & GetLorentzVectorEdge2 () const
 
Bool_t IsRecalcJet () const
 
Bool_t IsRecalcGamma () const
 
Bool_t IsEMCal () const
 
Bool_t IsDCalPHOS () const
 
CaloDetectorType_t GetDetectorType () const
 
Bool_t TestTriggerBit (UInt_t bitnumber) const
 
UChar_t GetPatchSize () const
 
void SetRowStart (int row0)
 
void SetCol0 (int col0)
 
void SetCenterGeo (const TVector3 &v, Double_t e)
 
void SetCenterGeo (const TLorentzVector &v)
 
void SetCenterMass (const TLorentzVector &v)
 
void SetCenterMass (const TVector3 &v, Double_t e)
 
void SetEdge1 (const TLorentzVector &v)
 
void SetEdge1 (const TVector3 &v, Double_t e)
 
void SetEdge2 (const TLorentzVector &v)
 
void SetEdge2 (const TVector3 &v, Double_t e)
 
void SetADCAmp (Int_t a)
 
void SetADCOfflineAmp (Int_t a)
 
void SetSmearedEnergy (Double_t e)
 
void SetEdgeCell (Int_t x, Int_t y)
 
void SetOfflineSimple ()
 
void SetLorentzVector (TLorentzVector &lv, const TVector3 &v, Double_t e)
 
void SetTriggerBits (Int_t i)
 
void SetDetectorType (CaloDetectorType_t t)
 
void SetOffSet (Int_t i)
 
void SetTriggerBitConfig (const AliEMCALTriggerBitConfig *ref)
 
const AliEMCALTriggerBitConfigGetTriggerBitConfig () const
 

Static Public Member Functions

static AliEMCALTriggerPatchInfoCreateAndInitialize (UChar_t col0, UChar_t row0, UChar_t size, UInt_t adc, UInt_t offlineAdc, Double_t patchE, UInt_t bitmask, const TVector3 &vertex, const AliEMCALGeometry *geom)
 
static AliEMCALTriggerPatchInfoCreateAndInitialize (UChar_t col0, UChar_t row0, UChar_t size, UInt_t adc, UInt_t offlineAdc, UInt_t bitmask, const AliEMCALGeometry *geom)
 

Protected Member Functions

Double_t GetPhiTransform (Double_t phiin) const
 
Double_t GetET (Double_t energy) const
 

Protected Attributes

TLorentzVector fCenterGeo
 geometrical center More...
 
TLorentzVector fCenterMass
 CM. More...
 
TLorentzVector fEdge1
 max eta/ min phi edge More...
 
TLorentzVector fEdge2
 min eta/ max phi edge More...
 
Int_t fADCAmp
 online (trigger) ADC amplitude More...
 
Int_t fADCOfflineAmp
 offline (FEE) ADC amplitude More...
 
Double_t fEnergySmeared
 Smeared patch energy. More...
 
Int_t fTriggerBits
 trigger bit mask, see definitions in AliEMCALTriggerType and TriggerMakerBits_t (above) More...
 
Int_t fEdgeCell [2]
 cell "bottom lower" edge (min phi, max eta) More...
 
Int_t fOffSet
 offset of bit (different in data and MC) More...
 
Int_t fCol0
 Start column. More...
 
Int_t fRow0
 Start row. More...
 
UChar_t fPatchSize
 Trigger patch size. More...
 
CaloDetectorType_t fDetectorType
 Detector type (EMCal or DCal/PHOS) More...
 
AliEMCALTriggerBitConfig fTriggerBitConfig
 Trigger bit configuration. More...
 

Detailed Description

Main data structure storing all relevant information of EMCAL/DCAL trigger patches.

Author
Jiri Kral <>, University of Jyv&aumlskul&auml
Markus Fasel marku.nosp@m.s.fa.nosp@m.sel@c.nosp@m.ern..nosp@m.ch, Oak Ridge National Laboratory
Date
Jun 26, 2013

Emcal trigger patch information class Can contain three types of information, distinguished by the various bits in the bit field:

  1. online trigger information (no extra bits set)
  2. offline recalculated trigger patches (bit 25, kSimpleOfflineTriggerBit set)
  3. highest patch energy, also for events that did not fire the trigger (bits 22, 23 kRecalc... (using both online and offline info, use bit 25 to distinguish)

Definition at line 32 of file AliEMCALTriggerPatchInfo.h.

Member Enumeration Documentation

anonymous enum
Enumerator
kRecalcOffset 
kOfflineOffset 

Definition at line 35 of file AliEMCALTriggerPatchInfo.h.

Enumerator
kEMCALdet 
kDCALPHOSdet 

Definition at line 40 of file AliEMCALTriggerPatchInfo.h.

Constructor & Destructor Documentation

AliEMCALTriggerPatchInfo::AliEMCALTriggerPatchInfo ( )

Default constructor

Definition at line 25 of file AliEMCALTriggerPatchInfo.cxx.

Referenced by CreateAndInitialize(), operator=(), and Reset().

AliEMCALTriggerPatchInfo::AliEMCALTriggerPatchInfo ( const AliEMCALTriggerPatchInfo p)

Copy constructor

Parameters
pReference for the copy

Definition at line 46 of file AliEMCALTriggerPatchInfo.cxx.

AliEMCALTriggerPatchInfo::~AliEMCALTriggerPatchInfo ( )
virtual

Destructor

Definition at line 68 of file AliEMCALTriggerPatchInfo.cxx.

Member Function Documentation

AliEMCALTriggerPatchInfo * AliEMCALTriggerPatchInfo::CreateAndInitialize ( UChar_t  col0,
UChar_t  row0,
UChar_t  size,
UInt_t  adc,
UInt_t  offlineAdc,
Double_t  patchE,
UInt_t  bitmask,
const TVector3 &  vertex,
const AliEMCALGeometry geom 
)
static

Allocate a new AliEMCALTriggerPatchInfo object and initialize it

Parameters
col0Start column of the patch
row0Start row of the patch
sizeSize of the patch
adcADC signal of the patch
offlineAdcOffline ADC signal of the patch
patchEEnergy of the patch (sum of cell amplitudes)
bitmaskTrigger bit mask of the patch
vertexPrimary vertex of the event
geomPointer to the EMCal geometry object
Returns
Pointer to a new and initialized AliEMCALTriggerPatchInfo object (caller is responsible for releasing memory)

Definition at line 135 of file AliEMCALTriggerPatchInfo.cxx.

AliEMCALTriggerPatchInfo * AliEMCALTriggerPatchInfo::CreateAndInitialize ( UChar_t  col0,
UChar_t  row0,
UChar_t  size,
UInt_t  adc,
UInt_t  offlineAdc,
UInt_t  bitmask,
const AliEMCALGeometry geom 
)
static

Allocate a new AliEMCALTriggerPatchInfo object and initialize it

Parameters
col0Start column of the patch
row0Start row of the patch
sizeSize of the patch
adcADC signal of the patch
offlineAdcOffline ADC signal of the patch
bitmaskTrigger bit mask of the patch
geomPointer to the EMCal geometry object
Returns
Pointer to a new and initialized AliEMCALTriggerPatchInfo object (caller is responsible for releasing memory)

Definition at line 142 of file AliEMCALTriggerPatchInfo.cxx.

Int_t AliEMCALTriggerPatchInfo::GetADCAmp ( ) const
inline
Double_t AliEMCALTriggerPatchInfo::GetADCAmpGeVRough ( ) const
inline

Get patch energy estimated from offline ADC amplitude converted into energya

Returns
Patch energy estimate

Definition at line 216 of file AliEMCALTriggerPatchInfo.h.

Referenced by GetPatchETfromADCAmp().

Int_t AliEMCALTriggerPatchInfo::GetADCOfflineAmp ( ) const
inline

Get patch offline ADC amplitude (obtained from calibrated cell energies converted into ADC signals)

Returns
Offline patch amplitude

Definition at line 210 of file AliEMCALTriggerPatchInfo.h.

Referenced by AliEMCALTriggerQA::GetAmplitude(), AliEMCALTriggerOnlineQAPbPb::ProcessBkgPatch(), AliEMCALTriggerOnlineQAPbPb::ProcessPatch(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().

void AliEMCALTriggerPatchInfo::GetCellIndices ( AliEMCALGeometry geom,
TArrayI *  cells 
)

Return cell indices of the given patch in the cell array

Parameters
geomEMCAL Geometry used in the run where the trigger patch was created from
cellsOutput array of cell indices corresponding to the given trigger patch

Definition at line 230 of file AliEMCALTriggerPatchInfo.cxx.

Referenced by GetEdgeCellY().

Int_t AliEMCALTriggerPatchInfo::GetColStart ( ) const
inline

Get the starting column of the patch

Returns
Starting column of the patch

Definition at line 265 of file AliEMCALTriggerPatchInfo.h.

Referenced by AliEMCALTriggerOnlineQAPbPb::ProcessBkgPatch(), AliEMCALTriggerOnlineQAPbPb::ProcessPatch(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().

CaloDetectorType_t AliEMCALTriggerPatchInfo::GetDetectorType ( ) const
inline
Returns
Detector in which the patch is located (EMCal or DCal/PHOS)

Definition at line 457 of file AliEMCALTriggerPatchInfo.h.

Int_t AliEMCALTriggerPatchInfo::GetEdgeCellX ( ) const
inline

Get X position of the edge cell

Returns
Cell x-position

Definition at line 228 of file AliEMCALTriggerPatchInfo.h.

Referenced by GetCellIndices().

Int_t AliEMCALTriggerPatchInfo::GetEdgeCellY ( ) const
inline

Get Y position of the edge cell

Returns
Cell y-position

Definition at line 234 of file AliEMCALTriggerPatchInfo.h.

Referenced by GetCellIndices().

Double_t AliEMCALTriggerPatchInfo::GetET ( Double_t  energy) const
protected
Double_t AliEMCALTriggerPatchInfo::GetEtaCM ( ) const
inline

Get \( \eta \) of the patch at the center of mass

Returns
Patch \( \eta \)

Definition at line 171 of file AliEMCALTriggerPatchInfo.h.

Referenced by AliEMCALTriggerOnlineQAPbPb::ProcessBkgPatch(), and AliEMCALTriggerOnlineQAPbPb::ProcessPatch().

Double_t AliEMCALTriggerPatchInfo::GetEtaGeo ( ) const
inline

Get \( \eta \) of the patch at the geometrical center

Returns
Patch \( \eta \)

Definition at line 165 of file AliEMCALTriggerPatchInfo.h.

Referenced by AliEMCALTriggerOnlineQAPbPb::ProcessBkgPatch(), and AliEMCALTriggerOnlineQAPbPb::ProcessPatch().

Double_t AliEMCALTriggerPatchInfo::GetEtaMax ( ) const
inline

Get maximum \( \eta \) of the patch

Returns
Patch \( \eta \)

Definition at line 183 of file AliEMCALTriggerPatchInfo.h.

Double_t AliEMCALTriggerPatchInfo::GetEtaMin ( ) const
inline

Get minimum \( \eta \) of the patch

Returns
Patch \( \eta \)

Definition at line 177 of file AliEMCALTriggerPatchInfo.h.

const TLorentzVector& AliEMCALTriggerPatchInfo::GetLorentzVectorCenterGeo ( ) const
inline

Access to Lorentz Vector of the geometrical centre of the trigger patch

Returns
Lorentz Vector of the geometrical centre of the trigger patch

Definition at line 415 of file AliEMCALTriggerPatchInfo.h.

const TLorentzVector& AliEMCALTriggerPatchInfo::GetLorentzVectorCM ( ) const
inline

Access to Lorentz Vector of the centre-of-mass of the trigger patch

Returns
Lorentz Vector of the centre-of-mass of the trigger patch

Definition at line 409 of file AliEMCALTriggerPatchInfo.h.

const TLorentzVector& AliEMCALTriggerPatchInfo::GetLorentzVectorEdge1 ( ) const
inline

Access to Lorentz Vector of the lower left edge of the trigger patch

Returns
Lorentz Vector of the lower left edge of the trigger patch

Definition at line 421 of file AliEMCALTriggerPatchInfo.h.

const TLorentzVector& AliEMCALTriggerPatchInfo::GetLorentzVectorEdge2 ( ) const
inline

Access to Lorentz Vector of the upper right edge of the trigger patch

Returns
Lorentz Vector of the upper right edge of the trigger patch

Definition at line 427 of file AliEMCALTriggerPatchInfo.h.

Double_t AliEMCALTriggerPatchInfo::GetPatchE ( ) const
inline

Get the patch energy

Returns
Patch energy

Definition at line 189 of file AliEMCALTriggerPatchInfo.h.

Referenced by GetPatchET(), AliEMCALTriggerOnlineQAPbPb::ProcessBkgPatch(), and AliEMCALTriggerOnlineQAPbPb::ProcessPatch().

Double_t AliEMCALTriggerPatchInfo::GetPatchET ( ) const
inline

Get the transverse energy of the patch

Returns
Transverse energy of the patch

Definition at line 247 of file AliEMCALTriggerPatchInfo.h.

Double_t AliEMCALTriggerPatchInfo::GetPatchETfromADCAmp ( ) const
inline

Get the online transverse energy of the patch

Returns
online transverse energy of the patch

Definition at line 253 of file AliEMCALTriggerPatchInfo.h.

UChar_t AliEMCALTriggerPatchInfo::GetPatchSize ( ) const
inline

Returns the patch size

Returns
patch size

Definition at line 470 of file AliEMCALTriggerPatchInfo.h.

Referenced by AliEMCALTriggerOnlineQAPbPb::ProcessBkgPatch(), and AliEMCALTriggerOnlineQAPbPb::ProcessPatch().

Double_t AliEMCALTriggerPatchInfo::GetPhiCM ( ) const
inline

Access \( \phi \) angle of the patch at the center of mass

Returns
\( \phi \) angle

Definition at line 147 of file AliEMCALTriggerPatchInfo.h.

Referenced by AliEMCALTriggerOnlineQAPbPb::ProcessBkgPatch(), and AliEMCALTriggerOnlineQAPbPb::ProcessPatch().

Double_t AliEMCALTriggerPatchInfo::GetPhiGeo ( ) const
inline

Access \( \phi \) angle of the geometric center of the trigger patch

Returns
\( \phi \) angle

Definition at line 141 of file AliEMCALTriggerPatchInfo.h.

Referenced by AliEMCALTriggerOnlineQAPbPb::ProcessBkgPatch(), and AliEMCALTriggerOnlineQAPbPb::ProcessPatch().

Double_t AliEMCALTriggerPatchInfo::GetPhiMax ( ) const
inline

Get maximal \( \phi \) of the patch

Returns
\( \phi \) angle

Definition at line 159 of file AliEMCALTriggerPatchInfo.h.

Double_t AliEMCALTriggerPatchInfo::GetPhiMin ( ) const
inline

Get minimal \( \phi \) of the patch

Returns
\( \phi \) angle

Definition at line 153 of file AliEMCALTriggerPatchInfo.h.

Double_t AliEMCALTriggerPatchInfo::GetPhiTransform ( Double_t  phiin) const
protected
Int_t AliEMCALTriggerPatchInfo::GetRowStart ( ) const
inline

Get the starting row of the patch

Returns
Starting row of the patch

Definition at line 259 of file AliEMCALTriggerPatchInfo.h.

Referenced by AliEMCALTriggerOnlineQAPbPb::ProcessBkgPatch(), AliEMCALTriggerOnlineQAPbPb::ProcessPatch(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().

Double_t AliEMCALTriggerPatchInfo::GetSmearedEnergy ( ) const
inline

Return smeared patch energy. The smeared patch energy is obtained from the offline energy smearing at each FastOR. The smeared energy has to be provided by the trigger maker or equivalent.

Returns
Smeared patch energy

Definition at line 198 of file AliEMCALTriggerPatchInfo.h.

const AliEMCALTriggerBitConfig* AliEMCALTriggerPatchInfo::GetTriggerBitConfig ( ) const
inline

Get the trigger bit configuration used to create the trigger patch

Returns
Trigger bit configuration of the patch

Definition at line 605 of file AliEMCALTriggerPatchInfo.h.

Referenced by AliEMCALTriggerOnlineQAPbPb::ProcessBkgPatch(), and AliEMCALTriggerOnlineQAPbPb::ProcessPatch().

Int_t AliEMCALTriggerPatchInfo::GetTriggerBits ( ) const
inline

Get the trigger bits of the classes which fired the patch

Returns
Selected trigger bits

Definition at line 222 of file AliEMCALTriggerPatchInfo.h.

void AliEMCALTriggerPatchInfo::Initialize ( UChar_t  col0,
UChar_t  row0,
UChar_t  size,
UInt_t  adc,
UInt_t  offlineAdc,
Double_t  patchE,
UInt_t  bitmask,
const TVector3 &  vertex,
const AliEMCALGeometry geom 
)

Initialize patch

Parameters
col0Start column of the patch
row0Start row of the patch
sizeSize of the patch
adcADC signal of the patch
offlineAdcOffline ADC signal of the patch
patchEEnergy of the patch (sum of cell amplitudes)
bitmaskTrigger bit mask of the patch
vertexPrimary vertex of the event
geomPointer to the EMCal geometry object

Definition at line 86 of file AliEMCALTriggerPatchInfo.cxx.

Referenced by CreateAndInitialize().

void AliEMCALTriggerPatchInfo::Initialize ( UChar_t  col0,
UChar_t  row0,
UChar_t  size,
UInt_t  adc,
UInt_t  offlineAdc,
UInt_t  bitmask,
const AliEMCALGeometry geom 
)

Initialize patch

Parameters
col0Start column of the patch
row0Start row of the patch
sizeSize of the patch
adcADC signal of the patch
offlineAdcOffline ADC signal of the patch
bitmaskTrigger bit mask of the patch
geomPointer to the EMCal geometry object

Definition at line 111 of file AliEMCALTriggerPatchInfo.cxx.

Bool_t AliEMCALTriggerPatchInfo::IsBkg ( ) const
inline

No background patches from hardware

Returns
Always false

Definition at line 301 of file AliEMCALTriggerPatchInfo.h.

Referenced by AliEMCALTriggerOnlineQAPP::ProcessPatch().

Bool_t AliEMCALTriggerPatchInfo::IsBkgRecalc ( ) const
inline

Check whether patch is an EMCAL background patch, found by the simple offline trigger

Returns
True if patch matches the trigger condition, false otherwise

Definition at line 379 of file AliEMCALTriggerPatchInfo.h.

Referenced by AliEMCALTriggerOnlineQAPP::ProcessPatch().

Bool_t AliEMCALTriggerPatchInfo::IsBkgSimple ( ) const
inline

Check whether patch is an EMCAL background patch, found by the simple offline trigger

Returns
True if patch matches the trigger condition, false otherwise

Definition at line 343 of file AliEMCALTriggerPatchInfo.h.

Referenced by AliEMCALTriggerOnlineQAPP::ProcessPatch().

Bool_t AliEMCALTriggerPatchInfo::IsDCalPHOS ( ) const
inline

Check whether patch is in the EMCal

Returns
True if the patch is in the EMCal

Definition at line 452 of file AliEMCALTriggerPatchInfo.h.

Referenced by AliEMCALTriggerOnlineQAPbPb::ProcessBkgPatch(), AliEMCALTriggerOnlineQAPbPb::ProcessPatch(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().

Bool_t AliEMCALTriggerPatchInfo::IsEMCal ( ) const
inline

Check whether patch is in the EMCal

Returns
True if the patch is in the EMCal

Definition at line 446 of file AliEMCALTriggerPatchInfo.h.

Referenced by AliEMCALTriggerOnlineQAPbPb::ProcessBkgPatch(), AliEMCALTriggerOnlineQAPbPb::ProcessPatch(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().

Bool_t AliEMCALTriggerPatchInfo::IsGammaHigh ( ) const
inline

Check whether patch is an EMCAL Level1 gamma patch passing the high threshold, found by the trigger electronics or the trigger simulation

Returns
True if patch matches the trigger condition, false otherwise

Definition at line 295 of file AliEMCALTriggerPatchInfo.h.

Referenced by IsOnline(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().

Bool_t AliEMCALTriggerPatchInfo::IsGammaHighRecalc ( ) const
inline

Check whether patch is an EMCAL Level1 gamma patch passing the high threshold, found by the simple offline trigger

Returns
True if patch matches the trigger condition, false otherwise

Definition at line 373 of file AliEMCALTriggerPatchInfo.h.

Referenced by IsRecalc(), IsRecalcGamma(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().

Bool_t AliEMCALTriggerPatchInfo::IsGammaHighSimple ( ) const
inline

Check whether patch is an EMCAL Level1 gamma patch passing the high threshold, found by the simple offline trigger

Returns
True if patch matches the trigger condition, false otherwise

Definition at line 337 of file AliEMCALTriggerPatchInfo.h.

Referenced by IsOfflineSimple(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().

Bool_t AliEMCALTriggerPatchInfo::IsGammaLow ( ) const
inline

Check whether patch is an EMCAL Level1 gamma patch passing the low threshold, found by the trigger electronics or the trigger simulation

Returns
True if patch matches the trigger condition, false otherwise

Definition at line 289 of file AliEMCALTriggerPatchInfo.h.

Referenced by IsOnline(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().

Bool_t AliEMCALTriggerPatchInfo::IsGammaLowRecalc ( ) const
inline

Check whether patch is an EMCAL Level1 gamma patch passing the low threshold, found by the simple offline trigger

Returns
True if patch matches the trigger condition, false otherwise

Definition at line 367 of file AliEMCALTriggerPatchInfo.h.

Referenced by IsRecalc(), IsRecalcGamma(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().

Bool_t AliEMCALTriggerPatchInfo::IsGammaLowSimple ( ) const
inline

Check whether patch is an EMCAL Level1 gamma patch passing the low threshold, found by the simple offline trigger

Returns
True if patch matches the trigger condition, false otherwise

Definition at line 331 of file AliEMCALTriggerPatchInfo.h.

Referenced by IsOfflineSimple(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().

Bool_t AliEMCALTriggerPatchInfo::IsJetHigh ( ) const
inline

Check whether patch is an EMCAL Level1 jet patch passing the high threshold, found by the trigger electronics or the trigger simulation

Returns
True if patch matches the trigger condition, false otherwise

Definition at line 283 of file AliEMCALTriggerPatchInfo.h.

Referenced by IsOnline(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().

Bool_t AliEMCALTriggerPatchInfo::IsJetHighRecalc ( ) const
inline

Check whether patch is an EMCAL Level1 jet patch passing the high threshold, found by the simple offline trigger

Returns
True if patch matches the trigger condition, false otherwise

Definition at line 361 of file AliEMCALTriggerPatchInfo.h.

Referenced by IsRecalc(), IsRecalcJet(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().

Bool_t AliEMCALTriggerPatchInfo::IsJetHighSimple ( ) const
inline

Check whether patch is an EMCAL Level1 jet patch passing the high threshold, found by the simple offline trigger

Returns
True if patch matches the trigger condition, false otherwise

Definition at line 325 of file AliEMCALTriggerPatchInfo.h.

Referenced by IsOfflineSimple(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().

Bool_t AliEMCALTriggerPatchInfo::IsJetLow ( ) const
inline

Check whether patch is an EMCAL Level1 jet patch passing the low threshold, found by the trigger electronics or the trigger simulation

Returns
True if patch matches the trigger condition, false otherwise

Definition at line 277 of file AliEMCALTriggerPatchInfo.h.

Referenced by IsOnline(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().

Bool_t AliEMCALTriggerPatchInfo::IsJetLowRecalc ( ) const
inline

Check whether patch is an EMCAL Level1 jet patch passing the low threshold, found by the simple offline trigger

Returns
True if patch matches the trigger condition, false otherwise

Definition at line 355 of file AliEMCALTriggerPatchInfo.h.

Referenced by IsRecalc(), IsRecalcJet(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().

Bool_t AliEMCALTriggerPatchInfo::IsJetLowSimple ( ) const
inline

Check whether patch is an EMCAL Level1 jet patch passing the low threshold, found by the simple offline trigger

Returns
True if patch matches the trigger condition, false otherwise

Definition at line 319 of file AliEMCALTriggerPatchInfo.h.

Referenced by IsOfflineSimple(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().

Bool_t AliEMCALTriggerPatchInfo::IsLevel0 ( ) const
inline

Check whether patch is an EMCAL Level0 patch

Returns
True if patch is an EMCAL Level0 patch, false otherwise

Definition at line 271 of file AliEMCALTriggerPatchInfo.h.

Referenced by AliEMCALTriggerOnlineQAPP::ProcessPatch().

Bool_t AliEMCALTriggerPatchInfo::IsLevel0Recalc ( ) const
inline

Check whether patch is an EMCAL Level1 jet patch passing the low threshold, found by the simple offline trigger

Returns
True if patch matches the trigger condition, false otherwise

Definition at line 349 of file AliEMCALTriggerPatchInfo.h.

Referenced by AliEMCALTriggerOnlineQAPP::ProcessPatch().

Bool_t AliEMCALTriggerPatchInfo::IsLevel0Simple ( ) const
inline

Check whether patch is an EMCAL Level1 jet patch passing the low threshold, found by the simple offline trigger

Returns
True if patch matches the trigger condition, false otherwise

Definition at line 313 of file AliEMCALTriggerPatchInfo.h.

Referenced by AliEMCALTriggerOnlineQAPP::ProcessPatch().

Bool_t AliEMCALTriggerPatchInfo::IsMainTrigger ( ) const
inline

No main trigger any more

Returns
Always false

Definition at line 307 of file AliEMCALTriggerPatchInfo.h.

Bool_t AliEMCALTriggerPatchInfo::IsMainTriggerSimple ( ) const
inline

Now main trigger any more in the new definition

Returns
Always false

Definition at line 385 of file AliEMCALTriggerPatchInfo.h.

Bool_t AliEMCALTriggerPatchInfo::IsOfflineSimple ( ) const
inline

Check whether patch is found by the simple offline trigger (on offline amplitudes)

Returns
True if the patch is found by the simple offline trigger, false otherwise

Definition at line 391 of file AliEMCALTriggerPatchInfo.h.

Bool_t AliEMCALTriggerPatchInfo::IsOnline ( ) const
inline

Check whether patch is found by the simple offline trigger (on offline amplitudes)

Returns
True if the patch is found by the simple offline trigger, false otherwise

Definition at line 403 of file AliEMCALTriggerPatchInfo.h.

Bool_t AliEMCALTriggerPatchInfo::IsRecalc ( ) const
inline

Check whether patch is found by the simple offline trigger (on offline amplitudes)

Returns
True if the patch is found by the simple offline trigger, false otherwise

Definition at line 397 of file AliEMCALTriggerPatchInfo.h.

Bool_t AliEMCALTriggerPatchInfo::IsRecalcGamma ( ) const
inline

Check if the patch is a recalculated gamma patch

Returns
True if the patch is a recalculated gamma patch, false otherwise

Definition at line 440 of file AliEMCALTriggerPatchInfo.h.

Bool_t AliEMCALTriggerPatchInfo::IsRecalcJet ( ) const
inline

Check if the patch is a recalculated jet patch

Returns
True if the patch is a recalculated jet patch, false otherwise

Definition at line 434 of file AliEMCALTriggerPatchInfo.h.

AliEMCALTriggerPatchInfo & AliEMCALTriggerPatchInfo::operator= ( const AliEMCALTriggerPatchInfo p)

Assignment operator

Parameters
pReference for assignment
Returns
This object after assignment

Definition at line 72 of file AliEMCALTriggerPatchInfo.cxx.

void AliEMCALTriggerPatchInfo::RecalculateKinematics ( Double_t  patchE,
const TVector3 &  vertex,
const AliEMCALGeometry geom 
)

Recalculate patch kinematic variables

Parameters
patchEEnergy of the patch (sum of cell amplitudes)
vertexPrimary vertex of the event
geomPointer to the EMCal geometry object

Definition at line 149 of file AliEMCALTriggerPatchInfo.cxx.

Referenced by Initialize().

void AliEMCALTriggerPatchInfo::Reset ( void  )

Reset all fields to the default values using the standard constructor

Definition at line 81 of file AliEMCALTriggerPatchInfo.cxx.

Referenced by AliEMCALTriggerOnlineQAPP::EventCompleted().

void AliEMCALTriggerPatchInfo::SetADCAmp ( Int_t  a)
inline

Set online ADC amplitude

Parameters
aOnline ADC amplitude

Definition at line 540 of file AliEMCALTriggerPatchInfo.h.

void AliEMCALTriggerPatchInfo::SetADCOfflineAmp ( Int_t  a)
inline

Set offline ADC amplitude (derived from cell energies converted to ADC amplitude)

Parameters
aOffline ADC amplitude

Definition at line 546 of file AliEMCALTriggerPatchInfo.h.

void AliEMCALTriggerPatchInfo::SetCenterGeo ( const TVector3 &  v,
Double_t  e 
)
inline

Set the geometric center position of the patch

Parameters
vPosition 3-vector
ePatch energy

Definition at line 489 of file AliEMCALTriggerPatchInfo.h.

Referenced by RecalculateKinematics().

void AliEMCALTriggerPatchInfo::SetCenterGeo ( const TLorentzVector &  v)
inline

Set the geometric center position of the patch

Parameters
vPosition Lorentz vector

Definition at line 495 of file AliEMCALTriggerPatchInfo.h.

void AliEMCALTriggerPatchInfo::SetCenterMass ( const TLorentzVector &  v)
inline

Set the center-of-mass position of the trigger patch

Parameters
vPosition Lorentz vector

Definition at line 501 of file AliEMCALTriggerPatchInfo.h.

void AliEMCALTriggerPatchInfo::SetCenterMass ( const TVector3 &  v,
Double_t  e 
)
inline

Set the center-of-mass position of the trigger patch

Parameters
vPosition 3-vector
ePatch energy

Definition at line 508 of file AliEMCALTriggerPatchInfo.h.

void AliEMCALTriggerPatchInfo::SetCol0 ( int  col0)
inline

Set the starting column

Parameters
col0Starting column of the patch

Definition at line 482 of file AliEMCALTriggerPatchInfo.h.

void AliEMCALTriggerPatchInfo::SetDetectorType ( CaloDetectorType_t  t)
inline

Set detector in which the patch is located (EMCal or DCal/PHOS)

Parameters
tDetector type

Definition at line 587 of file AliEMCALTriggerPatchInfo.h.

Referenced by Initialize().

void AliEMCALTriggerPatchInfo::SetEdge1 ( const TLorentzVector &  v)
inline

Set lower edge position of the trigger patch

Parameters
vPosition Lorentz vector

Definition at line 514 of file AliEMCALTriggerPatchInfo.h.

Referenced by RecalculateKinematics().

void AliEMCALTriggerPatchInfo::SetEdge1 ( const TVector3 &  v,
Double_t  e 
)
inline

Set lower edge position of the trigger patch

Parameters
vPosition 3-vector
ePatch energy

Definition at line 521 of file AliEMCALTriggerPatchInfo.h.

void AliEMCALTriggerPatchInfo::SetEdge2 ( const TLorentzVector &  v)
inline

Set upper edge position of the trigger patch

Parameters
vLorentz-vector of the upper edge position of the trigger patch

Definition at line 527 of file AliEMCALTriggerPatchInfo.h.

Referenced by RecalculateKinematics().

void AliEMCALTriggerPatchInfo::SetEdge2 ( const TVector3 &  v,
Double_t  e 
)
inline

Set upper edge position of the trigger patch

Parameters
vPosition 3-vector
ePatch Energy

Definition at line 534 of file AliEMCALTriggerPatchInfo.h.

void AliEMCALTriggerPatchInfo::SetEdgeCell ( Int_t  x,
Int_t  y 
)
inline

Set Indices in x and y of the edge cell

Parameters
xCell index in x-direction
yCell index in y-direction

Definition at line 561 of file AliEMCALTriggerPatchInfo.h.

Referenced by Initialize().

void AliEMCALTriggerPatchInfo::SetLorentzVector ( TLorentzVector &  lv,
const TVector3 &  v,
Double_t  e 
)

Define Lorentz vector of the given trigger patch

Parameters
lvLorentz vector to be defined
vPatch vector position
ePatch energy

Definition at line 262 of file AliEMCALTriggerPatchInfo.cxx.

Referenced by SetCenterGeo(), SetCenterMass(), SetEdge1(), SetEdge2(), and SetOfflineSimple().

void AliEMCALTriggerPatchInfo::SetOfflineSimple ( )
inline

No simple offline bit any more as patches contain combined information from online, offline and recalc trigger

Definition at line 567 of file AliEMCALTriggerPatchInfo.h.

void AliEMCALTriggerPatchInfo::SetOffSet ( Int_t  i)
inline

Set the MC trigger bit offset

Parameters
iMC trigger bit offset

Definition at line 593 of file AliEMCALTriggerPatchInfo.h.

void AliEMCALTriggerPatchInfo::SetRowStart ( int  row0)
inline

Set the starting row

Parameters
row0Starting row of the patch

Definition at line 476 of file AliEMCALTriggerPatchInfo.h.

void AliEMCALTriggerPatchInfo::SetSmearedEnergy ( Double_t  e)
inline

Set the smeared energy. Smeared energy is defined as energy obtained from the offline energy by randomizing the energy with the appropriate distribution (gauss with proper values for mean and width).

Parameters
e

Definition at line 554 of file AliEMCALTriggerPatchInfo.h.

void AliEMCALTriggerPatchInfo::SetTriggerBitConfig ( const AliEMCALTriggerBitConfig ref)
inline

Set the trigger bit configuration

Parameters
refTrigger bit configuration used to create the patch

Definition at line 599 of file AliEMCALTriggerPatchInfo.h.

void AliEMCALTriggerPatchInfo::SetTriggerBits ( Int_t  i)
inline

Set the trigger bits

Parameters
iTrigger bits of the patch

Definition at line 581 of file AliEMCALTriggerPatchInfo.h.

Bool_t AliEMCALTriggerPatchInfo::TestTriggerBit ( UInt_t  bitnumber) const
inline

Check whether a trigger bit is set

Parameters
bitnumberBit number to be tested
Returns
True if the bit is set

Definition at line 464 of file AliEMCALTriggerPatchInfo.h.

Referenced by AliEMCALTriggerOnlineQAPbPb::ProcessBkgPatch(), and AliEMCALTriggerOnlineQAPbPb::ProcessPatch().

Member Data Documentation

Int_t AliEMCALTriggerPatchInfo::fADCAmp
protected

online (trigger) ADC amplitude

Definition at line 616 of file AliEMCALTriggerPatchInfo.h.

Referenced by GetADCAmp(), GetADCAmpGeVRough(), Initialize(), and SetADCAmp().

Int_t AliEMCALTriggerPatchInfo::fADCOfflineAmp
protected

offline (FEE) ADC amplitude

Definition at line 617 of file AliEMCALTriggerPatchInfo.h.

Referenced by GetADCOfflineAmp(), Initialize(), and SetADCOfflineAmp().

TLorentzVector AliEMCALTriggerPatchInfo::fCenterGeo
protected

geometrical center

Definition at line 612 of file AliEMCALTriggerPatchInfo.h.

Referenced by GetET(), GetEtaGeo(), GetLorentzVectorCenterGeo(), GetPatchE(), GetPhiGeo(), and SetCenterGeo().

TLorentzVector AliEMCALTriggerPatchInfo::fCenterMass
protected
Int_t AliEMCALTriggerPatchInfo::fCol0
protected

Start column.

Definition at line 622 of file AliEMCALTriggerPatchInfo.h.

Referenced by GetColStart(), Initialize(), RecalculateKinematics(), and SetCol0().

CaloDetectorType_t AliEMCALTriggerPatchInfo::fDetectorType
protected

Detector type (EMCal or DCal/PHOS)

Definition at line 625 of file AliEMCALTriggerPatchInfo.h.

Referenced by GetDetectorType(), IsDCalPHOS(), IsEMCal(), and SetDetectorType().

TLorentzVector AliEMCALTriggerPatchInfo::fEdge1
protected

max eta/ min phi edge

Definition at line 614 of file AliEMCALTriggerPatchInfo.h.

Referenced by GetEtaMax(), GetLorentzVectorEdge1(), GetPhiMin(), and SetEdge1().

TLorentzVector AliEMCALTriggerPatchInfo::fEdge2
protected

min eta/ max phi edge

Definition at line 615 of file AliEMCALTriggerPatchInfo.h.

Referenced by GetEtaMin(), GetLorentzVectorEdge2(), GetPhiMax(), and SetEdge2().

Int_t AliEMCALTriggerPatchInfo::fEdgeCell[2]
protected

cell "bottom lower" edge (min phi, max eta)

Definition at line 620 of file AliEMCALTriggerPatchInfo.h.

Referenced by AliEMCALTriggerPatchInfo(), GetEdgeCellX(), GetEdgeCellY(), and SetEdgeCell().

Double_t AliEMCALTriggerPatchInfo::fEnergySmeared
protected

Smeared patch energy.

Definition at line 618 of file AliEMCALTriggerPatchInfo.h.

Referenced by GetSmearedEnergy(), and SetSmearedEnergy().

Int_t AliEMCALTriggerPatchInfo::fOffSet
protected

offset of bit (different in data and MC)

Definition at line 621 of file AliEMCALTriggerPatchInfo.h.

Referenced by IsGammaHigh(), IsGammaLow(), IsJetHigh(), IsJetLow(), IsLevel0(), and SetOffSet().

UChar_t AliEMCALTriggerPatchInfo::fPatchSize
protected

Trigger patch size.

Definition at line 624 of file AliEMCALTriggerPatchInfo.h.

Referenced by GetPatchSize(), Initialize(), and RecalculateKinematics().

Int_t AliEMCALTriggerPatchInfo::fRow0
protected

Start row.

Definition at line 623 of file AliEMCALTriggerPatchInfo.h.

Referenced by GetRowStart(), Initialize(), RecalculateKinematics(), and SetRowStart().

Int_t AliEMCALTriggerPatchInfo::fTriggerBits
protected

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