|
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 24 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 56 of file gFexTower2SCellDecorator.cxx.
60 if(!ScellContainer.isValid()) {
61 ATH_MSG_FATAL(
"Could not retrieve collection " << ScellContainer.key() );
62 return StatusCode::FAILURE;
67 if(!triggerTowerContainer.isValid()) {
68 ATH_MSG_FATAL(
"Could not retrieve collection " << triggerTowerContainer.key() );
69 return StatusCode::FAILURE;
74 if(!gTowerContainer.isValid()) {
75 ATH_MSG_FATAL(
"Could not retrieve collection " << gTowerContainer.key() );
76 return StatusCode::FAILURE;
79 if(ScellContainer->empty() || triggerTowerContainer->empty() || gTowerContainer->empty() ){
80 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() );
81 return StatusCode::SUCCESS;
85 std::unordered_map< uint64_t, const CaloCell*> map_ScellID2ptr;
87 for(
const CaloCell* scell : *ScellContainer){
89 map_ScellID2ptr[
ID] = scell;
93 std::unordered_map< uint32_t, const xAOD::TriggerTower*> map_TileID2ptr;
98 if(std::abs(tower->eta())>1.5 || tower->sampling()!=1)
continue;
99 map_TileID2ptr[tower->coolId()]=tower;
118 uint32_t gFexID = gTower->gFEXtowerID();
119 uint16_t gFexEt = gTower->towerEt();
122 std::vector<float> scEt;
123 std::vector<float> scEta;
124 std::vector<float> scPhi;
125 std::vector<int> scID;
126 std::vector<int> scSample;
128 std::vector<int> TileEt;
129 std::vector<float> TileEta;
130 std::vector<float> TilePhi;
136 ATH_MSG_ERROR(
"ID: "<<gFexID<<
" not found on map m_map_TTower2SCells");
137 return StatusCode::FAILURE;
140 for (
auto const& SCellID : it_TTower2SCells->second ) {
143 auto it_ScellID2ptr = map_ScellID2ptr.find(SCellID);
144 if(it_ScellID2ptr == map_ScellID2ptr.end()) {
145 ATH_MSG_WARNING(
"Scell ID: 0x"<<std::hex<<(SCellID >> 32)<<std::dec<<
" not found on map map_ScellID2ptr");
147 scEt.push_back(-9999);
148 scEta.push_back(-99);
149 scPhi.push_back(-99);
151 scID.push_back( SCellID >> 32 );
152 scSample.push_back(-99);
158 const CaloCell* myCell = it_ScellID2ptr->second;
159 float et = myCell->
et();
164 int prov = (myCell)->provenance();
165 int SCprov = prov&0xFFF;
166 bool isMasked = (SCprov&0x80)==0x80;
170 scEta.push_back(myCell->
eta());
171 scPhi.push_back(myCell->
phi());
173 scID.push_back( SCellID >> 32 );
174 scSample.push_back(
sample);
180 float tmpSCellEt = 0;
181 for(
const auto& tmpet : scEt){
188 gTowerSCellEt (*gTower) = scEt;
189 gTowerSCellEta (*gTower) = scEta;
190 gTowerSCellPhi (*gTower) = scPhi;
191 gTowerSCellID (*gTower) = scID;
192 gTowerSCellSample (*gTower) = scSample;
193 gTowerEtMeV (*gTower) = gFexEt * 200;
194 gTowerSCEtEncoded (*gTower) = scSumEtEncoded;
203 for (
auto const& TileTowerID : it_TTower2Tile->second ) {
206 auto it_TileID2ptr = map_TileID2ptr.find(TileTowerID);
207 if(it_TileID2ptr == map_TileID2ptr.end()) {
211 TileEt.push_back(-9999);
212 TileEta.push_back(-99);
213 TilePhi.push_back(-99);
219 TileEt.push_back(tileTower->
jepET()*1000);
220 TileEta.push_back(tileTower->
eta());
222 TilePhi.push_back(phi);
223 TileID.push_back(TileTowerID);
232 gTowerTileEt (*gTower) = TileEt;
233 gTowerTileID (*gTower) =
TileID;
234 gTowerTileEta (*gTower) = TileEta;
235 gTowerTilePhi (*gTower) = TilePhi;
239 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, SCT_CablingCondAlgFromCoraCool, SCT_ReadCalibDataTestAlg, SCT_CablingCondAlgFromText, InDet::SiSPGNNTrackMaker, 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 243 of file gFexTower2SCellDecorator.cxx.
249 if ( !myfile.is_open() ){
251 return StatusCode::FAILURE;
255 while ( std::getline (myfile, myline) ) {
256 std::vector<uint64_t> SCellvector;
260 myline.erase(myline.begin(), std::find_if(myline.begin(), myline.end(), [](
int ch) {
261 return !std::isspace(ch);
263 if(myline[0] ==
'#')
continue;
266 std::stringstream oneSCellID(myline);
269 std::string substr =
"";
273 while(std::getline(oneSCellID, substr,
' '))
277 TTID = std::stoi(substr);
282 return StatusCode::FAILURE;
286 uint64_t scid_uint64 = std::strtoull(substr.c_str(),
nullptr, 0);
289 if(scid_uint64 == 0xffffffffffffffff)
continue;
291 SCellvector.push_back(scid_uint64);
300 return StatusCode::SUCCESS;
◆ ReadTilefromFile()
StatusCode LVL1::gFexTower2SCellDecorator::ReadTilefromFile |
( |
const std::string & |
fileName | ) |
|
|
private |
Definition at line 314 of file gFexTower2SCellDecorator.cxx.
321 if ( !myfile.is_open() ){
323 return StatusCode::FAILURE;
327 while ( std::getline (myfile, myline) ) {
329 std::vector<uint32_t> Tilevector;
332 myline.erase(myline.begin(), std::find_if(myline.begin(), myline.end(), [](
int ch) {
333 return !std::isspace(ch);
335 if(myline[0] ==
'#')
continue;
338 std::stringstream oneTileID(myline);
341 std::string substr =
"";
345 while(std::getline(oneTileID, substr,
' ')){
348 gTowerID = std::stoi(substr);
351 uint32_t tileid_uint32 = std::strtoul(substr.c_str(),
nullptr, 0);
352 Tilevector.push_back(tileid_uint32);
361 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)