Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
40 const EventContext& ctx = Gaudi::Hive::currentContext();
48 return StatusCode::FAILURE;
56 std::vector<int> hvlineVec;
59 return StatusCode::SUCCESS;
63 std::vector<int> &hvLineVec)
const {
68 std::vector<HWIdentifier> &hvLineId)
const {
73 std::vector<int> *hvLineVec, std::vector<HWIdentifier> *hvLineId)
const {
75 std::set<HWIdentifier> hvId;
76 if(hvLineVec) hvLineVec->clear();
77 if(hvLineId) hvLineId->clear();
85 unsigned int nelec =
cell->getNumElectrodes();
86 for (
unsigned int i=0;
i<nelec;
i++) {
88 for (
unsigned int igap=0;igap<2;igap++) {
101 unsigned int nelec =
cell->getNumElectrodes();
102 for (
unsigned int i=0;
i<nelec;
i++) {
104 for (
unsigned int igap=0;igap<2;igap++) {
118 unsigned int nsubgaps =
cell->getNumSubgaps();
119 for (
unsigned int igap=0;igap<nsubgaps;igap++) {
132 unsigned int nlines =
tile->getNumHVLines();
133 unsigned int nlines_found=0;
134 for (
unsigned int i=0;
i<nlines;
i++) {
136 if (
line) nlines_found++;
138 if ( nlines_found>0 ) {
139 for (
unsigned int i=0;
i<nlines;
i++) {
157 for (
unsigned int igap=0;igap<2;igap++) {
163 ATH_MSG_ERROR(
"Failed d'cast to EMBDetectorElement (for presampler)" );
174 ATH_MSG_ERROR(
"Failed d'cast to EMECDetectorElement (for presampler)" );
179 ATH_MSG_VERBOSE(
"Found "<<hvId.size()<<
" hvIds for id: "<<
id.get_identifier32().get_compact());
def retrieve(aClass, aKey=None)
JetConstituentVector::iterator iterator
GeoIntrusivePtr< const HECCell > HECCellConstLink
@Class: HECCellConstLink
LAr EMEC Detector Element.
const EMECHVManager & getManager() const
Smart Pointer to EMEC Cells. This reference counted link allocates on demand. It audits the total poi...
bool is_lar_fcal(Identifier id) const
const LArEM_ID * getEM_ID(void) const
const CaloDetDescrElement * get_element(const Identifier &cellId) const
get element by its identifier
virtual int get_id(const IdentifierHash &hash_id, Identifier &id, const IdContext *context=0) const
Convert a hash code to an Identifier for either channels or regions, depending on the context.
int sampling(const Identifier id) const
return sampling according to :
const HECHVManager & getManager() const
int hvLineNo(const EMECHVElectrode &electrode, int gap, const LArHVIdMapping *hvIdMapping, HWIdentifier *hvlId=nullptr) const
#define ATH_MSG_VERBOSE(x)
const FCALTile * getFCALTile() const
FCAL Tile description from LArReadoutGeometry.
const EMBPresamplerHVManager & getManager() const
EMECCellConstLink getEMECCell() const
EMEC Cell description from LArReadoutGeometry.
LAr EMB Detector Element.
GeoIntrusivePtr< const EMBCell > EMBCellConstLink
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
LAr HEC Detector Element.
A tile of the forward calorimeter readout geometry.
const EMBHVManager & getManager() const
const LArHEC_ID * getHEC_ID(void) const
::StatusCode StatusCode
StatusCode definition for legacy code.
LAr FCAL Detector Element.
int hvLineNo(const EMBHVElectrode &electrode, int gap, const LArHVIdMapping *hvIdMapping, HWIdentifier *hvlId=nullptr) const
const LArFCAL_ID * getFCAL_ID(void) const
#define CHECK(...)
Evaluate an expression and check for errors.
bool is_lar_hec(Identifier id) const
const HECHVModule & getModule() const
const EMBHVModule & getModule() const
int barrel_ec(const Identifier id) const
return barrel_ec according to :
StatusCode initialize(bool used=true)
const EMECHVModule & getModule() const
EMBCellConstLink getEMBCell() const
EMB Cell description from LArReadoutGeometry.
This class provides the client interface for accessing the detector description information common to...
int hvLineNo(const EMECPresamplerHVModule &module, const LArHVIdMapping *hvIdMapping, HWIdentifier *hvlineId=nullptr) const
Describes one HV Module within the EMEc Presampler.
const EMECPresamplerHVManager & getManager() const
HECCellConstLink getHECCell() const
HEC Cell description from LArReadoutGeometry.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
int hvLineNo(const HECHVSubgap &subgap, const LArHVIdMapping *hvIdMapping, HWIdentifier *hvlId=nullptr) const
int hvLineNo(const EMBPresamplerHVModule &module, int gap, const LArHVIdMapping *hvIdMapping, HWIdentifier *hvlId=nullptr) const
bool is_lar_em(Identifier id) const
Describes one HV Module within the EMB Presampler.
Calo Subsystem specific Detector Elements + Dummy element for testing.