|
ATLAS Offline Software
|
#include <eFexTowerBuilder.h>
|
| eFexTowerBuilder (const std::string &name, ISvcLocator *pSvcLocator) |
|
| ~eFexTowerBuilder ()=default |
|
virtual StatusCode | initialize () |
|
virtual StatusCode | execute (const EventContext &ctx) const |
|
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 |
|
|
std::mutex m_fillMapMutex | ATLAS_THREAD_SAFE |
|
std::map< unsigned long long, std::pair< std::pair< int, int >, std::pair< int, int > > > m_scMap | ATLAS_THREAD_SAFE |
|
SG::ReadHandleKey< xAOD::EventInfo > | m_eiKey {this,"EventInfoKey","EventInfo",""} |
|
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > | m_ddmKey {this,"CaloSuperCellDetDescrManager","CaloSuperCellDetDescrManager",""} |
|
SG::ReadHandleKey< CaloCellContainer > | m_scellKey { this, "CaloCellContainerReadKey", "SCell", "Read handle key for the supercells"} |
|
SG::ReadHandleKey< xAOD::TriggerTowerContainer > | m_ttKey { this, "TriggerTowerContainerReadKey", "xAODTriggerTowers", "Read handle key for the triggerTowers"} |
|
SG::WriteHandleKey< xAOD::eFexTowerContainer > | m_outKey {this, "eFexContainerWriteKey", "L1_eFexEmulatedTowers", "Name of the output container"} |
|
Gaudi::Property< std::string > | m_mappingFile {this, "MappingFile", "L1CaloFEXByteStream/2023-02-13/scToEfexTowers.root", "PathResolver location to mapping file"} |
|
ToolHandle< IeFEXSuperCellTowerIdProvider > | m_eFEXSuperCellTowerIdProviderTool {this, "eFEXSuperCellTowerIdProviderTool", "LVL1::eFEXSuperCellTowerIdProvider", "Tool that provides tower-FOGA mapping"} |
|
Gaudi::Property< bool > | m_applyMasking {this,"ApplyMasking",true,"Apply masking of supercells based on provenance bits. Should be set to False for MC"} |
|
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 48 of file eFexTowerBuilder.h.
◆ StoreGateSvc_t
◆ eFexTowerBuilder()
LVL1::eFexTowerBuilder::eFexTowerBuilder |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ ~eFexTowerBuilder()
LVL1::eFexTowerBuilder::~eFexTowerBuilder |
( |
| ) |
|
|
default |
◆ 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::eFexTowerBuilder::execute |
( |
const EventContext & |
ctx | ) |
const |
|
virtual |
◆ 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();
◆ fillMap()
StatusCode LVL1::eFexTowerBuilder::fillMap |
( |
const EventContext & |
ctx | ) |
const |
|
private |
Definition at line 197 of file eFexTowerBuilder.cxx.
203 if(!scells.isValid()){
205 return StatusCode::FAILURE;
207 if (scells->size() != 34048) {
208 ATH_MSG_FATAL(
"Cannot fill sc -> eFexTower mapping with an incomplete sc collection");
209 return StatusCode::FAILURE;
212 std::vector<unsigned long long> ps;
213 std::vector<std::pair<float,unsigned long long>>
l1;
214 std::vector<std::pair<float,unsigned long long>>
l2;
215 std::vector<unsigned long long> l3;
216 std::vector<unsigned long long> had;
217 std::vector<unsigned long long>
other;
219 static const auto etaIndex = [](
float eta) {
return int( eta*10 ) + ((
eta<0) ? -1 : 1); };
220 static const auto phiIndex = [](
float phi) {
return int( phi*32./ROOT::Math::Pi() ) + (
phi<0 ? -1 : 1); };
221 std::map<std::pair<int,int>,TowerSCells>
towers;
222 std::map<unsigned long long,int> eTowerSlots;
224 for (
auto digi: *scells) {
227 if (
auto elem = ddm->get_element(
id); elem && std::abs(elem->eta_raw())<2.5) {
228 float eta = elem->eta_raw();
229 int sampling = elem->getSampling();
230 if(sampling==6 && ddm->getCaloCell_ID()->region(
id)==0 &&
eta<0) eta-=0.01;
232 unsigned long long val =
id.get_compact();
234 int towerid = -1;
int slot = -1;
bool issplit =
false;
236 eTowerSlots[
id.get_compact()] = slot;
241 sc.ps.push_back(
val);
244 sc.l1.push_back({elem->eta(),
val});
break;
246 sc.l2.push_back({elem->eta(),
val});
break;
248 sc.l3.push_back(
val);
break;
249 case 8:
case 9:
case 10:
case 11:
250 sc.had.push_back(
val);
break;
252 sc.other.push_back(
val);
break;
260 std::vector<size_t> slotVector(11);
265 if (
sc.l2.size()==5) {
266 if (
coord.first >= 0) {
267 sc.l3.push_back(
sc.l2.front().second);
268 sc.l2.erase(
sc.l2.begin());
270 sc.l3.push_back(
sc.l2.back().second);
271 sc.l2.resize(
sc.l2.size()-1);
274 if (std::abs(
coord.first)==15) {
281 if (
sc.l1.size()==6) {
282 m_scMap[
sc.l1.at(0).second] = std::pair(
coord,std::pair(1,11));
283 m_scMap[
sc.l1.at(1).second] = std::pair(
coord,std::pair(1,2));
284 m_scMap[
sc.l1.at(2).second] = std::pair(
coord,std::pair(2,11));
285 m_scMap[
sc.l1.at(3).second] = std::pair(
coord,std::pair(3,11));
286 m_scMap[
sc.l1.at(4).second] = std::pair(
coord,std::pair(3,4));
287 m_scMap[
sc.l1.at(5).second] = std::pair(
coord,std::pair(4,11));
288 slotVector[1] = eTowerSlots[
sc.l1.at(0).second];
289 slotVector[2] = eTowerSlots[
sc.l1.at(2).second];
290 slotVector[3] = eTowerSlots[
sc.l1.at(3).second];
291 slotVector[4] = eTowerSlots[
sc.l1.at(5).second];
295 if (
sc.l1.size()==1) {
296 m_scMap[
sc.l1.at(0).second] = std::pair(
coord,std::pair(4,11));
297 slotVector[1] = 1; slotVector[2] = 2; slotVector[3] = 3; slotVector[4] = eTowerSlots[
sc.l1.at(0).second];
301 if (!
sc.ps.empty()) {m_scMap[
sc.ps.at(0)] = std::pair(
coord,std::pair(0,11)); slotVector[0] = eTowerSlots[
sc.ps.at(0)]; }
302 if(
sc.l1.size()==4)
for(
size_t i=0;
i<4;
i++)
if(
sc.l1.size() >
i) {m_scMap[
sc.l1.at(
i).second] = std::pair(
coord,std::pair(
i+1,11)); slotVector[
i+1] = eTowerSlots[
sc.l1.at(
i).second]; }
303 for(
size_t i=0;
i<4;
i++)
if(
sc.l2.size() >
i) { m_scMap[
sc.l2.at(
i).second] = std::pair(
coord,std::pair(
i+5,11)); slotVector[
i+5] = eTowerSlots[
sc.l2.at(
i).second]; }
304 if (!
sc.l3.empty()) {m_scMap[
sc.l3.at(0)] = std::pair(
coord,std::pair(9,11)); slotVector[9] = eTowerSlots[
sc.l3.at(0)]; }
305 if (!
sc.had.empty()) {m_scMap[
sc.had.at(0)] = std::pair(
coord,std::pair(10,11));slotVector[10] = eTowerSlots[
sc.had.at(0)]; }
319 TFile
f(
"scToEfexTowers.root",
"RECREATE");
320 TTree*
t =
new TTree(
"mapping",
"mapping");
321 unsigned long long scid = 0;
322 std::pair<int,int>
coord = {0,0};
323 std::pair<int,int> slot = {-1,-1};
324 t->Branch(
"scid",&scid);
325 t->Branch(
"etaIndex",&
coord.first);
326 t->Branch(
"phiIndex",&
coord.second);
327 t->Branch(
"slot1",&slot.first);
328 t->Branch(
"slot2",&slot.second);
329 for(
auto& [
id,
val] : m_scMap) {
336 return StatusCode::SUCCESS;
◆ fillTowers()
StatusCode LVL1::eFexTowerBuilder::fillTowers |
( |
const EventContext & |
ctx | ) |
const |
|
private |
Definition at line 71 of file eFexTowerBuilder.cxx.
76 if(!tTowers.isValid()){
78 return StatusCode::FAILURE;
81 if(!scells.isValid()){
83 return StatusCode::FAILURE;
89 return StatusCode::FAILURE;
94 std::map<std::pair<int,int>,std::array<int,11>>
towers;
96 constexpr
int INVALID_VALUE = -99999;
99 for (
auto digi: *scells) {
100 const auto itr = m_scMap.find(digi->ID().get_compact());
101 if (itr == m_scMap.end()) {
continue; }
102 int val =
std::round(digi->energy()/(12.5*std::cosh(digi->eta())));
104 bool isSaturated = (!
isMC) ? (digi->quality()) :
false;
105 bool isMasked =
m_applyMasking ? ((digi)->provenance()&0x80) :
false;
106 bool isInvalid =
m_applyMasking ? ((digi)->provenance()&0x40) :
false;
111 val = SATURATED_VALUE;
114 auto& tower =
towers[itr->second.first];
115 if (itr->second.second.second<11) {
117 if (!isMasked &&
val!=INVALID_VALUE) {
120 tower.at(itr->second.second.first) = SATURATED_VALUE;
121 tower.at(itr->second.second.second) = SATURATED_VALUE;
123 if(tower.at(itr->second.second.first)!=(SATURATED_VALUE)) {
126 tower.at(itr->second.second.first)=0;
128 tower.at(itr->second.second.first) +=
val >> 1;
130 if(tower.at(itr->second.second.second)!=(SATURATED_VALUE)) {
133 tower.at(itr->second.second.second)=0;
135 tower.at(itr->second.second.second) += (
val - (
val >> 1));
142 auto&
v = tower.at(itr->second.second.first);
146 }
else if(isSaturated) {
156 static const auto etaIndex = [](
float eta) {
return int( eta*10 ) + ((
eta<0) ? -1 : 1); };
159 if (std::abs(tTower->eta()) > 1.5)
continue;
160 if (tTower->sampling() != 1)
continue;
162 towers[std::pair(etaIndex(tTower->eta()),
phiIndex(phi))][10] = tTower->cpET();
167 ATH_CHECK( eTowers.
record(std::make_unique<xAOD::eFexTowerContainer>(),std::make_unique<xAOD::eFexTowerAuxContainer>()) );
169 static const auto calToFex = [](
int calEt) {
171 if(calEt == SATURATED_VALUE)
return 1023;
172 if( calEt == INVALID_VALUE )
return 1022;
173 if(calEt<448)
return std::max((calEt&~1)/2+32,1);
174 if(calEt<1472)
return (calEt-448)/4+256;
175 if(calEt<3520)
return (calEt-1472)/8+512;
176 if(calEt<11584)
return (calEt-3520)/32+768;
182 size_t ni = (std::abs(
coord.first)<=15) ? 10 : 11;
183 for(
size_t i=0;
i<ni;++
i) counts[
i] = (scells->empty() ? 1025 : calToFex(counts[
i]));
184 eTowers->
push_back( std::make_unique<xAOD::eFexTower>() );
185 eTowers->
back()->initialize( ( (
coord.first<0 ? 0.5:-0.5) +
coord.first)*0.1 ,
187 std::vector<uint16_t>(counts.begin(), counts.end()),
193 return StatusCode::SUCCESS;
◆ filterPassed()
virtual bool AthReentrantAlgorithm::filterPassed |
( |
const EventContext & |
ctx | ) |
const |
|
inlinevirtualinherited |
◆ initialize()
StatusCode LVL1::eFexTowerBuilder::initialize |
( |
| ) |
|
|
virtual |
Definition at line 33 of file eFexTowerBuilder.cxx.
43 std::unique_ptr<TFile>
f( TFile::Open(
fileName.c_str()) );
45 TTree*
t =
f->Get<TTree>(
"mapping");
47 unsigned long long scid = 0;
48 std::pair<int,int>
coord = {0,0};
49 std::pair<int,int> slot;
50 t->SetBranchAddress(
"scid",&scid);
51 t->SetBranchAddress(
"etaIndex",&
coord.first);
52 t->SetBranchAddress(
"phiIndex",&
coord.second);
53 t->SetBranchAddress(
"slot1",&slot.first);
54 t->SetBranchAddress(
"slot2",&slot.second);
55 for(Long64_t
i=0;
i<
t->GetEntries();
i++) {
57 m_scMap[scid] = std::make_pair(
coord,slot);
61 if (m_scMap.empty()) {
68 return StatusCode::SUCCESS;
◆ 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.
◆ 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.
◆ 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()
◆ ATLAS_THREAD_SAFE [1/2]
std::mutex m_fillMapMutex LVL1::eFexTowerBuilder::ATLAS_THREAD_SAFE |
|
mutableprivate |
◆ ATLAS_THREAD_SAFE [2/2]
std::map<unsigned long long, std::pair<std::pair<int,int>,std::pair<int,int> > > m_scMap LVL1::eFexTowerBuilder::ATLAS_THREAD_SAFE |
|
mutableprivate |
◆ m_applyMasking
Gaudi::Property<bool> LVL1::eFexTowerBuilder::m_applyMasking {this,"ApplyMasking",true,"Apply masking of supercells based on provenance bits. Should be set to False for MC"} |
|
private |
◆ m_ddmKey
◆ m_detStore
◆ m_eFEXSuperCellTowerIdProviderTool
◆ m_eiKey
◆ 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_mappingFile
Gaudi::Property<std::string> LVL1::eFexTowerBuilder::m_mappingFile {this, "MappingFile", "L1CaloFEXByteStream/2023-02-13/scToEfexTowers.root", "PathResolver location to mapping file"} |
|
private |
◆ m_outKey
◆ m_scellKey
◆ m_ttKey
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
StatusCode fillTowers(const EventContext &ctx) const
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
float round(const float toRound, const unsigned int decimals)
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
ToolHandle< IeFEXSuperCellTowerIdProvider > m_eFEXSuperCellTowerIdProviderTool
const std::string & key() const
Return the StoreGate ID for the referenced object.
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > m_ddmKey
@ IS_SIMULATION
true: simulation, false: data
StatusCode fillMap(const EventContext &ctx) const
SG::ReadHandleKey< xAOD::EventInfo > m_eiKey
virtual void setOwner(IDataHandleHolder *o)=0
SG::ReadHandleKey< CaloCellContainer > m_scellKey
AthReentrantAlgorithm()
Default constructor:
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< bool > m_applyMasking
Description of TriggerTower_v2.
#define CHECK(...)
Evaluate an expression and check for errors.
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.
const T * back() const
Access the last element in the collection as an rvalue.
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
virtual void renounce()=0
SG::WriteHandleKey< xAOD::eFexTowerContainer > m_outKey
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
virtual StatusCode sysInitialize() override
Override sysInitialize.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
StatusCode initialize(bool used=true)
std::string PathResolverFindCalibFile(const std::string &logical_file_name)
unsigned int phiIndex(float phi, float binsize)
calculate phi index for a given phi
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
void sort(typename std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, typename std::reverse_iterator< DataModel_detail::iterator< DVL > > end, const Compare &comp)
Specialization of sort for DataVector/List.
#define ATH_MSG_WARNING(x)
SG::ReadHandleKey< xAOD::TriggerTowerContainer > m_ttKey
Gaudi::Property< std::string > m_mappingFile
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
virtual void setFilterPassed(bool state, const EventContext &ctx) const