![]() |
AliRoot Core
edcc906 (edcc906)
|
Main data structure storing all relevant information of EMCAL/DCAL trigger patches. More...
#include <AliEMCALTriggerPatchInfo.h>
Public Types | |
enum | { kRecalcOffset = 16, kOfflineOffset = 24 } |
enum | CaloDetectorType_t { kEMCALdet = 0, kDCALPHOSdet = 1 } |
Public Member Functions | |
AliEMCALTriggerPatchInfo () | |
AliEMCALTriggerPatchInfo (const AliEMCALTriggerPatchInfo &p) | |
AliEMCALTriggerPatchInfo & | operator= (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 AliEMCALTriggerBitConfig * | GetTriggerBitConfig () const |
Static Public Member Functions | |
static 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 AliEMCALTriggerPatchInfo * | CreateAndInitialize (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... | |
Main data structure storing all relevant information of EMCAL/DCAL trigger patches.
Emcal trigger patch information class Can contain three types of information, distinguished by the various bits in the bit field:
Definition at line 32 of file AliEMCALTriggerPatchInfo.h.
anonymous enum |
Enumerator | |
---|---|
kRecalcOffset | |
kOfflineOffset |
Definition at line 35 of file AliEMCALTriggerPatchInfo.h.
Enumerator | |
---|---|
kEMCALdet | |
kDCALPHOSdet |
Definition at line 40 of file AliEMCALTriggerPatchInfo.h.
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
p | Reference for the copy |
Definition at line 46 of file AliEMCALTriggerPatchInfo.cxx.
|
virtual |
Destructor
Definition at line 68 of file AliEMCALTriggerPatchInfo.cxx.
|
static |
Allocate a new AliEMCALTriggerPatchInfo object and initialize it
col0 | Start column of the patch |
row0 | Start row of the patch |
size | Size of the patch |
adc | ADC signal of the patch |
offlineAdc | Offline ADC signal of the patch |
patchE | Energy of the patch (sum of cell amplitudes) |
bitmask | Trigger bit mask of the patch |
vertex | Primary vertex of the event |
geom | Pointer to the EMCal geometry object |
Definition at line 135 of file AliEMCALTriggerPatchInfo.cxx.
|
static |
Allocate a new AliEMCALTriggerPatchInfo object and initialize it
col0 | Start column of the patch |
row0 | Start row of the patch |
size | Size of the patch |
adc | ADC signal of the patch |
offlineAdc | Offline ADC signal of the patch |
bitmask | Trigger bit mask of the patch |
geom | Pointer to the EMCal geometry object |
Definition at line 142 of file AliEMCALTriggerPatchInfo.cxx.
|
inline |
Get patch online ADC amplitude
Definition at line 204 of file AliEMCALTriggerPatchInfo.h.
Referenced by AliEMCALTriggerQA::GetAmplitude(), AliEMCALTriggerOnlineQAPbPb::ProcessBkgPatch(), AliEMCALTriggerOnlineQAPbPb::ProcessPatch(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().
|
inline |
Get patch energy estimated from offline ADC amplitude converted into energya
Definition at line 216 of file AliEMCALTriggerPatchInfo.h.
Referenced by GetPatchETfromADCAmp().
|
inline |
Get patch offline ADC amplitude (obtained from calibrated cell energies converted into ADC signals)
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
geom | EMCAL Geometry used in the run where the trigger patch was created from |
cells | Output array of cell indices corresponding to the given trigger patch |
Definition at line 230 of file AliEMCALTriggerPatchInfo.cxx.
Referenced by GetEdgeCellY().
|
inline |
Get the starting column of the patch
Definition at line 265 of file AliEMCALTriggerPatchInfo.h.
Referenced by AliEMCALTriggerOnlineQAPbPb::ProcessBkgPatch(), AliEMCALTriggerOnlineQAPbPb::ProcessPatch(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().
|
inline |
Definition at line 457 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Get X position of the edge cell
Definition at line 228 of file AliEMCALTriggerPatchInfo.h.
Referenced by GetCellIndices().
|
inline |
Get Y position of the edge cell
Definition at line 234 of file AliEMCALTriggerPatchInfo.h.
Referenced by GetCellIndices().
|
protected |
Definition at line 274 of file AliEMCALTriggerPatchInfo.cxx.
Referenced by GetPatchET(), GetPatchETfromADCAmp(), and GetTriggerBitConfig().
|
inline |
Get \( \eta \) of the patch at the center of mass
Definition at line 171 of file AliEMCALTriggerPatchInfo.h.
Referenced by AliEMCALTriggerOnlineQAPbPb::ProcessBkgPatch(), and AliEMCALTriggerOnlineQAPbPb::ProcessPatch().
|
inline |
Get \( \eta \) of the patch at the geometrical center
Definition at line 165 of file AliEMCALTriggerPatchInfo.h.
Referenced by AliEMCALTriggerOnlineQAPbPb::ProcessBkgPatch(), and AliEMCALTriggerOnlineQAPbPb::ProcessPatch().
|
inline |
Get maximum \( \eta \) of the patch
Definition at line 183 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Get minimum \( \eta \) of the patch
Definition at line 177 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Access to Lorentz Vector of the geometrical centre of the trigger patch
Definition at line 415 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Access to Lorentz Vector of the centre-of-mass of the trigger patch
Definition at line 409 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Access to Lorentz Vector of the lower left edge of the trigger patch
Definition at line 421 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Access to Lorentz Vector of the upper right edge of the trigger patch
Definition at line 427 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Get the patch energy
Definition at line 189 of file AliEMCALTriggerPatchInfo.h.
Referenced by GetPatchET(), AliEMCALTriggerOnlineQAPbPb::ProcessBkgPatch(), and AliEMCALTriggerOnlineQAPbPb::ProcessPatch().
|
inline |
Get the transverse energy of the patch
Definition at line 247 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Get the online transverse energy of the patch
Definition at line 253 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Returns the patch size
Definition at line 470 of file AliEMCALTriggerPatchInfo.h.
Referenced by AliEMCALTriggerOnlineQAPbPb::ProcessBkgPatch(), and AliEMCALTriggerOnlineQAPbPb::ProcessPatch().
|
inline |
Access \( \phi \) angle of the patch at the center of mass
Definition at line 147 of file AliEMCALTriggerPatchInfo.h.
Referenced by AliEMCALTriggerOnlineQAPbPb::ProcessBkgPatch(), and AliEMCALTriggerOnlineQAPbPb::ProcessPatch().
|
inline |
Access \( \phi \) angle of the geometric center of the trigger patch
Definition at line 141 of file AliEMCALTriggerPatchInfo.h.
Referenced by AliEMCALTriggerOnlineQAPbPb::ProcessBkgPatch(), and AliEMCALTriggerOnlineQAPbPb::ProcessPatch().
|
inline |
Get maximal \( \phi \) of the patch
Definition at line 159 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Get minimal \( \phi \) of the patch
Definition at line 153 of file AliEMCALTriggerPatchInfo.h.
|
protected |
Definition at line 269 of file AliEMCALTriggerPatchInfo.cxx.
Referenced by GetPhiCM(), GetPhiGeo(), GetPhiMax(), GetPhiMin(), and GetTriggerBitConfig().
|
inline |
Get the starting row of the patch
Definition at line 259 of file AliEMCALTriggerPatchInfo.h.
Referenced by AliEMCALTriggerOnlineQAPbPb::ProcessBkgPatch(), AliEMCALTriggerOnlineQAPbPb::ProcessPatch(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().
|
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.
Definition at line 198 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Get the trigger bit configuration used to create the trigger patch
Definition at line 605 of file AliEMCALTriggerPatchInfo.h.
Referenced by AliEMCALTriggerOnlineQAPbPb::ProcessBkgPatch(), and AliEMCALTriggerOnlineQAPbPb::ProcessPatch().
|
inline |
Get the trigger bits of the classes which fired the patch
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
col0 | Start column of the patch |
row0 | Start row of the patch |
size | Size of the patch |
adc | ADC signal of the patch |
offlineAdc | Offline ADC signal of the patch |
patchE | Energy of the patch (sum of cell amplitudes) |
bitmask | Trigger bit mask of the patch |
vertex | Primary vertex of the event |
geom | Pointer 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
col0 | Start column of the patch |
row0 | Start row of the patch |
size | Size of the patch |
adc | ADC signal of the patch |
offlineAdc | Offline ADC signal of the patch |
bitmask | Trigger bit mask of the patch |
geom | Pointer to the EMCal geometry object |
Definition at line 111 of file AliEMCALTriggerPatchInfo.cxx.
|
inline |
No background patches from hardware
Definition at line 301 of file AliEMCALTriggerPatchInfo.h.
Referenced by AliEMCALTriggerOnlineQAPP::ProcessPatch().
|
inline |
Check whether patch is an EMCAL background patch, found by the simple offline trigger
Definition at line 379 of file AliEMCALTriggerPatchInfo.h.
Referenced by AliEMCALTriggerOnlineQAPP::ProcessPatch().
|
inline |
Check whether patch is an EMCAL background patch, found by the simple offline trigger
Definition at line 343 of file AliEMCALTriggerPatchInfo.h.
Referenced by AliEMCALTriggerOnlineQAPP::ProcessPatch().
|
inline |
Check whether patch is in the EMCal
Definition at line 452 of file AliEMCALTriggerPatchInfo.h.
Referenced by AliEMCALTriggerOnlineQAPbPb::ProcessBkgPatch(), AliEMCALTriggerOnlineQAPbPb::ProcessPatch(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().
|
inline |
Check whether patch is in the EMCal
Definition at line 446 of file AliEMCALTriggerPatchInfo.h.
Referenced by AliEMCALTriggerOnlineQAPbPb::ProcessBkgPatch(), AliEMCALTriggerOnlineQAPbPb::ProcessPatch(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().
|
inline |
Check whether patch is an EMCAL Level1 gamma patch passing the high threshold, found by the trigger electronics or the trigger simulation
Definition at line 295 of file AliEMCALTriggerPatchInfo.h.
Referenced by IsOnline(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().
|
inline |
Check whether patch is an EMCAL Level1 gamma patch passing the high threshold, found by the simple offline trigger
Definition at line 373 of file AliEMCALTriggerPatchInfo.h.
Referenced by IsRecalc(), IsRecalcGamma(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().
|
inline |
Check whether patch is an EMCAL Level1 gamma patch passing the high threshold, found by the simple offline trigger
Definition at line 337 of file AliEMCALTriggerPatchInfo.h.
Referenced by IsOfflineSimple(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().
|
inline |
Check whether patch is an EMCAL Level1 gamma patch passing the low threshold, found by the trigger electronics or the trigger simulation
Definition at line 289 of file AliEMCALTriggerPatchInfo.h.
Referenced by IsOnline(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().
|
inline |
Check whether patch is an EMCAL Level1 gamma patch passing the low threshold, found by the simple offline trigger
Definition at line 367 of file AliEMCALTriggerPatchInfo.h.
Referenced by IsRecalc(), IsRecalcGamma(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().
|
inline |
Check whether patch is an EMCAL Level1 gamma patch passing the low threshold, found by the simple offline trigger
Definition at line 331 of file AliEMCALTriggerPatchInfo.h.
Referenced by IsOfflineSimple(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().
|
inline |
Check whether patch is an EMCAL Level1 jet patch passing the high threshold, found by the trigger electronics or the trigger simulation
Definition at line 283 of file AliEMCALTriggerPatchInfo.h.
Referenced by IsOnline(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().
|
inline |
Check whether patch is an EMCAL Level1 jet patch passing the high threshold, found by the simple offline trigger
Definition at line 361 of file AliEMCALTriggerPatchInfo.h.
Referenced by IsRecalc(), IsRecalcJet(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().
|
inline |
Check whether patch is an EMCAL Level1 jet patch passing the high threshold, found by the simple offline trigger
Definition at line 325 of file AliEMCALTriggerPatchInfo.h.
Referenced by IsOfflineSimple(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().
|
inline |
Check whether patch is an EMCAL Level1 jet patch passing the low threshold, found by the trigger electronics or the trigger simulation
Definition at line 277 of file AliEMCALTriggerPatchInfo.h.
Referenced by IsOnline(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().
|
inline |
Check whether patch is an EMCAL Level1 jet patch passing the low threshold, found by the simple offline trigger
Definition at line 355 of file AliEMCALTriggerPatchInfo.h.
Referenced by IsRecalc(), IsRecalcJet(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().
|
inline |
Check whether patch is an EMCAL Level1 jet patch passing the low threshold, found by the simple offline trigger
Definition at line 319 of file AliEMCALTriggerPatchInfo.h.
Referenced by IsOfflineSimple(), and AliEMCALTriggerOnlineQAPP::ProcessPatch().
|
inline |
Check whether patch is an EMCAL Level0 patch
Definition at line 271 of file AliEMCALTriggerPatchInfo.h.
Referenced by AliEMCALTriggerOnlineQAPP::ProcessPatch().
|
inline |
Check whether patch is an EMCAL Level1 jet patch passing the low threshold, found by the simple offline trigger
Definition at line 349 of file AliEMCALTriggerPatchInfo.h.
Referenced by AliEMCALTriggerOnlineQAPP::ProcessPatch().
|
inline |
Check whether patch is an EMCAL Level1 jet patch passing the low threshold, found by the simple offline trigger
Definition at line 313 of file AliEMCALTriggerPatchInfo.h.
Referenced by AliEMCALTriggerOnlineQAPP::ProcessPatch().
|
inline |
No main trigger any more
Definition at line 307 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Now main trigger any more in the new definition
Definition at line 385 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Check whether patch is found by the simple offline trigger (on offline amplitudes)
Definition at line 391 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Check whether patch is found by the simple offline trigger (on offline amplitudes)
Definition at line 403 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Check whether patch is found by the simple offline trigger (on offline amplitudes)
Definition at line 397 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Check if the patch is a recalculated gamma patch
Definition at line 440 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Check if the patch is a recalculated jet patch
Definition at line 434 of file AliEMCALTriggerPatchInfo.h.
AliEMCALTriggerPatchInfo & AliEMCALTriggerPatchInfo::operator= | ( | const AliEMCALTriggerPatchInfo & | p | ) |
Assignment operator
p | Reference for 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
patchE | Energy of the patch (sum of cell amplitudes) |
vertex | Primary vertex of the event |
geom | Pointer 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().
|
inline |
Set online ADC amplitude
a | Online ADC amplitude |
Definition at line 540 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Set offline ADC amplitude (derived from cell energies converted to ADC amplitude)
a | Offline ADC amplitude |
Definition at line 546 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Set the geometric center position of the patch
v | Position 3-vector |
e | Patch energy |
Definition at line 489 of file AliEMCALTriggerPatchInfo.h.
Referenced by RecalculateKinematics().
|
inline |
Set the geometric center position of the patch
v | Position Lorentz vector |
Definition at line 495 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Set the center-of-mass position of the trigger patch
v | Position Lorentz vector |
Definition at line 501 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Set the center-of-mass position of the trigger patch
v | Position 3-vector |
e | Patch energy |
Definition at line 508 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Set the starting column
col0 | Starting column of the patch |
Definition at line 482 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Set detector in which the patch is located (EMCal or DCal/PHOS)
t | Detector type |
Definition at line 587 of file AliEMCALTriggerPatchInfo.h.
Referenced by Initialize().
|
inline |
Set lower edge position of the trigger patch
v | Position Lorentz vector |
Definition at line 514 of file AliEMCALTriggerPatchInfo.h.
Referenced by RecalculateKinematics().
|
inline |
Set lower edge position of the trigger patch
v | Position 3-vector |
e | Patch energy |
Definition at line 521 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Set upper edge position of the trigger patch
v | Lorentz-vector of the upper edge position of the trigger patch |
Definition at line 527 of file AliEMCALTriggerPatchInfo.h.
Referenced by RecalculateKinematics().
|
inline |
Set upper edge position of the trigger patch
v | Position 3-vector |
e | Patch Energy |
Definition at line 534 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Set Indices in x and y of the edge cell
x | Cell index in x-direction |
y | Cell 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
lv | Lorentz vector to be defined |
v | Patch vector position |
e | Patch energy |
Definition at line 262 of file AliEMCALTriggerPatchInfo.cxx.
Referenced by SetCenterGeo(), SetCenterMass(), SetEdge1(), SetEdge2(), and 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.
|
inline |
Set the MC trigger bit offset
i | MC trigger bit offset |
Definition at line 593 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Set the starting row
row0 | Starting row of the patch |
Definition at line 476 of file AliEMCALTriggerPatchInfo.h.
|
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).
e |
Definition at line 554 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Set the trigger bit configuration
ref | Trigger bit configuration used to create the patch |
Definition at line 599 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Set the trigger bits
i | Trigger bits of the patch |
Definition at line 581 of file AliEMCALTriggerPatchInfo.h.
|
inline |
Check whether a trigger bit is set
bitnumber | Bit number to be tested |
Definition at line 464 of file AliEMCALTriggerPatchInfo.h.
Referenced by AliEMCALTriggerOnlineQAPbPb::ProcessBkgPatch(), and AliEMCALTriggerOnlineQAPbPb::ProcessPatch().
|
protected |
online (trigger) ADC amplitude
Definition at line 616 of file AliEMCALTriggerPatchInfo.h.
Referenced by GetADCAmp(), GetADCAmpGeVRough(), Initialize(), and SetADCAmp().
|
protected |
offline (FEE) ADC amplitude
Definition at line 617 of file AliEMCALTriggerPatchInfo.h.
Referenced by GetADCOfflineAmp(), Initialize(), and SetADCOfflineAmp().
|
protected |
geometrical center
Definition at line 612 of file AliEMCALTriggerPatchInfo.h.
Referenced by GetET(), GetEtaGeo(), GetLorentzVectorCenterGeo(), GetPatchE(), GetPhiGeo(), and SetCenterGeo().
|
protected |
CM.
Definition at line 613 of file AliEMCALTriggerPatchInfo.h.
Referenced by GetEtaCM(), GetLorentzVectorCM(), GetPhiCM(), RecalculateKinematics(), and SetCenterMass().
|
protected |
Start column.
Definition at line 622 of file AliEMCALTriggerPatchInfo.h.
Referenced by GetColStart(), Initialize(), RecalculateKinematics(), and SetCol0().
|
protected |
Detector type (EMCal or DCal/PHOS)
Definition at line 625 of file AliEMCALTriggerPatchInfo.h.
Referenced by GetDetectorType(), IsDCalPHOS(), IsEMCal(), and SetDetectorType().
|
protected |
max eta/ min phi edge
Definition at line 614 of file AliEMCALTriggerPatchInfo.h.
Referenced by GetEtaMax(), GetLorentzVectorEdge1(), GetPhiMin(), and SetEdge1().
|
protected |
min eta/ max phi edge
Definition at line 615 of file AliEMCALTriggerPatchInfo.h.
Referenced by GetEtaMin(), GetLorentzVectorEdge2(), GetPhiMax(), and SetEdge2().
|
protected |
cell "bottom lower" edge (min phi, max eta)
Definition at line 620 of file AliEMCALTriggerPatchInfo.h.
Referenced by AliEMCALTriggerPatchInfo(), GetEdgeCellX(), GetEdgeCellY(), and SetEdgeCell().
|
protected |
Smeared patch energy.
Definition at line 618 of file AliEMCALTriggerPatchInfo.h.
Referenced by GetSmearedEnergy(), and SetSmearedEnergy().
|
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().
|
protected |
Trigger patch size.
Definition at line 624 of file AliEMCALTriggerPatchInfo.h.
Referenced by GetPatchSize(), Initialize(), and RecalculateKinematics().
|
protected |
Start row.
Definition at line 623 of file AliEMCALTriggerPatchInfo.h.
Referenced by GetRowStart(), Initialize(), RecalculateKinematics(), and SetRowStart().
|
protected |
Trigger bit configuration.
Definition at line 626 of file AliEMCALTriggerPatchInfo.h.
Referenced by GetTriggerBitConfig(), IsBkgRecalc(), IsBkgSimple(), IsGammaHigh(), IsGammaHighRecalc(), IsGammaHighSimple(), IsGammaLow(), IsGammaLowRecalc(), IsGammaLowSimple(), IsJetHigh(), IsJetHighRecalc(), IsJetHighSimple(), IsJetLow(), IsJetLowRecalc(), IsJetLowSimple(), IsLevel0(), IsLevel0Recalc(), IsLevel0Simple(), and SetTriggerBitConfig().
|
protected |
trigger bit mask, see definitions in AliEMCALTriggerType and TriggerMakerBits_t (above)
Definition at line 619 of file AliEMCALTriggerPatchInfo.h.
Referenced by GetTriggerBits(), Initialize(), IsBkgRecalc(), IsBkgSimple(), IsGammaHigh(), IsGammaHighRecalc(), IsGammaHighSimple(), IsGammaLow(), IsGammaLowRecalc(), IsGammaLowSimple(), IsJetHigh(), IsJetHighRecalc(), IsJetHighSimple(), IsJetLow(), IsJetLowRecalc(), IsJetLowSimple(), IsLevel0(), IsLevel0Recalc(), IsLevel0Simple(), SetTriggerBits(), and TestTriggerBit().