|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef CALORECGPU_EVENTINFODEFINITIONS_H
8 #define CALORECGPU_EVENTINFODEFINITIONS_H
18 #include "CaloGeoHelpers/CaloSampling.h"
206 const unsigned int mask = 0x08U;
230 const unsigned int provenance = qp.
provenance();
231 ret = provenance & 0x0800U;
234 if (treat_L1_predicted_as_good && (provenance & 0x0200U))
246 constexpr
bool is_bad(
const int cell,
const bool treat_L1_predicted_as_good =
false)
const
262 const bool use_crosstalk,
const float crosstalk_delta)
const
264 const int sampling =
geom.sampling(
cell);
274 const unsigned int mask =
geom.is_tile(
cell) ? 0x8080U : 0x2000U;
284 if (this_energy > 0 && eligible)
290 const int num_neighs =
geom.get_neighbours(neigh_options,
cell, neighbours);
292 for (
int i = 0;
i < num_neighs; ++
i)
294 const int neigh = neighbours[
i];
float engCalibFracHad[NMaxClusters]
float avgTileQ[NMaxClusters]
unsigned char gain[NCaloCells]
static constexpr GainType from_standard_gain(const int gain)
float engCalibDeadEME0[NMaxClusters]
float secondR[NMaxClusters]
float engCalibEME0[NMaxClusters]
float engFracCore[NMaxClusters]
static constexpr bool is_valid(const T &gain)
float centerY[NMaxClusters]
static constexpr GainType num_gain_values()
float etaPerSample[NumSamplings][NMaxClusters]
constexpr QualityProvenance(const uint16_t quality, const uint16_t provenance)
float OOCweight[NMaxClusters]
float engCalibEMB0[NMaxClusters]
constexpr static GainType s_LArLow
float deltaTheta[NMaxClusters]
float badCellsCorrE[NMaxClusters]
float isolation[NMaxClusters]
float lateral[NMaxClusters]
float longitudinal[NMaxClusters]
float nBadHVCells[NMaxClusters]
float eta1CaloFrame[NMaxClusters]
constexpr unsigned int tile_qbit1() const
constexpr static GainType s_TileLowHigh
constexpr static GainType s_gain_values_maximum
float engCalibOutT[NMaxClusters]
constexpr unsigned int quality() const
int nBadCells[NMaxClusters]
static constexpr GainType invalid_gain()
int nExtraCellSampling[NMaxClusters]
float centerMag[NMaxClusters]
constexpr static GainType s_TileLowLow
constexpr bool passes_time_cut(const GeometryArr &geom, const int cell, const float threshold, const bool use_crosstalk, const float crosstalk_delta) const
GPU equivalent of CaloTopoClusterMaker::passCellTimeCut.
int seedCellID[NMaxClusters]
Invalid(ated) clusters have seedCellID < 0.
float engPos[NMaxClusters]
float engCalibDeadFCAL[NMaxClusters]
int nCellSampling[NumSamplings][NMaxClusters]
constexpr unsigned int tile_qual2() const
float engCalibDeadUnclass[NMaxClusters]
int cellSigSampling[NMaxClusters]
constexpr static GainType s_TileOneLow
tag_type clusterTag[NCaloCells]
float phiCaloFrame[NMaxClusters]
constexpr int NumSamplings
constexpr static GainType s_gain_values_minimum
float engCalibTot[NMaxClusters]
float engCalibFracEM[NMaxClusters]
float deltaAlpha[NMaxClusters]
float engCalibOutL[NMaxClusters]
float engCalibTileG3[NMaxClusters]
QualityProvenance::carrier qualityProvenance[NCaloCells]
float firstEta[NMaxClusters]
float cellSignificance[NMaxClusters]
float engCalibDeadEMB0[NMaxClusters]
int nBadCellsCorr[NMaxClusters]
float engCalibFracRest[NMaxClusters]
float secondTime[NMaxClusters]
float centerLambda[NMaxClusters]
float tileConfidenceLevel[NMaxClusters]
float phi1CaloFrame[NMaxClusters]
TagBase::carrier tag_type
float deltaPhi[NMaxClusters]
float secondEngDens[NMaxClusters]
constexpr static carrier s_8_bit_mask
float maxEPerSample[NumSamplings][NMaxClusters]
constexpr static bool is_tile(const int cell)
float clusterEta[NMaxClusters]
float phi2CaloFrame[NMaxClusters]
float firstEngDens[NMaxClusters]
constexpr QualityProvenance(const uint8_t q1, const uint8_t q2, const uint8_t q3, const uint8_t q4)
constexpr static GainType s_LArHigh
float phiPerSample[NumSamplings][NMaxClusters]
float clusterPhi[NMaxClusters]
float maxPhiPerSample[NumSamplings][NMaxClusters]
int numCells[NMaxClusters]
constexpr static GainType s_TileHighLow
constexpr QualityProvenance(const carrier v)
constexpr int NMaxNeighbours
float energyPerSample[NumSamplings][NMaxClusters]
constexpr bool is_bad(const GeometryArr &geom, const int cell, const bool treat_L1_predicted_as_good=false) const
GPU version of CaloBadCellHelper::isBad.
float engBadCells[NMaxClusters]
float hadWeight[NMaxClusters]
float engFracMax[NMaxClusters]
float engCalibDeadTile0[NMaxClusters]
float nVertexFraction[NMaxClusters]
float engCalibDeadTileG3[NMaxClusters]
constexpr static GainType s_TileOneHigh
float EMProbability[NMaxClusters]
constexpr unsigned int tile_qbit2() const
float engCalibDeadT[NMaxClusters]
float badLArQFrac[NMaxClusters]
float clusterEnergy[NMaxClusters]
float firstPhi[NMaxClusters]
constexpr bool is_bad(const int cell, const bool treat_L1_predicted_as_good=false) const
GPU version of CaloBadCellHelper::isBad.
constexpr static GainType s_TileHighHigh
float engCalibDeadHEC0[NMaxClusters]
constexpr QualityProvenance & operator=(const carrier v)
constexpr static carrier s_16_bit_mask
float centerX[NMaxClusters]
static constexpr GainType min_gain_value()
constexpr unsigned int tile_qual1() const
constexpr static GainType s_InvalidCell
constexpr int NMaxClusters
static constexpr GainType max_gain_value()
float vertexFraction[NMaxClusters]
constexpr bool is_valid(const int cell) const
float maxEtaPerSample[NumSamplings][NMaxClusters]
constexpr static GainType s_LArMedium
float clusterEt[NMaxClusters]
float secondLambda[NMaxClusters]
float engCalibDeadM[NMaxClusters]
static constexpr bool is_bad(const bool is_tile, const QualityProvenance qp, const bool treat_L1_predicted_as_good=false)
GPU version of CaloBadCellHelper::isBad.
float engCalibDeadTot[NMaxClusters]
float centerZ[NMaxClusters]
float engBadHVCells[NMaxClusters]
float engCalibDeadLeakage[NMaxClusters]
float eta2CaloFrame[NMaxClusters]
float engCalibOutM[NMaxClusters]
float avgLArQ[NMaxClusters]
float significance[NMaxClusters]
float engFracEM[NMaxClusters]
float engCalibDeadL[NMaxClusters]
constexpr unsigned int provenance() const
float etaCaloFrame[NMaxClusters]
float DMweight[NMaxClusters]