|
ATLAS Offline Software
|
#include <jSuperCellTowerMapper.h>
|
| jSuperCellTowerMapper (const std::string &type, const std::string &name, const IInterface *parent) |
|
virtual | ~jSuperCellTowerMapper () |
|
virtual StatusCode | initialize () override |
| standard Athena-Algorithm method More...
|
|
virtual StatusCode | AssignSuperCellsToTowers (std::unique_ptr< jTowerContainer > &my_jTowerContainerRaw) const override |
|
virtual StatusCode | AssignTriggerTowerMapper (std::unique_ptr< jTowerContainer > &my_jTowerContainerRaw) const override |
|
virtual void | reset () override |
|
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 int | FindAndConnectTower (std::unique_ptr< jTowerContainer > &my_jTowerContainerRaw, CaloSampling::CaloSample sample, const int region, int layer, const int pos_neg, const int eta_index, const int phi_index, Identifier ID, float et, int prov, bool doPrint, float eta_min, float eta_max, float eta0, float phi_min, float phi_max, float phi0) const override |
|
virtual void | ConnectSuperCellToTower (std::unique_ptr< jTowerContainer > &my_jTowerContainerRaw, int iETower, Identifier ID, int iCell, float et, int layer) const override |
|
virtual int | FindTowerIDForSuperCell (int towereta, int towerphi) const override |
|
virtual void | PrintCellSpec (const CaloSampling::CaloSample sample, int layer, const int region, const int eta_index, const int phi_index, const int pos_neg, int iETower, int iCell, int prov, Identifier ID, bool doenergysplit, float eta_min, float eta_max, float eta0, float phi_min, float phi_max, float phi0, bool cellValid=true) const override |
|
std::string | DetectorName (const CaloSampling::CaloSample sample) const |
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &) |
| specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &) |
| specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
|
|
Definition at line 28 of file jSuperCellTowerMapper.h.
◆ StoreGateSvc_t
◆ jSuperCellTowerMapper()
LVL1::jSuperCellTowerMapper::jSuperCellTowerMapper |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~jSuperCellTowerMapper()
LVL1::jSuperCellTowerMapper::~jSuperCellTowerMapper |
( |
| ) |
|
|
virtual |
◆ AssignSuperCellsToTowers()
StatusCode LVL1::jSuperCellTowerMapper::AssignSuperCellsToTowers |
( |
std::unique_ptr< jTowerContainer > & |
my_jTowerContainerRaw | ) |
const |
|
overridevirtual |
Implements LVL1::IjSuperCellTowerMapper.
Definition at line 91 of file jSuperCellTowerMapper.cxx.
97 if(!scellsCollection.isValid()) {
99 return StatusCode::FAILURE;
114 const int phi_index = idHelper->
phi(
ID);
116 int prov = (
cell)->provenance();
121 float eta0 = idHelper->
eta0(
ID);
199 else if (region == 1) { }
200 else if (region == 2) {
203 else if (region == 3) {
206 else if (region == 4) {
209 else if (region == 5) {
223 else if (region == 1) {
243 else if (region == 1) {
261 else if (region == 1){
272 FindAndConnectTower(my_jTowerContainerRaw,
sample,region,
layer,pos_neg,
eta_index,phi_index,
ID,
et,prov,doPrint, eta_min, eta_max, eta0, phi_min, phi_max,
phi0);
277 for(
auto tmpTower : *my_jTowerContainerRaw){
278 tmpTower->Do_LAr_encoding();
281 return StatusCode::SUCCESS;
◆ AssignTriggerTowerMapper()
StatusCode LVL1::jSuperCellTowerMapper::AssignTriggerTowerMapper |
( |
std::unique_ptr< jTowerContainer > & |
my_jTowerContainerRaw | ) |
const |
|
overridevirtual |
Implements LVL1::IjSuperCellTowerMapper.
Definition at line 45 of file jSuperCellTowerMapper.cxx.
47 static constexpr
float pi_over_32 =
M_PI/32;
50 if(!triggerTowerCollection.isValid()) {
52 return StatusCode::FAILURE;
54 for(
auto eachTower : *triggerTowerCollection) {
55 if(std::fabs(eachTower->eta())<1.5 && eachTower->sampling()==1) {
56 int i_phi =
int(eachTower->phi()/pi_over_32);
58 int towerID_Modifier{100000};
59 if (eachTower->eta() > 0) {
61 towerID_Modifier = 200000;
63 int i_eta =
int(eachTower->eta() * 10) * etaSign;
64 if(i_eta * etaSign == -14) {
65 towerID_Modifier = 300000;
66 }
else if (i_eta * etaSign == 14) {
67 towerID_Modifier = 400000;
72 if((targetTower = my_jTowerContainerRaw->findTower(towerid))) {
74 ATH_MSG_WARNING(
"\n==== jSuperCellTowerMapper ============ Hadronic layer energy filled more than once - it will be ignored. (Needs investigation). Please report this!");
79 ATH_MSG_WARNING(
"\n==== jSuperCellTowerMapper ============ Tower ID is officially unknown - it will be ignored. (Needs investigation). Please report this!");
83 return StatusCode::SUCCESS;
◆ ConnectSuperCellToTower()
void LVL1::jSuperCellTowerMapper::ConnectSuperCellToTower |
( |
std::unique_ptr< jTowerContainer > & |
my_jTowerContainerRaw, |
|
|
int |
iETower, |
|
|
Identifier |
ID, |
|
|
int |
iCell, |
|
|
float |
et, |
|
|
int |
layer |
|
) |
| const |
|
overrideprivatevirtual |
◆ 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]
◆ DetectorName()
Definition at line 1137 of file jSuperCellTowerMapper.cxx.
1138 std::string sampleName =
"";
1156 ATH_MSG_DEBUG(
"\n==== jSuperCellTowerMapper ============ Supercell has invalid CaloSampling value: " <<
sample <<
" (Needs investigation). Please report this!");
1157 sampleName =
"----";
◆ 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
◆ FindAndConnectTower()
int LVL1::jSuperCellTowerMapper::FindAndConnectTower |
( |
std::unique_ptr< jTowerContainer > & |
my_jTowerContainerRaw, |
|
|
CaloSampling::CaloSample |
sample, |
|
|
const int |
region, |
|
|
int |
layer, |
|
|
const int |
pos_neg, |
|
|
const int |
eta_index, |
|
|
const int |
phi_index, |
|
|
Identifier |
ID, |
|
|
float |
et, |
|
|
int |
prov, |
|
|
bool |
doPrint, |
|
|
float |
eta_min, |
|
|
float |
eta_max, |
|
|
float |
eta0, |
|
|
float |
phi_min, |
|
|
float |
phi_max, |
|
|
float |
phi0 |
|
) |
| const |
|
overrideprivatevirtual |
These are actually all bunched together in the MC as Region 0 posneg +-2
Implements LVL1::IjSuperCellTowerMapper.
Definition at line 295 of file jSuperCellTowerMapper.cxx.
299 bool doenergysplit =
false;
302 bool validcell =
true;
309 int towerID_Modifier = -999999999;
405 towerphi = phi_index;
409 towerID_Modifier = 300000;
411 else if(pos_neg > 0) {
412 towerID_Modifier = 400000;
418 towerID_Modifier = 100000;
420 else if(pos_neg > 0) {
421 towerID_Modifier = 200000;
440 towerphi = phi_index;
442 towerID_Modifier = 100000;
444 else if(pos_neg > 0) {
445 towerID_Modifier = 200000;
448 else if (region == 1) {
450 towerphi = phi_index;
452 towerID_Modifier = 300000;
454 else if(pos_neg > 0) {
455 towerID_Modifier = 400000;
459 ATH_MSG_DEBUG(
"[CaloSampling::EMB1 or CaloSampling::EMB2] -> invalid 'region' value: " << region <<
" (Under investigation) ");
476 ATH_MSG_DEBUG(
"CaloSampling::EMBX -> invalid sample for assigning iCell value! " <<
sample <<
" (Under investigation) ");
490 towerphi = phi_index;
495 towerID_Modifier = 100000;
497 else if(pos_neg > 0) {
498 towerID_Modifier = 200000;
511 towerphi = phi_index;
516 towerID_Modifier = 500000;
518 else if(pos_neg > 0) {
519 towerID_Modifier = 600000;
549 towerphi = phi_index;
557 towerphi = phi_index;
567 towerphi = phi_index;
604 towerphi = phi_index;
613 towerphi = phi_index;
620 ATH_MSG_DEBUG(
"CaloSampling::EME1 -> invalid 'region' value: " << region <<
" (Under investigation) ");
628 towerID_Modifier = 500000;
630 else if(pos_neg > 0) {
631 towerID_Modifier = 600000;
634 else if(region == 0) {
637 towerID_Modifier = 300000;
639 else if(pos_neg > 0) {
640 towerID_Modifier = 400000;
680 switch (std::abs(pos_neg)) {
683 towerphi = phi_index;
688 towerphi = phi_index;
692 ATH_MSG_DEBUG(
"CaloSampling::EME2 -> invalid 'pos_neg' value: " << pos_neg <<
" (Under investigation) ");
703 switch (std::abs(pos_neg)) {
706 towerphi = phi_index;
711 towerphi = phi_index;
715 ATH_MSG_DEBUG(
"CaloSampling::EME2 -> invalid 'pos_neg' value: " << pos_neg <<
" (Under investigation) ");
726 ATH_MSG_DEBUG(
"CaloSampling::EME2 -> invalid 'region' value: " << region <<
" (Under investigation) ");
778 towerID_Modifier = 300000;
780 else if(pos_neg > 0) {
781 towerID_Modifier = 400000;
786 towerID_Modifier = 500000;
788 else if(pos_neg > 0) {
789 towerID_Modifier = 600000;
796 if(pos_neg < 0 && pos_neg > -3) {
797 towerID_Modifier = 300000;
799 else if(pos_neg > 0 && pos_neg < 3) {
800 towerID_Modifier = 400000;
804 if(pos_neg < 0 && pos_neg >= -3) {
805 towerID_Modifier = 500000;
807 else if(pos_neg > 0 && pos_neg <= 3) {
808 towerID_Modifier = 600000;
814 towerID_Modifier = 500000;
816 else if(pos_neg > 0) {
817 towerID_Modifier = 600000;
853 towerphi = phi_index;
861 towerphi = phi_index;
866 ATH_MSG_DEBUG(
"CaloSampling::EME3 -> invalid 'region' value: " << region <<
" (Under investigation) ");
873 towerID_Modifier = 500000;
875 else if(pos_neg > 0) {
876 towerID_Modifier = 600000;
893 towerphi = phi_index;
901 towerphi = phi_index;
912 towerphi = phi_index;
926 towerID_Modifier = 500000;
928 else if(pos_neg > 0) {
929 towerID_Modifier = 600000;
940 ATH_MSG_DEBUG(
"\n==== jSuperCellTowerMapper ============ Supercell is from Tile Barrel - it will be ignored.");
946 ATH_MSG_DEBUG(
"\n==== jSuperCellTowerMapper ============ Supercell is from Tile Gap (ITC and scintillator) - it will be ignored.");
954 ATH_MSG_DEBUG(
"\n==== jSuperCellTowerMapper ============ Supercell is from Tile Extended Barrel - it will be ignored.");
969 towerID_Modifier = 700000;
971 else if(pos_neg > 0) {
972 towerID_Modifier = 800000;
980 towerID_Modifier = 900000;
982 else if(pos_neg > 0) {
983 towerID_Modifier = 1000000;
991 towerID_Modifier = 1100000;
993 else if(pos_neg > 0) {
994 towerID_Modifier = 1200000;
1006 towerphi = phi_index;
1011 case CaloSampling::MINIFCAL0:
1012 case CaloSampling::MINIFCAL1:
1013 case CaloSampling::MINIFCAL2:
1014 case CaloSampling::MINIFCAL3: {
1015 ATH_MSG_DEBUG(
"\n==== jSuperCellTowerMapper ============ Supercells is from MiniFCAL - it will be ignored.");
1020 ATH_MSG_WARNING(
"\n==== jSuperCellTowerMapper ============ Supercell sampling is officially unknown - it will be ignored. (Needs investigation). Please report this!");
1025 ATH_MSG_DEBUG(
"\n==== jSuperCellTowerMapper ============ Supercell has invalid CaloSampling value: " <<
sample <<
" (Needs investigation). Please report this!");
1041 PrintCellSpec(
sample,
layer, region,
eta_index, phi_index, pos_neg, iJTower, iCell, prov,
ID, doenergysplit, eta_min, eta_max, eta0, phi_min, phi_max,
phi0);
1048 PrintCellSpec(
sample,
layer, region,
eta_index, phi_index, pos_neg, iJTower, iCell, prov,
ID, doenergysplit, eta_min, eta_max, eta0, phi_min, phi_max,
phi0,
false);
◆ FindTowerIDForSuperCell()
int LVL1::jSuperCellTowerMapper::FindTowerIDForSuperCell |
( |
int |
towereta, |
|
|
int |
towerphi |
|
) |
| const |
|
overrideprivatevirtual |
◆ initialize()
StatusCode LVL1::jSuperCellTowerMapper::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.
◆ interfaceID()
const InterfaceID & LVL1::IjSuperCellTowerMapper::interfaceID |
( |
| ) |
|
|
inlinestaticinherited |
◆ 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.
◆ PrintCellSpec()
void LVL1::jSuperCellTowerMapper::PrintCellSpec |
( |
const CaloSampling::CaloSample |
sample, |
|
|
int |
layer, |
|
|
const int |
region, |
|
|
const int |
eta_index, |
|
|
const int |
phi_index, |
|
|
const int |
pos_neg, |
|
|
int |
iETower, |
|
|
int |
iCell, |
|
|
int |
prov, |
|
|
Identifier |
ID, |
|
|
bool |
doenergysplit, |
|
|
float |
eta_min, |
|
|
float |
eta_max, |
|
|
float |
eta0, |
|
|
float |
phi_min, |
|
|
float |
phi_max, |
|
|
float |
phi0, |
|
|
bool |
cellValid = true |
|
) |
| const |
|
overrideprivatevirtual |
Implements LVL1::IjSuperCellTowerMapper.
Definition at line 1063 of file jSuperCellTowerMapper.cxx.
1066 std::string sampleName =
"";
1085 ATH_MSG_DEBUG(
"\n==== jSuperCellTowerMapper ============ Supercell has invalid CaloSampling value: " <<
sample <<
" (Needs investigation). Please report this!");
1092 <<
"\tSample: " <<
sample
1093 <<
"\tLayer: " <<
layer
1094 <<
"\tRegion: " << region
1095 <<
"\tEta0: " << eta0
1096 <<
"\tEta_min: " << eta_min
1097 <<
"\tEta_max: " << eta_max
1099 <<
"\tPhi0: " <<
phi0
1100 <<
"\tPhi_min: " << phi_min
1101 <<
"\tPhi_max: " << phi_max
1102 <<
"\tPhi_Index: " << phi_index
1103 <<
"\tPosNeg: " << pos_neg
1104 <<
"\tiJTower: " << iJTower
1105 <<
"\tiCell: " << iCell
1106 <<
"\tDoEnergySplit: " << doenergysplit
1107 <<
"\tProvenance: " << prov
1112 ATH_MSG_DEBUG(
"INVALID CELL IDENTIFIED::: CASE: " << sampleName
1113 <<
"\tSample: " <<
sample
1114 <<
"\tLayer: " <<
layer
1115 <<
"\tRegion: " << region
1116 <<
"\tEta0: " << eta0
1117 <<
"\tEta_min: " << eta_min
1118 <<
"\tEta_max: " << eta_max
1120 <<
"\tPhi0: " <<
phi0
1121 <<
"\tPhi_min: " << phi_min
1122 <<
"\tPhi_max: " << phi_max
1123 <<
"\tPhi_Index: " << phi_index
1124 <<
"\tPosNeg: " << pos_neg
1125 <<
"\tiJTower: " << iJTower
1126 <<
"\tiCell: " << iCell
1127 <<
"\tDoEnergySplit: " << doenergysplit
1128 <<
"\tProvenance: " << prov
◆ renounce()
◆ renounceArray()
◆ reset()
void LVL1::jSuperCellTowerMapper::reset |
( |
| ) |
|
|
overridevirtual |
◆ 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()
◆ m_apply_masking
Gaudi::Property<bool> LVL1::jSuperCellTowerMapper::m_apply_masking {this, "SCellMasking", false, "Applies masking. Only use for data"} |
|
private |
◆ m_detStore
◆ m_evtStore
◆ m_scellsCollectionSGKey
◆ m_triggerTowerCollectionSGKey
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
Extra patterns decribing particle interation process.
int region(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
std::vector< Identifier > ID
SG::ReadHandleKey< CaloCellContainer > m_scellsCollectionSGKey
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
int pos_neg(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
int eta_max(const Identifier regId) const
max value of eta index (-999 == failure)
const std::string & key() const
Return the StoreGate ID for the referenced object.
void set_LAr_Et(Identifier ID, int cell, float et, int layer)
Set LAr supercell position ID.
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
int phi_max(const Identifier regId) const
max value of phi index (-999 == failure)
SG::ReadHandleKey< xAOD::TriggerTowerContainer > m_triggerTowerCollectionSGKey
float eta0(const Identifier regId) const
minimum LAr eta for this region
virtual int FindAndConnectTower(std::unique_ptr< jTowerContainer > &my_jTowerContainerRaw, CaloSampling::CaloSample sample, const int region, int layer, const int pos_neg, const int eta_index, const int phi_index, Identifier ID, float et, int prov, bool doPrint, float eta_min, float eta_max, float eta0, float phi_min, float phi_max, float phi0) const override
float getET_float(unsigned int layer, int cell=0) const
Get ET of a specified cell in MeV FLOAT VERSION.
int eta(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
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.
virtual int FindTowerIDForSuperCell(int towereta, int towerphi) const override
void set_TileCal_Et(int layer, int et)
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
virtual void PrintCellSpec(const CaloSampling::CaloSample sample, int layer, const int region, const int eta_index, const int phi_index, const int pos_neg, int iETower, int iCell, int prov, Identifier ID, bool doenergysplit, float eta_min, float eta_max, float eta0, float phi_min, float phi_max, float phi0, bool cellValid=true) const override
Gaudi::Property< bool > m_apply_masking
int phi(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
Data object for each calorimeter readout cell.
#define ATH_MSG_WARNING(x)
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
The jTower class is an interface object for jFEX trigger algorithms The purposes are twofold:
virtual void ConnectSuperCellToTower(std::unique_ptr< jTowerContainer > &my_jTowerContainerRaw, int iETower, Identifier ID, int iCell, float et, int layer) const override
float phi0(const Identifier regId) const
minimum LAr phi for this region
Helper base class for offline cell identifiers.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>