Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
15 #include "GaudiKernel/ServiceHandle.h"
25 #include "CaloDetDescr/CaloDetDescrElement.h"
34 (
const std::string&
type,
35 const std::string&
name,
48 m_savepartID(false), m_savefullID(false),
49 m_savetoten(true), m_savevisen(true),m_saveallen(false)
51 declareProperty(
"isDeadMaterial",
m_isDM);
77 std::cout<<
"Could not get CaloDmDescrManager"<<std::endl;
78 return StatusCode::FAILURE;
86 return StatusCode::SUCCESS;
137 return StatusCode::SUCCESS;
157 ATH_MSG_ERROR(
"Should be DM calibration hit, but do not have DM identifier: "<<
id.getString() );
158 return StatusCode::FAILURE;
216 return StatusCode::SUCCESS;
233 unsigned ATbit = (ATbit1 | ATbit2 | ATbit3 | ATbit4);
255 unsigned EMbit = (EMbit1 | EMbit3 | EMbit4 | EMbit5);
267 unsigned HCbit = HCbit1;
281 unsigned FCbit = FCbit1;
308 unsigned TLbit = (TLbit1 | TLbit4 | TLbit5 | TLbit6 | TLbit7);
312 unsigned int CombBit = (ATbit | (EMbit<<4) | (HCbit<<9) |
313 (FCbit<<11) | (TLbit<<13));
317 unsigned int SideBit = 0;
319 unsigned int DetBit = 0;
321 unsigned int TypeBit =
m_dmid->
dmat(cellID)<<2;
324 unsigned int EtaBit =
m_dmid->
eta(cellID)<<9;
325 unsigned int PhiBit =
m_dmid->
phi(cellID)<<15;
326 unsigned int CombBit = (SideBit | DetBit | TypeBit | SamplBit | RegionBit | EtaBit | PhiBit);
int dmat(const Identifier &id) const
return DMtype according to :
int region(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
int tower(const Identifier id) const
Tile field values (NOT_VALID == invalid request)
CaloDmDescrElement * get_element(const Identifier &cellId) const
bool is_lar_fcal(Identifier id) const
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 region(const Identifier &id) const
return region according to :
int pos_neg(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
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.
int calo_sample(const Identifier id) const
returns an int taken from Sampling enum and describing the subCalo to which the Id belongs.
bool is_tile(const Identifier id) const
test if the id belongs to the Tiles
int module(const Identifier id) const
Tile field values (NOT_VALID == invalid request)
static const CaloDmDescrManager * instance()
Block filler tool for noisy FEB information.
bool is_tile_gapscin(const Identifier &id) const
msgSvc
Provide convenience handles for various services.
::StatusCode StatusCode
StatusCode definition for legacy code.
int pos_neg_z(const Identifier &id) const
return pos_neg_z according to :
int eta(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
bool is_lar(const Identifier &zoneId) const
to disentangle between LAr and Tile dead material
int sub_calo(const Identifier id) const
returns an int taken from SUBCALO enum and describing the subCalo to which the Id belongs.
#define CHECK(...)
Evaluate an expression and check for errors.
bool is_tile(Identifier id) const
bool is_lar_hec(Identifier id) const
Class to store calorimeter calibration hit.
Helpers for checking error return status codes and reporting errors.
StatusCode initialize(bool used=true)
int sampling(const Identifier &id) const
return sampling according to :
int phi(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
bool is_em_endcap_inner(const Identifier id) const
test if the id belongs to the EM Endcap inner wheel
int eta(const Identifier &id) const
return eta
int side(const Identifier id) const
Tile field values (NOT_VALID == invalid request)
bool is_em_barrel(const Identifier id) const
test if the id belongs to the EM barrel
int phi(const Identifier &id) const
return phi
int sampling(const Identifier id) const
return sampling [0,3] (only 0 for supercells)
bool is_tile(const Identifier &zoneId) const
to disentangle between LAr and Tile dead material
float eta() const
cell eta
float phi() const
cell phi
bool is_tile_barrel(const Identifier &id) const
Test of an Identifier to see if it belongs to a particular part of the calorimeter.
bool is_lar_em(Identifier id) const
int section(const Identifier id) const
Tile field values (NOT_VALID == invalid request)