  | 
  
    ATLAS Offline Software
    
   | 
 
 
 
 
#include <LArHVPathologyDbAlg.h>
 | 
|   | ~LArHVPathologyDbAlg ()=default | 
|   | 
| virtual StatusCode  | initialize () override | 
|   | 
| virtual StatusCode  | execute () override | 
|   | 
|   | AthAlgorithm (const std::string &name, ISvcLocator *pSvcLocator) | 
|   | Constructor with parameters:  More...
  | 
|   | 
| virtual StatusCode  | sysInitialize () override | 
|   | Override sysInitialize.  More...
  | 
|   | 
| virtual const DataObjIDColl &  | extraOutputDeps () const override | 
|   | Return the list of extra output dependencies.  More...
  | 
|   | 
| ServiceHandle< StoreGateSvc > &  | evtStore () | 
|   | The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.  More...
  | 
|   | 
| const ServiceHandle< StoreGateSvc > &  | evtStore () const | 
|   | The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.  More...
  | 
|   | 
| const ServiceHandle< StoreGateSvc > &  | detStore () const | 
|   | The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.  More...
  | 
|   | 
| virtual StatusCode  | sysStart () override | 
|   | Handle START transition.  More...
  | 
|   | 
| virtual std::vector< Gaudi::DataHandle * >  | inputHandles () const override | 
|   | Return this algorithm's input handles.  More...
  | 
|   | 
| virtual std::vector< Gaudi::DataHandle * >  | outputHandles () const override | 
|   | Return this algorithm's output handles.  More...
  | 
|   | 
| Gaudi::Details::PropertyBase &  | declareProperty (Gaudi::Property< T, V, H > &t) | 
|   | 
| Gaudi::Details::PropertyBase *  | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) | 
|   | Declare a new Gaudi property.  More...
  | 
|   | 
| Gaudi::Details::PropertyBase *  | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) | 
|   | Declare a new Gaudi property.  More...
  | 
|   | 
| Gaudi::Details::PropertyBase *  | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) | 
|   | 
| Gaudi::Details::PropertyBase *  | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) | 
|   | Declare a new Gaudi property.  More...
  | 
|   | 
| Gaudi::Details::PropertyBase *  | declareProperty (const std::string &name, T &property, const std::string &doc="none") | 
|   | Declare a new Gaudi property.  More...
  | 
|   | 
| void  | updateVHKA (Gaudi::Details::PropertyBase &) | 
|   | 
| MsgStream &  | msg () const | 
|   | 
| MsgStream &  | msg (const MSG::Level lvl) const | 
|   | 
| bool  | msgLvl (const MSG::Level lvl) const | 
|   | 
 | 
| std::optional< LArHVPathologiesDb >  | createCondObjects (const EventContext &ctx, const CaloDetDescrManager *calodetdescrmgr) const | 
|   | 
| StatusCode  | printCondObjects (const EventContext &ctx, const CaloDetDescrManager *calodetdescrmgr, const std::vector< LArHVPathologiesDb::LArHVElectPathologyDb > *path=nullptr) const | 
|   | 
| std::vector< unsigned int >  | getElectInd (const LArHVIdMapping &hvIdMapping, const Identifier &id, unsigned int module, unsigned int line, const CaloDetDescrManager *calodetdescrmgr) const | 
|   | 
| int  | getHVline (const LArHVIdMapping &hvIdMapping, const Identifier &id, short unsigned int ElectInd, const CaloDetDescrManager *calodetdescrmgr) const | 
|   | 
| std::unique_ptr< AthenaAttributeList >  | hvPathology2AttrList (const LArHVPathologiesDb &pathologyContainer) const | 
|   | 
| Gaudi::Details::PropertyBase &  | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) | 
|   | specialization for handling Gaudi::Property<SG::VarHandleKey>  More...
  | 
|   | 
| Gaudi::Details::PropertyBase &  | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyArrayType &) | 
|   | specialization for handling Gaudi::Property<SG::VarHandleKeyArray>  More...
  | 
|   | 
| Gaudi::Details::PropertyBase &  | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleType &) | 
|   | specialization for handling Gaudi::Property<SG::VarHandleBase>  More...
  | 
|   | 
| Gaudi::Details::PropertyBase &  | declareGaudiProperty (Gaudi::Property< T, V, H > &t, const SG::NotHandleType &) | 
|   | specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>  More...
  | 
|   | 
 | 
| BooleanProperty  | m_writeCondObjs {this,"WriteCondObjs",false} | 
|   | 
| StringProperty  | m_inpFile {this,"InpFile",{}} | 
|   | 
| StringProperty  | m_outFile {this,"OutFile",{}} | 
|   | 
| StringProperty  | m_folder {this,"Folder","/LAR/HVPathologiesOfl/Pathologies"} | 
|   | 
| IntegerProperty  | m_mode {this,"Mode",0,"Mode to read file (0=offlineID/elecID, 1=online ID fields + HV module/line, 2=type is HV value to overwrite)"} | 
|   | 
| const CaloIdManager *  | m_caloIdMgr {nullptr} | 
|   | 
| const LArEM_ID *  | m_larem_id {nullptr} | 
|   | 
| const LArHEC_ID *  | m_larhec_id {nullptr} | 
|   | 
| const LArFCAL_ID *  | m_larfcal_id {nullptr} | 
|   | 
| const LArOnlineID *  | m_laronline_id {nullptr} | 
|   | 
| SG::ReadCondHandleKey< LArHVIdMapping >  | m_hvCablingKey {this, "LArHVIdMapping", "LArHVIdMap", "SG key for HV ID mapping"} | 
|   | 
| SG::ReadCondHandleKey< LArOnOffIdMapping >  | m_cablingKey {this, "OnOffMap", "LArOnOffIdMap", "SG key for mapping object"} | 
|   | 
| SG::ReadCondHandleKey< CaloDetDescrManager >  | m_caloMgrKey {this, "CaloDetDescrManager", "CaloDetDescrManager", "SG Key for CaloDetDescrManager in the Condition Store" } | 
|   | 
| SG::ReadCondHandleKey< LArHVPathology >  | m_hvPathologyKey {this, "HVPAthologyKey", "LArHVPathology", "Key for HV pathologies in Cond. store"} | 
|   | 
| DataObjIDColl  | m_extendedExtraObjects | 
|   | 
| StoreGateSvc_t  | m_evtStore | 
|   | Pointer to StoreGate (event store by default)  More...
  | 
|   | 
| StoreGateSvc_t  | m_detStore | 
|   | Pointer to StoreGate (detector store by default)  More...
  | 
|   | 
| std::vector< SG::VarHandleKeyArray * >  | m_vhka | 
|   | 
| bool  | m_varHandleArraysDeclared | 
|   | 
Definition at line 33 of file LArHVPathologyDbAlg.h.
 
◆ StoreGateSvc_t
◆ ~LArHVPathologyDbAlg()
  
  
      
        
          | LArHVPathologyDbAlg::~LArHVPathologyDbAlg  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
default   | 
  
 
 
◆ AthAlgorithm()
      
        
          | AthAlgorithm::AthAlgorithm | 
        
      
 
Constructor with parameters: 
Definition at line 51 of file AthAlgorithm.cxx.
   32     std::make_unique<AthenaBaseComps::AthAlgorithmDHUpdate>
 
   34      std::move (m_updateDataHandles));
 
 
 
 
◆ createCondObjects()
Definition at line 114 of file LArHVPathologyDbAlg.cxx.
  136     char commentSign(
'#');
 
  139     unsigned short electInd, pathologyType;
 
  150               << 
" in the input file");
 
  162       checkChar = 
static_cast<char> (
infile.get());
 
  165       if((checkChar >= 
'0') && (checkChar <= 
'9')) {
 
  168         std::vector<unsigned int> elecList;
 
  171       infile >> cellID >> electInd >> pathologyType;
 
  172           elecList.push_back(electInd);
 
  174           unsigned int bec,pos_neg,
FT,slot,
channel,hvModule,hvLine;
 
  175           infile >> 
bec >> pos_neg >> 
FT >> slot >> 
channel >> hvModule >> hvLine >> pathologyType;
 
  176           ATH_MSG_INFO(
" read " << 
bec << 
" " << pos_neg << 
" " << 
FT << 
" " << slot << 
" " << 
channel << 
" " << hvModule << 
" " << hvLine << 
" " << pathologyType);
 
  179           cellID = (
unsigned int)(
id.get_identifier32().get_compact());
 
  180           elecList=
getElectInd(**hvIdMapping, 
id,hvModule,hvLine,calodetdescrmgr);
 
  181           ATH_MSG_INFO(
" cellId , elecList size " << cellID << 
" " << elecList.size());
 
  183         for (
unsigned int i=0;
i<elecList.size();
i++) {
 
  185      electPath.
cellID = cellID;
 
  186      electPath.electInd = elecList[
i];
 
  187          if(
m_mode==2) electPath.pathologyType = ((pathologyType&0x0FFF)<<4);
 
  188          else electPath.pathologyType = pathologyType;
 
  189      pathologies.
m_v.push_back(electPath);
 
  191                << 
"," << elecList[
i]
 
  192                << 
"," << pathologyType << 
")");
 
  195       else if(checkChar==commentSign) {
 
  197     std::getline(
infile,commentLine);
 
  207     return std::make_optional<LArHVPathologiesDb>(pathologies);
 
 
 
 
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray> 
Definition at line 170 of file AthCommonDataStore.h.
  175                                                        hndl.documentation());
 
 
 
 
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey> 
Definition at line 156 of file AthCommonDataStore.h.
  161                                                        hndl.documentation());
 
 
 
 
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase> 
Definition at line 184 of file AthCommonDataStore.h.
  189                                                        hndl.documentation());
 
 
 
 
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property. 
- Parameters
 - 
  
    | name | Name of the property.  | 
    | hndl | Object holding the property value.  | 
    | doc | Documentation string for the property. | 
  
   
This is the version for types that derive from SG::VarHandleBase. The property value object is put on the input and output lists as appropriate; then we forward to the base class. 
Definition at line 245 of file AthCommonDataStore.h.
  250     this->declare(hndl.
vhKey());
 
  251     hndl.
vhKey().setOwner(
this);
 
  253     return PBASE::declareProperty(
name,hndl,
doc);
 
 
 
 
◆ declareProperty() [2/6]
Declare a new Gaudi property. 
- Parameters
 - 
  
    | name | Name of the property.  | 
    | hndl | Object holding the property value.  | 
    | doc | Documentation string for the property. | 
  
   
This is the version for types that derive from SG::VarHandleKey. The property value object is put on the input and output lists as appropriate; then we forward to the base class. 
Definition at line 221 of file AthCommonDataStore.h.
  229     return PBASE::declareProperty(
name,hndl,
doc);
 
 
 
 
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property. 
- Parameters
 - 
  
    | name | Name of the property.  | 
    | property | Object holding the property value.  | 
    | doc | Documentation string for the property. | 
  
   
This is the generic version, for types that do not derive from SG::VarHandleKey. It just forwards to the base class version of declareProperty. 
Definition at line 333 of file AthCommonDataStore.h.
  338     return PBASE::declareProperty(
name, property, 
doc);
 
 
 
 
◆ declareProperty() [5/6]
Declare a new Gaudi property. 
- Parameters
 - 
  
    | name | Name of the property.  | 
    | property | Object holding the property value.  | 
    | doc | Documentation string for the property. | 
  
   
This dispatches to either the generic declareProperty or the one for VarHandle/Key/KeyArray. 
Definition at line 352 of file AthCommonDataStore.h.
 
 
◆ declareProperty() [6/6]
◆ detStore()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
  
  
      
        
          | StatusCode LArHVPathologyDbAlg::execute  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
Definition at line 69 of file LArHVPathologyDbAlg.cxx.
   73   const EventContext& ctx = Gaudi::Hive::currentContext();
 
   75   int nevt = ctx.eventID().event_number();
 
   76   if (nevt!=1) 
return StatusCode::SUCCESS;
 
   84   const std::vector<LArHVPathologiesDb::LArHVElectPathologyDb>* pathologyContainer=
nullptr;
 
   93       return StatusCode::FAILURE;
 
   95     pathologyContainer=&(pathologies->m_v);
 
  101     if(!
sc.isSuccess()) {
 
  110   return StatusCode::SUCCESS;
 
 
 
 
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed. 
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given 
 
 
◆ extraOutputDeps()
  
  
      
        
          | const DataObjIDColl & AthAlgorithm::extraOutputDeps  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
overridevirtualinherited   | 
  
 
Return the list of extra output dependencies. 
This list is extended to include symlinks implied by inheritance relations. 
Definition at line 50 of file AthAlgorithm.cxx.
   57   return Algorithm::extraOutputDeps();
 
 
 
 
◆ getElectInd()
Definition at line 275 of file LArHVPathologyDbAlg.cxx.
  282   std::vector<unsigned int> 
list;
 
  290          unsigned int nelec = 
cell->getNumElectrodes();
 
  291          for (
unsigned int i=0;
i<nelec;
i++) {
 
  293             for (
unsigned int igap=0;igap<2;igap++) {
 
  294               if (electrode.
hvLineNo(igap, &hvIdMapping)==HVline) {
 
  295                   list.push_back(2*
i+igap);
 
  305          unsigned int nelec = 
cell->getNumElectrodes();
 
  306          for (
unsigned int i=0;
i<nelec;
i++) {
 
  308             for (
unsigned int igap=0;igap<2;igap++) {
 
  309               if (electrode.
hvLineNo(igap, &hvIdMapping)==HVline) {
 
  310                   list.push_back(2*
i+igap);
 
  321         for (
unsigned int igap=0;igap<2;igap++) {
 
  322            if (hvmodule.
hvLineNo(igap, &hvIdMapping)==HVline) {
 
  323              list.push_back(igap);
 
  333        for (
unsigned int igap=0;igap<2;igap++) {
 
  334         if (hvmodule.
hvLineNo(igap, &hvIdMapping)==HVline) {
 
  335           list.push_back(igap);
 
  345       unsigned int nsubgaps = 
cell->getNumSubgaps();
 
  346       for (
unsigned int i=0;
i<nsubgaps;
i++) {
 
  348           if (subgap.
hvLineNo(&hvIdMapping)==HVline) {
 
  359        for (
unsigned int i=0;
i<nlines;
i++) {
 
  362        if (
line2->hvLineNo(&hvIdMapping)==HVline) {
 
 
 
 
◆ getHVline()
Definition at line 374 of file LArHVPathologyDbAlg.cxx.
  380   unsigned int igap, ielec;
 
  387          unsigned int nelec = 
cell->getNumElectrodes();
 
  389          ielec = std::div(ElectInd - igap, 2).quot;
 
  391             ATH_MSG_ERROR(
"Wrong electrode number " << ielec << 
" for cell "<< 
id.get_identifier32().get_compact());
 
  394             return cell->getElectrode(ielec).hvLineNo(igap, &hvIdMapping);
 
  402          unsigned int nelec = 
cell->getNumElectrodes();
 
  404          ielec = std::div(ElectInd - igap, 2).quot;
 
  406             ATH_MSG_ERROR(
"Wrong electrode number " << ielec << 
" for cell "<< 
id.get_identifier32().get_compact());
 
  409             return cell->getElectrode(ielec).hvLineNo(igap, &hvIdMapping);
 
  419             ATH_MSG_ERROR(
"Wrong igap "<<ElectInd<<
" for EMBPS cell "<<
id.get_identifier32().get_compact());
 
  422             return hvmodule.
hvLineNo(ElectInd, &hvIdMapping);
 
  432             ATH_MSG_ERROR(
"Wrong igap "<<ElectInd<<
" for EMECPS cell "<<
id.get_identifier32().get_compact());
 
  435             return hvmodule.
hvLineNo(ElectInd, &hvIdMapping);
 
  444       unsigned int nsubgaps = 
cell->getNumSubgaps();
 
  445       if( ElectInd >= nsubgaps) {
 
  446          ATH_MSG_ERROR(
"Wrong igap "<<ElectInd<<
" for HEC cell "<<
id.get_identifier32().get_compact());
 
  449          return cell->getSubgap(ElectInd).hvLineNo(&hvIdMapping);
 
  458       if( ElectInd >= nlines) {
 
  459          ATH_MSG_ERROR(
"Wrong line "<<ElectInd<<
" for FCAL cell "<<
id.get_identifier32().get_compact());
 
  464        return line2->hvLineNo(&hvIdMapping);
 
  466        ATH_MSG_ERROR(
"Do not have HVLine for "<<ElectInd<<
" for FCAL cell "<<
id.get_identifier32().get_compact());
 
 
 
 
◆ hvPathology2AttrList()
Definition at line 478 of file LArHVPathologyDbAlg.cxx.
  480   coral::AttributeListSpecification* 
spec = 
new coral::AttributeListSpecification();
 
  481   spec->extend(
"blobVersion",
 
  483   spec->extend(
"Constants", 
"blob");  
 
  485   std::unique_ptr<AthenaAttributeList> attrList = std::make_unique<AthenaAttributeList>(*
spec);
 
  487   (*attrList)[
"blobVersion"].data<
unsigned int>() = (
unsigned int)0;
 
  490   TClass* 
klass = TClass::GetClass(
"LArHVPathologiesDb");
 
  491   if (
klass == 
nullptr) {
 
  497   TBufferFile 
buf(TBuffer::kWrite);
 
  499   if (
buf.WriteObjectAny(&pathologyContainer, 
klass) != 1) {
 
  505   void* adr = 
blob.startingAddress();
 
  506   memcpy(adr, 
buf.Buffer(), 
buf.Length());
 
 
 
 
◆ initialize()
  
  
      
        
          | StatusCode LArHVPathologyDbAlg::initialize  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ inputHandles()
Return this algorithm's input handles. 
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA. 
 
 
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ outputHandles()
Return this algorithm's output handles. 
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA. 
 
 
◆ printCondObjects()
Definition at line 210 of file LArHVPathologyDbAlg.cxx.
  220      return StatusCode::FAILURE;
 
  223   std::ofstream *
fout=
nullptr;
 
  226     pathologyContainer=&(pathHdl->getPathology());
 
  228   if (!pathologyContainer) {
 
  231     return StatusCode::SUCCESS;
 
  245          ATH_MSG_INFO(
"Got pathology for cell ID: " << electPath.cellID
 
  246              << 
"(" << electPath.electInd 
 
  247              << 
"," << electPath.pathologyType << 
") ");
 
  248          if(
fout) *
fout<<electPath.cellID<<
"\t"<<electPath.electInd<<
"\t"<<electPath.pathologyType<<std::endl;    
 
  250          ATH_MSG_INFO(
"Got pathology for cell ID: " << electPath.cellID);
 
  252          int HVLine=
getHVline(**hvIdMapping,
Identifier(electPath.cellID),electPath.electInd,calodetdescrmgr);
 
  256             int hvmodule=HVLine/1000;
 
  271   return StatusCode::SUCCESS;
 
 
 
 
◆ renounce()
◆ renounceArray()
◆ sysInitialize()
  
  
      
        
          | StatusCode AthAlgorithm::sysInitialize  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridevirtualinherited   | 
  
 
 
◆ sysStart()
Handle START transition. 
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container. 
 
 
◆ updateVHKA()
◆ m_cablingKey
◆ m_caloIdMgr
◆ m_caloMgrKey
◆ m_detStore
◆ m_evtStore
◆ m_extendedExtraObjects
  
  
      
        
          | DataObjIDColl AthAlgorithm::m_extendedExtraObjects | 
         
       
   | 
  
privateinherited   | 
  
 
 
◆ m_folder
  
  
      
        
          | StringProperty LArHVPathologyDbAlg::m_folder {this,"Folder","/LAR/HVPathologiesOfl/Pathologies"} | 
         
       
   | 
  
private   | 
  
 
 
◆ m_hvCablingKey
◆ m_hvPathologyKey
◆ m_inpFile
  
  
      
        
          | StringProperty LArHVPathologyDbAlg::m_inpFile {this,"InpFile",{}} | 
         
       
   | 
  
private   | 
  
 
 
◆ m_larem_id
◆ m_larfcal_id
◆ m_larhec_id
◆ m_laronline_id
◆ m_mode
  
  
      
        
          | IntegerProperty LArHVPathologyDbAlg::m_mode {this,"Mode",0,"Mode to read file (0=offlineID/elecID, 1=online ID fields + HV module/line, 2=type is HV value to overwrite)"} | 
         
       
   | 
  
private   | 
  
 
 
◆ m_outFile
  
  
      
        
          | StringProperty LArHVPathologyDbAlg::m_outFile {this,"OutFile",{}} | 
         
       
   | 
  
private   | 
  
 
 
◆ m_varHandleArraysDeclared
◆ m_vhka
◆ m_writeCondObjs
  
  
      
        
          | BooleanProperty LArHVPathologyDbAlg::m_writeCondObjs {this,"WriteCondObjs",false} | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following files:
 
def retrieve(aClass, aKey=None)
 
const LArFCAL_ID * m_larfcal_id
 
const LArEM_ID * m_larem_id
 
GeoIntrusivePtr< const HECCell > HECCellConstLink
@Class: HECCellConstLink
 
LAr EMEC Detector Element.
 
Smart Pointer to EMEC Cells. This reference counted link allocates on demand. It audits the total poi...
 
bool is_lar_fcal(Identifier id) const
 
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
 
const LArEM_ID * getEM_ID(void) const
 
const CaloDetDescrElement * get_element(const Identifier &cellId) const
get element by its identifier
 
std::vector< unsigned int > getElectInd(const LArHVIdMapping &hvIdMapping, const Identifier &id, unsigned int module, unsigned int line, const CaloDetDescrManager *calodetdescrmgr) const
 
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
 
int slot(const HWIdentifier id) const
Return the slot number of a hardware cell identifier:   slot = [1,15] Slot-ID in top part of the crat...
 
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
 
std::vector< SG::VarHandleKeyArray * > m_vhka
 
int sampling(const Identifier id) const
return sampling according to :
 
SG::ReadCondHandleKey< LArHVIdMapping > m_hvCablingKey
 
const LArOnlineID * m_laronline_id
 
const std::string & key() const
Return the StoreGate ID for the referenced object.
 
bool empty() const
Test if the key is blank.
 
LAr EMB Detector Element.
 
int barrel_ec(const HWIdentifier id) const
Return the position barrel or endcap of a hardware cell identifier:   barrel_ec = [0,...
 
GeoIntrusivePtr< const EMBCell > EMBCellConstLink
 
This class describe the base functionalities of a HypoTool used by the ComboAlg.
 
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
 
virtual void setOwner(IDataHandleHolder *o)=0
 
LAr HEC Detector Element.
 
BooleanProperty m_writeCondObjs
 
A tile of the forward calorimeter readout geometry.
 
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
 
int hvLineNo(int iGap, const LArHVIdMapping *hvIdMapping) const
 
int channel(const HWIdentifier id) const
Return the channel number of a hardware cell identifier   channel = [0,127] in all FEB.
 
const LArHEC_ID * getHEC_ID(void) const
 
virtual StatusCode sysInitialize() override
Override sysInitialize.
 
SG::ReadCondHandleKey< LArHVPathology > m_hvPathologyKey
 
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
 
::StatusCode StatusCode
StatusCode definition for legacy code.
 
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
 
LAr FCAL Detector Element.
 
const LArFCAL_ID * getFCAL_ID(void) const
 
int hvLineNo(const LArHVIdMapping *hvIdMapping) const
 
HWIdentifier channel_Id(int barrel_ec, int pos_neg, int feedthrough, int slot, int channel) const
create channel identifier from fields
 
int pos_neg(const HWIdentifier id) const
Return the side of a hardware cell identifier   pos_neg = [0,1] positive-side or negative-side Barrel...
 
int hvLineNo(int iGap, const LArHVIdMapping *hvIdMapping) const
 
bool is_lar_hec(Identifier id) const
 
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
 
static unsigned int getNumHVLines()
Get num hvlines.
 
virtual void renounce()=0
 
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
 
int hvLineNo(int iGap, const LArHVIdMapping *hvIdMapping) const
 
std::vector< LArHVElectPathologyDb > m_v
 
int barrel_ec(const Identifier id) const
return barrel_ec according to :
 
int getHVline(const LArHVIdMapping &hvIdMapping, const Identifier &id, short unsigned int ElectInd, const CaloDetDescrManager *calodetdescrmgr) const
 
StatusCode initialize(bool used=true)
 
const LArHEC_ID * m_larhec_id
 
DataObjIDColl m_extendedExtraObjects
 
int feedthrough(const HWIdentifier id) const
Return the feedthrough of a hardware cell identifier :   feedthrough = [0,31] Barrel - A/C side or H/...
 
This class provides the client interface for accessing the detector description information common to...
 
#define ATH_MSG_WARNING(x)
 
std::optional< LArHVPathologiesDb > createCondObjects(const EventContext &ctx, const CaloDetDescrManager *calodetdescrmgr) const
 
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
 
Describes one HV Module within the EMEc Presampler.
 
std::unique_ptr< AthenaAttributeList > hvPathology2AttrList(const LArHVPathologiesDb &pathologyContainer) const
 
const CaloIdManager * m_caloIdMgr
 
bool is_lar_em(Identifier id) const
 
int hvLineNo(int iGap, const LArHVIdMapping *hvIdMapping) const
 
Describes one HV Module within the EMB Presampler.
 
StatusCode printCondObjects(const EventContext &ctx, const CaloDetDescrManager *calodetdescrmgr, const std::vector< LArHVPathologiesDb::LArHVElectPathologyDb > *path=nullptr) const