|
ATLAS Offline Software
|
#include <gFexTower2SCellDecorator.h>
|
| gFexTower2SCellDecorator (const std::string &name, ISvcLocator *svc) |
|
virtual StatusCode | initialize () override |
| Function initialising the algorithm. More...
|
|
virtual StatusCode | execute (const EventContext &) const override |
| Function executing the algorithm. More...
|
|
virtual StatusCode | sysInitialize () override |
| Override sysInitialize. More...
|
|
virtual bool | isClonable () const override |
| Specify if the algorithm is clonable. More...
|
|
virtual unsigned int | cardinality () const override |
| Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant. More...
|
|
virtual StatusCode | sysExecute (const EventContext &ctx) override |
| Execute an algorithm. More...
|
|
virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. More...
|
|
virtual bool | filterPassed (const EventContext &ctx) const |
|
virtual void | setFilterPassed (bool state, const EventContext &ctx) const |
|
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 > &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 |
|
|
SG::ReadHandleKey< CaloCellContainer > | m_SCellKey {this, "SCell", "SCell", "SCell container"} |
|
SG::ReadHandleKey< xAOD::TriggerTowerContainer > | m_triggerTowerKey {this, "xODTriggerTowers", "xAODTriggerTowers", "xAODTriggerTowers container"} |
|
const std::string | m_ReadKey_name = "L1_gFexDataTowers" |
|
SG::ReadHandleKey< xAOD::gFexTowerContainer > | m_gTowersReadKey {this,"gTowersReadKey" ,"L1_gFexDataTowers", "Read gFex EDM Trigger Tower container"} |
|
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > | m_gSCellEtdecorKey { this, "gSCellEtdecorKey" , "L1_gFexDataTowers.SCellEt" , "SCell Et information of the gTower"} |
|
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > | m_gSCellEtadecorKey { this, "gSCellEtadecorKey" , "L1_gFexDataTowers.SCellEta" , "SCell Eta information of the gTower"} |
|
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > | m_gSCellPhidecorKey { this, "gSCellPhidecorKey" , "L1_gFexDataTowers.SCellPhi" , "SCell Phi information of the gTower"} |
|
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > | m_gSCellIDdecorKey { this, "gSCellIDdecorKey" , "L1_gFexDataTowers.SCellID" , "SCell IDs information of the gTower"} |
|
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > | m_gSCellSampledecorKey { this, "gSCellSampledecorKey", "L1_gFexDataTowers.SCellSample" , "SCell Samples information of the gTower"} |
|
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > | m_gtowerEtMeVdecorKey { this, "gtowerEtMeVdecorKey" , "L1_gFexDataTowers.gtowerEtMeV" , "gFex Tower Et information in MeV"} |
|
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > | m_gTowerEtdecorKey { this, "gTowerEtdecorKey" , "L1_gFexDataTowers.SCSumEncoded" , "SCell sum Et. ENCODED!"} |
|
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > | m_gTileEtMeVdecorKey { this, "gTileEtMeVdecorKey" , "L1_gFexDataTowers.TileEt" , "Tile Tower Et information in Encoded from jepET"} |
|
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > | m_gTileEtadecorKey { this, "gTileEtadecorKey" , "L1_gFexDataTowers.TileEta" , "Tile Tower Eta information in MeV"} |
|
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > | m_gTilePhidecorKey { this, "gTilePhidecorKey" , "L1_gFexDataTowers.TilePhi" , "Tile Tower Phi information in MeV"} |
|
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > | m_gTileIDdecorKey { this, "gTileIDdecorKey" , "L1_gFexDataTowers.TileID" , "Tile Tower ID information"} |
|
Gaudi::Property< std::string > | m_gFEX2Scellmapping {this, "gFEX2SCmapping" , "L1CaloFEXByteStream/gFEX_maps/2023_02_23/gfexSuperCellMap.txt" , "Text file to convert from simulation ID to SuperCell Identifier"} |
|
Gaudi::Property< std::string > | m_gFEX2Tilemapping {this, "gFEX2Tilemapping", "L1CaloFEXByteStream/gFEX_maps/2023_02_23/gfexTileMap.txt", "Text file to convert from simulation ID to Tile Identifier"} |
|
std::unordered_map< uint32_t, std::vector< uint64_t > > | m_map_TTower2SCells |
|
std::unordered_map< uint32_t, std::vector< uint32_t > > | m_map_TTower2Tile |
|
DataObjIDColl | m_extendedExtraObjects |
| Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks. More...
|
|
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 26 of file gFexTower2SCellDecorator.h.
◆ StoreGateSvc_t
◆ gFexTower2SCellDecorator()
LVL1::gFexTower2SCellDecorator::gFexTower2SCellDecorator |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
svc |
|
) |
| |
◆ cardinality()
unsigned int AthReentrantAlgorithm::cardinality |
( |
| ) |
const |
|
overridevirtualinherited |
Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.
Override this to return 0 for reentrant algorithms.
Override this to return 0 for reentrant algorithms.
Definition at line 55 of file AthReentrantAlgorithm.cxx.
◆ 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);
◆ 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.
◆ 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.
◆ 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 LVL1::gFexTower2SCellDecorator::execute |
( |
const EventContext & |
ctx | ) |
const |
|
overridevirtual |
Function executing the algorithm.
Definition at line 55 of file gFexTower2SCellDecorator.cxx.
59 if(!ScellContainer.isValid()) {
60 ATH_MSG_FATAL(
"Could not retrieve collection " << ScellContainer.key() );
61 return StatusCode::FAILURE;
66 if(!triggerTowerContainer.isValid()) {
67 ATH_MSG_FATAL(
"Could not retrieve collection " << triggerTowerContainer.key() );
68 return StatusCode::FAILURE;
73 if(!gTowerContainer.isValid()) {
74 ATH_MSG_FATAL(
"Could not retrieve collection " << gTowerContainer.key() );
75 return StatusCode::FAILURE;
78 if(ScellContainer->empty() || triggerTowerContainer->empty() || gTowerContainer->empty() ){
79 ATH_MSG_WARNING(
"Nothing to decorate here, at least one container is empty. ScellContainer.size="<<ScellContainer->size() <<
" or gTowerContainer.size=" << gTowerContainer->size() <<
" or triggerTowerContainer.size=" << triggerTowerContainer->size() );
80 return StatusCode::SUCCESS;
84 std::unordered_map< uint64_t, const CaloCell*> map_ScellID2ptr;
86 for(
const CaloCell* scell : *ScellContainer){
88 map_ScellID2ptr[
ID] = scell;
92 std::unordered_map< uint32_t, const xAOD::TriggerTower*> map_TileID2ptr;
97 if(std::abs(tower->eta())>1.5 || tower->sampling()!=1)
continue;
98 map_TileID2ptr[tower->coolId()]=tower;
117 uint32_t gFexID = gTower->gFEXtowerID();
118 uint16_t gFexEt = gTower->towerEt();
121 std::vector<float> scEt;
122 std::vector<float> scEta;
123 std::vector<float> scPhi;
124 std::vector<int> scID;
125 std::vector<int> scSample;
127 std::vector<int> TileEt;
128 std::vector<float> TileEta;
129 std::vector<float> TilePhi;
135 ATH_MSG_ERROR(
"ID: "<<gFexID<<
" not found on map m_map_TTower2SCells");
136 return StatusCode::FAILURE;
139 for (
auto const& SCellID : it_TTower2SCells->second ) {
142 auto it_ScellID2ptr = map_ScellID2ptr.find(SCellID);
143 if(it_ScellID2ptr == map_ScellID2ptr.end()) {
144 ATH_MSG_WARNING(
"Scell ID: 0x"<<std::hex<<(SCellID >> 32)<<std::dec<<
" not found on map map_ScellID2ptr");
146 scEt.push_back(-9999);
147 scEta.push_back(-99);
148 scPhi.push_back(-99);
150 scID.push_back( SCellID >> 32 );
151 scSample.push_back(-99);
157 const CaloCell* myCell = it_ScellID2ptr->second;
158 float et = myCell->
et();
163 int prov = (myCell)->provenance();
164 int SCprov = prov&0xFFF;
165 bool isMasked = (SCprov&0x80)==0x80;
169 scEta.push_back(myCell->
eta());
170 scPhi.push_back(myCell->
phi());
172 scID.push_back( SCellID >> 32 );
173 scSample.push_back(
sample);
179 float tmpSCellEt = 0;
180 for(
const auto& tmpet : scEt){
187 gTowerSCellEt (*gTower) = std::move(scEt);
188 gTowerSCellEta (*gTower) = std::move(scEta);
189 gTowerSCellPhi (*gTower) = std::move(scPhi);
190 gTowerSCellID (*gTower) = std::move(scID);
191 gTowerSCellSample (*gTower) = std::move(scSample);
192 gTowerEtMeV (*gTower) = gFexEt * 200;
193 gTowerSCEtEncoded (*gTower) = scSumEtEncoded;
202 for (
auto const& TileTowerID : it_TTower2Tile->second ) {
205 auto it_TileID2ptr = map_TileID2ptr.find(TileTowerID);
206 if(it_TileID2ptr == map_TileID2ptr.end()) {
210 TileEt.push_back(-9999);
211 TileEta.push_back(-99);
212 TilePhi.push_back(-99);
218 TileEt.push_back(tileTower->
jepET()*1000);
219 TileEta.push_back(tileTower->
eta());
221 TilePhi.push_back(phi);
222 TileID.push_back(TileTowerID);
231 gTowerTileEt (*gTower) = std::move(TileEt);
232 gTowerTileID (*gTower) = std::move(
TileID);
233 gTowerTileEta (*gTower) = std::move(TileEta);
234 gTowerTilePhi (*gTower) = std::move(TilePhi);
238 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 & AthReentrantAlgorithm::extraOutputDeps |
( |
| ) |
const |
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 79 of file AthReentrantAlgorithm.cxx.
86 return Algorithm::extraOutputDeps();
◆ filterPassed()
virtual bool AthReentrantAlgorithm::filterPassed |
( |
const EventContext & |
ctx | ) |
const |
|
inlinevirtualinherited |
◆ initialize()
StatusCode LVL1::gFexTower2SCellDecorator::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.
◆ isBadSCellID()
bool LVL1::gFexTower2SCellDecorator::isBadSCellID |
( |
const std::string & |
ID | ) |
const |
|
private |
◆ isClonable()
bool AthReentrantAlgorithm::isClonable |
( |
| ) |
const |
|
overridevirtualinherited |
Specify if the algorithm is clonable.
Reentrant algorithms are clonable.
Reimplemented in Simulation::BeamEffectsAlg, InDet::SiTrackerSpacePointFinder, InDet::SCT_Clusterization, InDet::SiSPSeededTrackFinder, SCTRawDataProvider, InDet::GNNSeedingTrackMaker, SCT_PrepDataToxAOD, RoIBResultToxAOD, InDet::SiSPGNNTrackMaker, SCT_CablingCondAlgFromCoraCool, SCT_ReadCalibDataTestAlg, SCT_CablingCondAlgFromText, SCT_ReadCalibChipDataTestAlg, SCT_TestCablingAlg, SCT_ConfigurationConditionsTestAlg, ITkPixelCablingAlg, ITkStripCablingAlg, SCTEventFlagWriter, SCT_ConditionsSummaryTestAlg, SCT_ModuleVetoTestAlg, SCT_MonitorConditionsTestAlg, SCT_LinkMaskingTestAlg, SCT_MajorityConditionsTestAlg, SCT_RODVetoTestAlg, SCT_SensorsTestAlg, SCT_TdaqEnabledTestAlg, SCT_SiliconConditionsTestAlg, SCTSiLorentzAngleTestAlg, SCT_ByteStreamErrorsTestAlg, SCT_ConditionsParameterTestAlg, SCT_FlaggedConditionTestAlg, SCT_StripVetoTestAlg, SCT_RawDataToxAOD, and SCTSiPropertiesTestAlg.
Definition at line 44 of file AthReentrantAlgorithm.cxx.
◆ 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.
◆ ReadSCfromFile()
StatusCode LVL1::gFexTower2SCellDecorator::ReadSCfromFile |
( |
const std::string & |
fileName | ) |
|
|
private |
Definition at line 242 of file gFexTower2SCellDecorator.cxx.
248 if ( !myfile.is_open() ){
250 return StatusCode::FAILURE;
254 while ( std::getline (myfile, myline) ) {
255 std::vector<uint64_t> SCellvector;
259 myline.erase(myline.begin(), std::find_if(myline.begin(), myline.end(), [](
int ch) {
260 return !std::isspace(ch);
262 if(myline[0] ==
'#')
continue;
265 std::stringstream oneSCellID(myline);
268 std::string substr =
"";
272 while(std::getline(oneSCellID, substr,
' '))
276 TTID = std::stoi(substr);
281 return StatusCode::FAILURE;
285 uint64_t scid_uint64 = std::strtoull(substr.c_str(),
nullptr, 0);
288 if(scid_uint64 == 0xffffffffffffffff)
continue;
290 SCellvector.push_back(scid_uint64);
299 return StatusCode::SUCCESS;
◆ ReadTilefromFile()
StatusCode LVL1::gFexTower2SCellDecorator::ReadTilefromFile |
( |
const std::string & |
fileName | ) |
|
|
private |
Definition at line 313 of file gFexTower2SCellDecorator.cxx.
320 if ( !myfile.is_open() ){
322 return StatusCode::FAILURE;
326 while ( std::getline (myfile, myline) ) {
328 std::vector<uint32_t> Tilevector;
331 myline.erase(myline.begin(), std::find_if(myline.begin(), myline.end(), [](
int ch) {
332 return !std::isspace(ch);
334 if(myline[0] ==
'#')
continue;
337 std::stringstream oneTileID(myline);
340 std::string substr =
"";
344 while(std::getline(oneTileID, substr,
' ')){
347 gTowerID = std::stoi(substr);
350 uint32_t tileid_uint32 = std::strtoul(substr.c_str(),
nullptr, 0);
351 Tilevector.push_back(tileid_uint32);
360 return StatusCode::SUCCESS;
◆ renounce()
◆ renounceArray()
◆ setFilterPassed()
virtual void AthReentrantAlgorithm::setFilterPassed |
( |
bool |
state, |
|
|
const EventContext & |
ctx |
|
) |
| const |
|
inlinevirtualinherited |
◆ sysExecute()
StatusCode AthReentrantAlgorithm::sysExecute |
( |
const EventContext & |
ctx | ) |
|
|
overridevirtualinherited |
Execute an algorithm.
We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.
Definition at line 67 of file AthReentrantAlgorithm.cxx.
69 return Gaudi::Algorithm::sysExecute (ctx);
◆ sysInitialize()
StatusCode AthReentrantAlgorithm::sysInitialize |
( |
| ) |
|
|
overridevirtualinherited |
Override sysInitialize.
Override sysInitialize from the base class.
Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc
Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc
Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.
Reimplemented in InputMakerBase, and HypoBase.
Definition at line 96 of file AthReentrantAlgorithm.cxx.
107 if ( cs.retrieve().isFailure() ) {
109 return StatusCode::SUCCESS;
111 if (cs->regHandle(
this,*
h).isFailure()) {
112 sc = StatusCode::FAILURE;
113 ATH_MSG_ERROR(
"unable to register WriteCondHandle " <<
h->fullKey()
◆ 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_detStore
◆ m_evtStore
◆ m_extendedExtraObjects
DataObjIDColl AthReentrantAlgorithm::m_extendedExtraObjects |
|
privateinherited |
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Empty if no symlinks were found.
Definition at line 153 of file AthReentrantAlgorithm.h.
◆ m_gFEX2Scellmapping
Gaudi::Property<std::string> LVL1::gFexTower2SCellDecorator::m_gFEX2Scellmapping {this, "gFEX2SCmapping" , "L1CaloFEXByteStream/gFEX_maps/2023_02_23/gfexSuperCellMap.txt" , "Text file to convert from simulation ID to SuperCell Identifier"} |
|
private |
◆ m_gFEX2Tilemapping
Gaudi::Property<std::string> LVL1::gFexTower2SCellDecorator::m_gFEX2Tilemapping {this, "gFEX2Tilemapping", "L1CaloFEXByteStream/gFEX_maps/2023_02_23/gfexTileMap.txt", "Text file to convert from simulation ID to Tile Identifier"} |
|
private |
◆ m_gSCellEtadecorKey
◆ m_gSCellEtdecorKey
◆ m_gSCellIDdecorKey
◆ m_gSCellPhidecorKey
◆ m_gSCellSampledecorKey
◆ m_gTileEtadecorKey
◆ m_gTileEtMeVdecorKey
◆ m_gTileIDdecorKey
◆ m_gTilePhidecorKey
◆ m_gTowerEtdecorKey
◆ m_gtowerEtMeVdecorKey
◆ m_gTowersReadKey
◆ m_map_TTower2SCells
std::unordered_map< uint32_t, std::vector<uint64_t> > LVL1::gFexTower2SCellDecorator::m_map_TTower2SCells |
|
private |
◆ m_map_TTower2Tile
std::unordered_map< uint32_t, std::vector<uint32_t> > LVL1::gFexTower2SCellDecorator::m_map_TTower2Tile |
|
private |
◆ m_ReadKey_name
const std::string LVL1::gFexTower2SCellDecorator::m_ReadKey_name = "L1_gFexDataTowers" |
|
private |
◆ m_SCellKey
◆ m_triggerTowerKey
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
static std::string find_calib_file(const std::string &logical_file_name)
StatusCode ReadSCfromFile(const std::string &)
Extra patterns decribing particle interation process.
virtual double phi() const override final
get phi (through CaloDetDescrElement)
std::vector< Identifier > ID
std::string find(const std::string &s)
return a remapped string
virtual double phi() const final
The azimuthal angle ( ) of the particle.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
static unsigned int compress(float Energy)
Compress data.
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > m_gSCellIDdecorKey
Gaudi::Property< std::string > m_gFEX2Tilemapping
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)
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > m_gTileIDdecorKey
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > m_gSCellEtdecorKey
SG::ReadHandleKey< xAOD::gFexTowerContainer > m_gTowersReadKey
virtual void setOwner(IDataHandleHolder *o)=0
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > m_gSCellPhidecorKey
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > m_gtowerEtMeVdecorKey
AthReentrantAlgorithm()
Default constructor:
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > m_gTileEtMeVdecorKey
Helper class for TileCal offline identifiers.
::StatusCode StatusCode
StatusCode definition for legacy code.
Handle class for adding a decoration to an object.
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > m_gTowerEtdecorKey
Description of TriggerTower_v2.
virtual double eta() const final
The pseudorapidity ( ) of the particle.
virtual double et() const override final
get et
Class describing input data of a LVL1 eFEX.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
AthROOTErrorHandlerSvc * svc
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > m_gTileEtadecorKey
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
bool isBadSCellID(const std::string &) const
virtual StatusCode sysInitialize() override
Override sysInitialize.
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > m_gSCellSampledecorKey
Data object for each calorimeter readout cell.
#define ATH_MSG_WARNING(x)
std::unordered_map< uint32_t, std::vector< uint32_t > > m_map_TTower2Tile
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > m_gSCellEtadecorKey
StatusCode ReadTilefromFile(const std::string &)
SG::ReadHandleKey< xAOD::TriggerTowerContainer > m_triggerTowerKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
std::unordered_map< uint32_t, std::vector< uint64_t > > m_map_TTower2SCells
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > m_gTilePhidecorKey
Gaudi::Property< std::string > m_gFEX2Scellmapping
uint8_t jepET() const
get jepET from peak of lut_jep
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
SG::ReadHandleKey< CaloCellContainer > m_SCellKey
virtual double eta() const override final
get eta (through CaloDetDescrElement)