|
ATLAS Offline Software
|
Go to the documentation of this file.
16 #ifndef EFEXSUPERCELLTOWERIDPROVIDER
17 #define EFEXSUPERCELLTOWERIDPROVIDER
22 #include <unordered_map>
bool isSplit
if the SuperCell Et needs to be splited
~eFEXSuperCellTowerIdProvider()
Destructor.
bool ifhaveinputfile() const override
Check if the csv file is valid.
eFEXSuperCellTowerIdProvider(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
StatusCode setAddress(std::string) override
set the address to the csv file and load
bool hasSuperCell(uint64_t) const override
Check if the SuperCell id exists in the csv file.
Sturcture stores mapping information of a SuperCell.
::StatusCode StatusCode
StatusCode definition for legacy code.
int slot
slot of the tower in which the SuperCell belongs to
Provide Supercell-tower mapping Load information stored in a .csv file and provide information needed...
bool m_hascsvfile
if the csv file is valid
std::unordered_map< uint64_t, towerinfo > m_SuperCelltoTowerIdmap
map to store information about SuperCells with SuperCell ID as the key.
StatusCode geteTowerIDandslot(uint64_t scid, int &eTowerID, int &slot, bool &issplit) const override
obtain ordered tower IDs in an eFEX
StatusCode loadcsv() override
load the csv file
StatusCode initialize() override
initialize the tool
std::string m_csvaddress
path to the csv file