|
ATLAS Offline Software
|
#include <TBXMLCaloCellWriterTool.h>
|
| TBXMLCaloCellWriterTool (const std::string &type, const std::string &name, const IInterface *parent) |
| tool constructor More...
|
|
| ~TBXMLCaloCellWriterTool () |
|
virtual StatusCode | initialize () override |
|
virtual StatusCode | writeOut (std::ostream &outStream, const std::string &entryTag=" ") |
|
virtual StatusCode | finalize () override |
|
virtual StatusCode | finalize (std::ostream &outStream) |
|
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 | sysInitialize () override |
| Perform system initialization for an algorithm. 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 > &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 |
|
|
virtual StatusCode | writeRunFiles (const std::string &fileDir, unsigned int runNumber) override |
|
virtual StatusCode | writeEvent (std::ostream &outFile, const std::string &) override |
|
virtual StatusCode | convertProperties () |
|
virtual void | openDictionary (std::ostream &outStream, const std::string &dictName, const std::vector< std::string > &listOfElements) |
|
virtual void | openDictionary (std::ostream &outStream, const std::string &dictName) |
|
virtual void | closeDictionary (std::ostream &outStream) |
|
virtual void | addDictElement (std::ostream &outStream, const std::string &theElement, const std::vector< std::string > &listOfElements) |
|
virtual void | addAttributes (std::ostream &outStream, const std::string &theElement, const std::vector< std::string > &listOfAttributes) |
|
virtual void | openElement (std::ostream &outStream, const std::string &theElement, const std::vector< std::string > &listOfAttr, const std::vector< std::string > &listOfValues) |
|
virtual void | closeElement (std::ostream &outStream, const std::string &theElement) |
|
virtual void | closeElement (std::ostream &outStream) |
|
virtual void | closeAllElements (std::ostream &outStream) |
|
void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution More...
|
|
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
|
void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. More...
|
|
Definition at line 26 of file TBXMLCaloCellWriterTool.h.
◆ StoreGateSvc_t
◆ TBXMLCaloCellWriterTool()
TBXMLCaloCellWriterTool::TBXMLCaloCellWriterTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~TBXMLCaloCellWriterTool()
TBXMLCaloCellWriterTool::~TBXMLCaloCellWriterTool |
( |
| ) |
|
◆ addAttributes()
void TBXMLWriterToolBase::addAttributes |
( |
std::ostream & |
outStream, |
|
|
const std::string & |
theElement, |
|
|
const std::vector< std::string > & |
listOfAttributes |
|
) |
| |
|
protectedvirtualinherited |
Definition at line 93 of file TBXMLWriterToolBase.cxx.
98 outStream <<
" <!ATTLIST " << theElement << std::endl;
99 for (
unsigned int i=0;
i<listOfAttr.size();
i++ )
101 outStream <<
" " << listOfAttr[
i] << std::endl;
103 outStream <<
">" << std::endl;
◆ addDictElement()
void TBXMLWriterToolBase::addDictElement |
( |
std::ostream & |
outStream, |
|
|
const std::string & |
theElement, |
|
|
const std::vector< std::string > & |
listOfElements |
|
) |
| |
|
protectedvirtualinherited |
Definition at line 59 of file TBXMLWriterToolBase.cxx.
64 outStream <<
"<!ELEMENT " << theElement;
66 if ( listOfElements.size() == 0 )
68 outStream <<
">" << std::endl;
73 if ( listOfElements[0] ==
"ANY" ||
74 listOfElements[0] ==
"EMPTY" ||
75 listOfElements[0] ==
"ALL" )
77 outStream <<
" " << listOfElements[0] <<
" >" << std::endl;
81 outStream <<
" (" << listOfElements[0];
82 for (
unsigned int i=1;
i<listOfElements.size();
i++ )
84 outStream <<
"," << listOfElements[
i];
86 outStream <<
") >" << std::endl;
◆ closeAllElements()
void TBXMLWriterToolBase::closeAllElements |
( |
std::ostream & |
outStream | ) |
|
|
protectedvirtualinherited |
◆ closeDictionary()
void TBXMLWriterToolBase::closeDictionary |
( |
std::ostream & |
outStream | ) |
|
|
protectedvirtualinherited |
◆ closeElement() [1/2]
void TBXMLWriterToolBase::closeElement |
( |
std::ostream & |
outStream | ) |
|
|
protectedvirtualinherited |
◆ closeElement() [2/2]
void TBXMLWriterToolBase::closeElement |
( |
std::ostream & |
outStream, |
|
|
const std::string & |
theElement |
|
) |
| |
|
protectedvirtualinherited |
Definition at line 141 of file TBXMLWriterToolBase.cxx.
148 outStream <<
"</" << (*inVec) <<
">" << std::endl;
153 outStream <<
"<!-- XML Structural Problem! \n\n"
154 <<
" cannot find an element " << theElement <<
"!\n\n"
155 <<
"-->" << std::endl;
◆ convertProperties()
StatusCode TBXMLCaloCellWriterTool::convertProperties |
( |
| ) |
|
|
protectedvirtual |
Definition at line 437 of file TBXMLCaloCellWriterTool.cxx.
451 while ( firstCalo != lastCalo )
453 if ( *firstCalo ==
"LAREM" )
458 else if ( *firstCalo ==
"LARHEC" )
463 else if ( *firstCalo ==
"LARFCAL" )
468 else if ( *firstCalo ==
"TILE" )
487 if (
sample ==
"PreSamplerB" )
495 if (
sample ==
"TileBar0" )
497 if (
sample ==
"TileBar1" )
499 if (
sample ==
"TileBar2" )
501 if (
sample ==
"TileExt0" )
503 if (
sample ==
"TileExt1" )
505 if (
sample ==
"TileExt2" )
530 ? StatusCode::FAILURE
531 : StatusCode::SUCCESS;
◆ 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]
◆ 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
◆ finalize() [1/2]
virtual StatusCode TBXMLWriterToolBase::finalize |
( |
| ) |
|
|
inlineoverridevirtualinherited |
◆ finalize() [2/2]
virtual StatusCode TBXMLWriterToolBase::finalize |
( |
std::ostream & |
outStream | ) |
|
|
inlinevirtualinherited |
◆ initialize()
StatusCode TBXMLCaloCellWriterTool::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()
◆ openDictionary() [1/2]
void TBXMLWriterToolBase::openDictionary |
( |
std::ostream & |
outStream, |
|
|
const std::string & |
dictName |
|
) |
| |
|
protectedvirtualinherited |
◆ openDictionary() [2/2]
void TBXMLWriterToolBase::openDictionary |
( |
std::ostream & |
outStream, |
|
|
const std::string & |
dictName, |
|
|
const std::vector< std::string > & |
listOfElements |
|
) |
| |
|
protectedvirtualinherited |
◆ openElement()
void TBXMLWriterToolBase::openElement |
( |
std::ostream & |
outStream, |
|
|
const std::string & |
theElement, |
|
|
const std::vector< std::string > & |
listOfAttr, |
|
|
const std::vector< std::string > & |
listOfValues |
|
) |
| |
|
protectedvirtualinherited |
Definition at line 108 of file TBXMLWriterToolBase.cxx.
116 outStream <<
"<" << theElement;
117 if ( listOfAttr.size() > 0 && listOfValues.size() == listOfAttr.size() )
119 for (
unsigned int i=0;
i<listOfAttr.size();
i++ )
121 outStream <<
" " << listOfAttr[
i] <<
"="
127 outStream <<
">" << std::endl;
◆ 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.
◆ renounce()
◆ renounceArray()
◆ sysInitialize()
◆ 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()
◆ writeEvent()
StatusCode TBXMLCaloCellWriterTool::writeEvent |
( |
std::ostream & |
outFile, |
|
|
const std::string & |
|
|
) |
| |
|
overrideprotectedvirtual |
Implements TBXMLWriterToolBase.
Definition at line 82 of file TBXMLCaloCellWriterTool.cxx.
98 <<
"tool does not hang off the TBXMLWriter algorithm."
100 return StatusCode::FAILURE;
105 if ( checkOut.isFailure() )
108 <<
"cannot convert properties correctly!"
110 return StatusCode::FAILURE;
116 <<
"list of included calo samplings:"
123 <<
"\042 with SubCalo index "
133 const EventContext& ctx = Gaudi::Hive::currentContext();
138 if ( checkOut.isFailure() )
141 <<
"cannot produce run XML files."
143 return StatusCode::FAILURE;
162 outStream <<
"<!-- TBXMLCaloCellWriterTool: begin write cell container "
165 std::vector<std::string> theCellAttrNames;
166 theCellAttrNames.push_back(
"name");
167 theCellAttrNames.push_back(
"ncols");
168 theCellAttrNames.push_back(
"nrows");
169 theCellAttrNames.push_back(
"idtype");
170 theCellAttrNames.push_back(
"etype");
171 std::vector<std::string> theCellAttrValues;
173 std::ostringstream theCols;
174 theCols <<
m_nCols << std::ends;
180 std::ostringstream theRows;
181 theRows <<
nRows << std::ends;
182 theCellAttrValues.push_back(theCols.str());
183 theCellAttrValues.push_back(theRows.str());
184 theCellAttrValues.push_back(
"uint");
185 theCellAttrValues.push_back(
"double");
187 theCellAttrNames,theCellAttrValues);
198 baseIndex, lastIndex);
200 unsigned int theCtr = 0;
201 bool isTerminated =
false;
202 for ( ; firstCell != lastCell; ++firstCell )
205 double eta = (*firstCell)->eta();
206 double phi = (*firstCell)->phi();
223 (*firstCell)->caloDDE()->calo_hash();
258 if ( theCtr == 0 || ( theCtr %
m_nCols ) == 0 )
262 theIndex -= (
int)baseIndex;
263 boost::io::ios_base_all_saver streamsave (outStream);
265 << std::setw(10) << std::setfill(
' ') << theIndex <<
" "
266 << std::setw(3) << std::setfill(
' ') << subIndex <<
" "
267 << std::setw(3) << std::setfill(
' ') << lyrIndex <<
" "
268 << std::setw(3) << std::setfill(
' ') << regIndex <<
" "
269 << std::setw(3) << std::setfill(
' ') << etaIndex <<
" "
270 << std::setw(3) << std::setfill(
' ') <<
phiIndex <<
" "
271 << std::setw(10) << std::setprecision(5) <<
theEnergy;
273 if ( (isTerminated = ( theCtr %
m_nCols )) == 0 )
275 outStream << std::endl;
279 if ( ! isTerminated ) outStream << std::endl;
282 outStream <<
"<!-- TBXMLCaloCellWriterTool: end write cell container "
286 return StatusCode::SUCCESS;
◆ writeOut()
virtual StatusCode TBXMLWriterToolBase::writeOut |
( |
std::ostream & |
outStream, |
|
|
const std::string & |
entryTag = " " |
|
) |
| |
|
inlinevirtualinherited |
◆ writeRunFiles()
StatusCode TBXMLCaloCellWriterTool::writeRunFiles |
( |
const std::string & |
fileDir, |
|
|
unsigned int |
runNumber |
|
) |
| |
|
overrideprotectedvirtual |
Implements TBXMLWriterToolBase.
Definition at line 294 of file TBXMLCaloCellWriterTool.cxx.
303 std::ostringstream thisFileName;
304 thisFileName << fileDir <<
"/geom."
305 << std::setw(6) << std::setfill(
'0')
308 std::ofstream thisFileStream((thisFileName.str()).c_str());
311 std::vector<std::string> theRunElements;
312 theRunElements.push_back(
"FCalGeomTable*");
313 this->
openDictionary(thisFileStream,
"FCalGeomTable",theRunElements);
314 std::vector<std::string> theRunAttr;
315 theRunAttr.push_back(
"name CDATA #REQUIRED");
316 this->
addAttributes(thisFileStream,
"FCalGeomTable",theRunAttr);
319 std::vector<std::string> anyData;
320 anyData.push_back(
"ANY");
322 std::vector<std::string> theGeomAttr;
323 theGeomAttr.push_back(
"name CDATA #REQUIRED");
324 this->
addAttributes(thisFileStream,
"FCalGeomTable",theGeomAttr);
339 firstIndex, lastIndex);
340 safeIndex = firstIndex;
343 std::vector<std::string> theRunValues(theRunAttr.size());
344 for (
unsigned int i=0;
i<theRunAttr.size();
i++ )
346 if ( (theRunAttr[
i]).
find(
"name") != std::string::npos )
348 theRunValues[
i] =
"FCalMod0";
350 theRunAttr[
i].substr(0,theRunAttr[
i].find_first_of(
" "));
353 this->
openElement(thisFileStream,
"FCalGeomTable",theRunAttr,theRunValues);
354 theRunValues[0] =
"FCalCells";
355 this->
openElement(thisFileStream,
"FCalGeomTable",theRunAttr,theRunValues);
356 thisFileStream <<
"<!-- 32-bit Id"
364 <<
"-->" << std::endl;
367 std::map<int,double> smallestDx;
368 std::map<int,double> largestDx;
369 for (
unsigned int iCtr = (
unsigned int)safeIndex;
370 iCtr <= (
unsigned int)lastIndex; iCtr++ )
377 double dx = theElement->
dx();
379 if ( smallestDx.find(theCalo) == smallestDx.end() )
381 smallestDx[theCalo] =
dx;
382 largestDx[theCalo] =
dx;
386 if (
dx < smallestDx[theCalo] ) smallestDx[theCalo] =
dx;
387 if (
dx > largestDx[theCalo] ) largestDx[theCalo] =
dx;
392 for (
unsigned int iCtr=(
unsigned int)firstIndex;
393 iCtr<=(
unsigned int)lastIndex; iCtr++ )
405 double theX = theElement->
x();
406 double theY = theElement->
y();
407 double theZ = theElement->
z();
409 double dx = theElement->
dx();
410 int tileSize =
dx > 1.1*smallestDx[theCalo] ? 1 : 0;
413 thisFileStream <<
" "
415 << std::setfill(
' ') << iCtr-(
unsigned int)firstIndex
417 << std::setw(2) << std::setfill(
' ') << theModule
419 << std::setw(2) << std::setfill(
' ') << theEta
421 << std::setw(2) << std::setfill(
' ') << thePhi
423 << std::setw(10) << std::setprecision(5) << theX <<
" "
424 << std::setw(10) << std::setprecision(5) << theY <<
" "
425 << std::setw(10) << std::setprecision(5) << theZ <<
" "
427 << std::setw(2) << std::setfill(
' ') << tileSize
431 thisFileStream.close();
433 return StatusCode::SUCCESS;
◆ m_caloIndices
◆ m_caloMgrKey
Initial value:{ this
, "CaloDetDescrManager"
, "CaloDetDescrManager"
, "SG Key for CaloDetDescrManager in the Condition Store" }
Definition at line 78 of file TBXMLCaloCellWriterTool.h.
◆ m_caloSamplings
◆ m_cellContainer
std::string TBXMLCaloCellWriterTool::m_cellContainer |
|
private |
◆ m_detStore
◆ m_dictionary
std::string TBXMLWriterToolBase::m_dictionary |
|
protectedinherited |
◆ m_doubleQuote
const std::string TBXMLWriterToolBase::m_doubleQuote = "\042" |
|
staticprotectedinherited |
◆ m_elementList
std::vector<std::string> TBXMLWriterToolBase::m_elementList |
|
protectedinherited |
◆ m_etaMax
double TBXMLCaloCellWriterTool::m_etaMax |
|
private |
◆ m_etaMin
double TBXMLCaloCellWriterTool::m_etaMin |
|
private |
◆ m_evtStore
◆ m_firstEvent
bool TBXMLCaloCellWriterTool::m_firstEvent |
|
private |
◆ m_idHelper
◆ m_includedCalos
std::vector<std::string> TBXMLCaloCellWriterTool::m_includedCalos |
|
private |
◆ m_includedSamplings
std::vector<std::string> TBXMLCaloCellWriterTool::m_includedSamplings |
|
private |
◆ m_mother
◆ m_nCols
const unsigned int TBXMLCaloCellWriterTool::m_nCols = 2 |
|
staticprivate |
◆ m_phiMax
double TBXMLCaloCellWriterTool::m_phiMax |
|
private |
◆ m_phiMin
double TBXMLCaloCellWriterTool::m_phiMin |
|
private |
◆ m_runNumbers
std::unordered_set<EventIDBase::number_type> TBXMLCaloCellWriterTool::m_runNumbers |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
JetConstituentVector::iterator iterator
Const iterator class for DataVector/DataList.
int region(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
Scalar phi() const
phi method
std::string find(const std::string &s)
return a remapped string
Scalar eta() const
pseudorapidity method
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
bool is_em_endcap(const Identifier id) const
test if the id belongs to the EM Endcap
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
const CaloDetDescrElement * get_element(const Identifier &cellId) const
get element by its identifier
CaloCellContainer::const_iterator beginConstCalo(CaloCell_ID::SUBCALO caloNum) const
get const iterators on cell of just one calo
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool is_tile_barrel(const Identifier id) const
test if the id belongs to the Tiles barrel
bool is_hec(const Identifier id) const
test if the id belongs to the HEC
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
msgSvc
Provide convenience handles for various services.
void calo_cell_hash_range(const Identifier id, IdentifierHash &caloCellMin, IdentifierHash &caloCellMax) const
to loop on 'global' cell hashes of one sub-calorimeter alone
bool is_fcal(const Identifier id) const
test if the id belongs to the FCAL - true also for MiniFCAL
int sampling(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
::StatusCode StatusCode
StatusCode definition for legacy code.
bool is_tile_extbarrel(const Identifier id) const
test if the id belongs to the Tiles extended barrel
int nCellsCalo(const CaloCell_ID::SUBCALO caloNum) const
get number of cels of given calorimeter
int eta(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
int sub_calo(const Identifier id) const
returns an int taken from SUBCALO enum and describing the subCalo to which the Id belongs.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
bool is_em_barrel(const Identifier id) const
test if the id belongs to the EM barrel
size_t dataSize(TDA::PayloadIterator start)
Size in bytes of the buffer that is needed to decode next fragment data content.
StatusCode initialize(bool used=true)
int phi(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
Container class for CaloCell.
Identifier cell_id(const int subCalo, const int barec_or_posneg, const int sampling_or_fcalmodule, const int region_or_dummy, const int eta, const int phi) const
Make a cell (== channel) ID from constituting fields and subCalo index; for (Mini)FCAL,...
unsigned int phiIndex(float phi, float binsize)
calculate phi index for a given phi
This class provides the client interface for accessing the detector description information common to...
CaloCell_ID::CaloSample getSampling() const
cell sampling
CaloCellContainer::const_iterator endConstCalo(CaloCell_ID::SUBCALO caloNum) const
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
unsigned constexpr int nRows
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
const std::string & getFileDir() const