|
ATLAS Offline Software
|
Go to the documentation of this file.
15 #include "GaudiKernel/StatusCode.h"
16 #include "CLHEP/Units/SystemOfUnits.h"
38 (
const std::string&
type,
39 const std::string&
name,
42 m_saveCellGain(false), m_saveCellQuality(false),
43 m_saveDetInfo(false),m_saveTimeInfo(false),m_saveCellStatus(false),
44 m_saveId(false),m_savePosition(false), m_saveSigma(false),
86 return StatusCode::SUCCESS;
113 return StatusCode::SUCCESS;
136 int quality = ( (
cell->quality()&0xFFFF) | ((
cell->provenance()&0xFFFF) <<16));
154 return StatusCode::SUCCESS ;
172 unsigned ATbit1 =
desc.is_lar_em() ? (1<<0) : 0;
173 unsigned ATbit2 =
desc.is_lar_hec() ? (1<<1) : 0;
174 unsigned ATbit3 =
desc.is_lar_fcal() ? (1<<2) : 0;
175 unsigned ATbit4 =
desc.is_tile() ? (1<<3) : 0;
176 unsigned ATbit = (ATbit1 | ATbit2 | ATbit3 | ATbit4);
199 unsigned EMbit = (EMbit1 | EMbit3 | EMbit4 | EMbit5);
212 unsigned HCbit = HCbit1;
227 unsigned FCbit = FCbit1;
255 unsigned TLbit = (TLbit1 | TLbit4 | TLbit5 | TLbit6 | TLbit7);
259 unsigned CombBit = (ATbit | (EMbit<<4) | (HCbit<<9) |
260 (FCbit<<11) | (TLbit<<13));
This class factors out code common between LArEM_ID and LArEM_SuperCell_ID.
This class factors out code common between LArEM_ID and LArEM_SuperCell_ID.
bool is_tile_gap(const Identifier &id) const
bool is_em_endcap_outer(const Identifier id) const
test if the id belongs to the EM Endcap outer wheel
int sample(const Identifier &id) const
int module(const Identifier id) const
module [1,3]
bool is_tile_extbarrel(const Identifier &id) const
int sampling(const Identifier id) const
return sampling according to :
virtual StatusCode addVariable(const std::string &name, const std::type_info &ti, void *&ptr, const std::string &docstring="", const void *defval=0)
Add a variable to the tuple.
bool empty() const
Test if the key is blank.
const LArFCAL_Base_ID * fcal_idHelper() const
access to FCAL idHelper
const LArEM_Base_ID * em_idHelper() const
access to EM idHelper
Block filler tool for noisy FEB information.
bool is_tile_gapscin(const Identifier &id) const
::StatusCode StatusCode
StatusCode definition for legacy code.
This class factors out code common between TileID and Tile_SuperCell_ID.
Helper base class for offline cell identifiers.
#define CHECK(...)
Evaluate an expression and check for errors.
Helpers for checking error return status codes and reporting errors.
StatusCode initialize(bool used=true)
bool is_em_endcap_inner(const Identifier id) const
test if the id belongs to the EM Endcap inner wheel
Data object for each calorimeter readout cell.
This is a base class for LAr and Tile Descriptors The primary goal is to speed up loops over all the ...
bool is_em_barrel(const Identifier id) const
test if the id belongs to the EM barrel
int sampling(const Identifier id) const
return sampling [0,3] (only 0 for supercells)
bool is_tile_barrel(const Identifier &id) const
Test of an Identifier to see if it belongs to a particular part of the calorimeter.
Helper base class for offline cell identifiers.
const Tile_Base_ID * tile_idHelper() const
access to Tile idHelper
const LArHEC_Base_ID * hec_idHelper() const
access to HEC idHelper