|
ATLAS Offline Software
|
This class creates ntuple with calibration hits container info.
More...
#include <TileCalibHitCntNtup.h>
|
| TileCalibHitCntNtup (const std::string &type, const std::string &name, const IInterface *parent) |
| Constructor. More...
|
|
virtual | ~TileCalibHitCntNtup () |
| Destructor. More...
|
|
virtual StatusCode | initialize () |
| intialize method More...
|
|
virtual StatusCode | StoreCNT (const CaloCalibrationHitContainer *ActiveHitCnt, const CaloCalibrationHitContainer *InactiveHitCnt, const CaloCalibrationHitContainer *dmHitCnt) |
| Executer. More...
|
|
virtual StatusCode | finalize () |
| finalize method More...
|
|
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 |
|
This class creates ntuple with calibration hits container info.
Definition at line 47 of file TileCalibHitCntNtup.h.
◆ StoreGateSvc_t
◆ TileCalibHitCntNtup()
TileCalibHitCntNtup::TileCalibHitCntNtup |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~TileCalibHitCntNtup()
TileCalibHitCntNtup::~TileCalibHitCntNtup |
( |
| ) |
|
|
virtual |
◆ 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]
◆ 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
◆ finalize()
StatusCode TileCalibHitCntNtup::finalize |
( |
| ) |
|
|
virtual |
◆ initialize()
StatusCode TileCalibHitCntNtup::initialize |
( |
| ) |
|
|
virtual |
◆ 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 & TileCalibHitCntNtup::interfaceID |
( |
| ) |
|
|
static |
◆ 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()
◆ StoreCNT()
Executer.
- Parameters
-
ActiveHitCnt | execute method |
Definition at line 257 of file TileCalibHitCntNtup.cxx.
346 nhit = ActiveHitCnt->
Size();
347 sprintf(text_info,
"Number of CalibHits in Tile ActiveCell container = %d", nhit);
353 m_act_visE += hit->energyEM() + hit->energyNonEM();
355 m_Total->push_back( hit->energyTotal());
356 m_Em->push_back( hit->energyEM());
357 m_NonEm->push_back( hit->energyNonEM());
359 m_Escaped->push_back( hit->energyEscaped());
395 ATH_MSG_WARNING(
"CalibHit in TileCalibHitActiveCell container hasn't Tile Identifier");
405 if (InactiveHitCnt) {
406 nhit = InactiveHitCnt->
Size();
407 sprintf(text_info,
"Number of CalibHits in Tile InactiveCell container = %d", nhit);
455 ATH_MSG_WARNING(
"CalibHit in TileCalibHitInactiveCell container hasn't Tile Identifier");
466 nhit = dmHitCnt->
Size();
467 sprintf(text_info,
"Number of CalibHits in Tile DeadMaterial container = %d", nhit);
473 m_DM_visE += hit->energyEM() + hit->energyNonEM();
477 m_dm_ene->push_back( hit->energyTotal());
478 m_dm_vis->push_back( hit->energyEM() + hit->energyNonEM());
496 return StatusCode::FAILURE;
499 return StatusCode::SUCCESS;
◆ 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_act_nchan
long TileCalibHitCntNtup::m_act_nchan |
|
private |
◆ m_act_totE
float TileCalibHitCntNtup::m_act_totE |
|
private |
◆ m_act_visE
float TileCalibHitCntNtup::m_act_visE |
|
private |
◆ m_ActiveHitContainer
std::string TileCalibHitCntNtup::m_ActiveHitContainer |
|
private |
◆ m_barr_Em
float TileCalibHitCntNtup::m_barr_Em |
|
private |
◆ m_barr_Escaped
float TileCalibHitCntNtup::m_barr_Escaped |
|
private |
◆ m_barr_Invisible
float TileCalibHitCntNtup::m_barr_Invisible |
|
private |
◆ m_barr_NonEm
float TileCalibHitCntNtup::m_barr_NonEm |
|
private |
◆ m_barr_totE
float TileCalibHitCntNtup::m_barr_totE |
|
private |
◆ m_caloCell_ID
◆ m_caloDM_ID
◆ m_detStore
◆ m_dm_ene
std::vector<float>* TileCalibHitCntNtup::m_dm_ene |
|
private |
◆ m_dm_eta
std::vector<long>* TileCalibHitCntNtup::m_dm_eta |
|
private |
◆ m_dm_nchan
long TileCalibHitCntNtup::m_dm_nchan |
|
private |
◆ m_dm_phi
std::vector<long>* TileCalibHitCntNtup::m_dm_phi |
|
private |
◆ m_dm_region
std::vector<long>* TileCalibHitCntNtup::m_dm_region |
|
private |
◆ m_dm_sampling
std::vector<long>* TileCalibHitCntNtup::m_dm_sampling |
|
private |
◆ m_dm_subDet
std::vector<long>* TileCalibHitCntNtup::m_dm_subDet |
|
private |
◆ m_DM_totE
float TileCalibHitCntNtup::m_DM_totE |
|
private |
◆ m_dm_type
std::vector<long>* TileCalibHitCntNtup::m_dm_type |
|
private |
◆ m_dm_vis
std::vector<float>* TileCalibHitCntNtup::m_dm_vis |
|
private |
◆ m_DM_visE
float TileCalibHitCntNtup::m_DM_visE |
|
private |
◆ m_dmHitContainer
std::string TileCalibHitCntNtup::m_dmHitContainer |
|
private |
◆ m_Em
std::vector<float>* TileCalibHitCntNtup::m_Em |
|
private |
◆ m_Escaped
std::vector<float>* TileCalibHitCntNtup::m_Escaped |
|
private |
◆ m_evtStore
◆ m_ext_Em
float TileCalibHitCntNtup::m_ext_Em |
|
private |
◆ m_ext_Escaped
float TileCalibHitCntNtup::m_ext_Escaped |
|
private |
◆ m_ext_Invisible
float TileCalibHitCntNtup::m_ext_Invisible |
|
private |
◆ m_ext_NonEm
float TileCalibHitCntNtup::m_ext_NonEm |
|
private |
◆ m_ext_totE
float TileCalibHitCntNtup::m_ext_totE |
|
private |
◆ m_gscin_Em
float TileCalibHitCntNtup::m_gscin_Em |
|
private |
◆ m_gscin_Escaped
float TileCalibHitCntNtup::m_gscin_Escaped |
|
private |
◆ m_gscin_Invisible
float TileCalibHitCntNtup::m_gscin_Invisible |
|
private |
◆ m_gscin_NonEm
float TileCalibHitCntNtup::m_gscin_NonEm |
|
private |
◆ m_gscin_totE
float TileCalibHitCntNtup::m_gscin_totE |
|
private |
◆ m_inact_barr_Em
float TileCalibHitCntNtup::m_inact_barr_Em |
|
private |
◆ m_inact_barr_Escaped
float TileCalibHitCntNtup::m_inact_barr_Escaped |
|
private |
◆ m_inact_barr_Invisible
float TileCalibHitCntNtup::m_inact_barr_Invisible |
|
private |
◆ m_inact_barr_NonEm
float TileCalibHitCntNtup::m_inact_barr_NonEm |
|
private |
◆ m_inact_barr_totE
float TileCalibHitCntNtup::m_inact_barr_totE |
|
private |
◆ m_inact_Em
std::vector<float>* TileCalibHitCntNtup::m_inact_Em |
|
private |
◆ m_inact_Escaped
std::vector<float>* TileCalibHitCntNtup::m_inact_Escaped |
|
private |
◆ m_inact_ext_Em
float TileCalibHitCntNtup::m_inact_ext_Em |
|
private |
◆ m_inact_ext_Escaped
float TileCalibHitCntNtup::m_inact_ext_Escaped |
|
private |
◆ m_inact_ext_Invisible
float TileCalibHitCntNtup::m_inact_ext_Invisible |
|
private |
◆ m_inact_ext_NonEm
float TileCalibHitCntNtup::m_inact_ext_NonEm |
|
private |
◆ m_inact_ext_totE
float TileCalibHitCntNtup::m_inact_ext_totE |
|
private |
◆ m_inact_gscin_Em
float TileCalibHitCntNtup::m_inact_gscin_Em |
|
private |
◆ m_inact_gscin_Escaped
float TileCalibHitCntNtup::m_inact_gscin_Escaped |
|
private |
◆ m_inact_gscin_Invisible
float TileCalibHitCntNtup::m_inact_gscin_Invisible |
|
private |
◆ m_inact_gscin_NonEm
float TileCalibHitCntNtup::m_inact_gscin_NonEm |
|
private |
◆ m_inact_gscin_totE
float TileCalibHitCntNtup::m_inact_gscin_totE |
|
private |
◆ m_inact_Invisible
std::vector<float>* TileCalibHitCntNtup::m_inact_Invisible |
|
private |
◆ m_inact_itc_Em
float TileCalibHitCntNtup::m_inact_itc_Em |
|
private |
◆ m_inact_itc_Escaped
float TileCalibHitCntNtup::m_inact_itc_Escaped |
|
private |
◆ m_inact_itc_Invisible
float TileCalibHitCntNtup::m_inact_itc_Invisible |
|
private |
◆ m_inact_itc_NonEm
float TileCalibHitCntNtup::m_inact_itc_NonEm |
|
private |
◆ m_inact_itc_totE
float TileCalibHitCntNtup::m_inact_itc_totE |
|
private |
◆ m_inact_module
std::vector<long>* TileCalibHitCntNtup::m_inact_module |
|
private |
◆ m_inact_nchan
long TileCalibHitCntNtup::m_inact_nchan |
|
private |
◆ m_inact_NonEm
std::vector<float>* TileCalibHitCntNtup::m_inact_NonEm |
|
private |
◆ m_inact_sample
std::vector<long>* TileCalibHitCntNtup::m_inact_sample |
|
private |
◆ m_inact_section
std::vector<long>* TileCalibHitCntNtup::m_inact_section |
|
private |
◆ m_inact_side
std::vector<long>* TileCalibHitCntNtup::m_inact_side |
|
private |
◆ m_inact_subCalo
std::vector<long>* TileCalibHitCntNtup::m_inact_subCalo |
|
private |
◆ m_inact_Total
std::vector<float>* TileCalibHitCntNtup::m_inact_Total |
|
private |
◆ m_inact_totE
float TileCalibHitCntNtup::m_inact_totE |
|
private |
◆ m_inact_tower
std::vector<long>* TileCalibHitCntNtup::m_inact_tower |
|
private |
◆ m_inact_visE
float TileCalibHitCntNtup::m_inact_visE |
|
private |
◆ m_InactiveHitContainer
std::string TileCalibHitCntNtup::m_InactiveHitContainer |
|
private |
◆ m_Invisible
std::vector<float>* TileCalibHitCntNtup::m_Invisible |
|
private |
◆ m_itc_Em
float TileCalibHitCntNtup::m_itc_Em |
|
private |
◆ m_itc_Escaped
float TileCalibHitCntNtup::m_itc_Escaped |
|
private |
◆ m_itc_Invisible
float TileCalibHitCntNtup::m_itc_Invisible |
|
private |
◆ m_itc_NonEm
float TileCalibHitCntNtup::m_itc_NonEm |
|
private |
◆ m_itc_totE
float TileCalibHitCntNtup::m_itc_totE |
|
private |
◆ m_max_chan
int TileCalibHitCntNtup::m_max_chan |
|
private |
◆ m_module
std::vector<long>* TileCalibHitCntNtup::m_module |
|
private |
◆ m_NonEm
std::vector<float>* TileCalibHitCntNtup::m_NonEm |
|
private |
◆ m_ntupleID
std::string TileCalibHitCntNtup::m_ntupleID |
|
private |
◆ m_ntuplePtr
TTree* TileCalibHitCntNtup::m_ntuplePtr |
|
private |
◆ m_sample
std::vector<long>* TileCalibHitCntNtup::m_sample |
|
private |
◆ m_section
std::vector<long>* TileCalibHitCntNtup::m_section |
|
private |
◆ m_side
std::vector<long>* TileCalibHitCntNtup::m_side |
|
private |
◆ m_streamName
std::string TileCalibHitCntNtup::m_streamName |
|
private |
◆ m_subCalo
std::vector<long>* TileCalibHitCntNtup::m_subCalo |
|
private |
◆ m_thistSvc
◆ m_Total
std::vector<float>* TileCalibHitCntNtup::m_Total |
|
private |
◆ m_tower
std::vector<long>* TileCalibHitCntNtup::m_tower |
|
private |
◆ m_treeSize
int64_t TileCalibHitCntNtup::m_treeSize |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
int dmat(const Identifier &id) const
return DMtype according to :
std::vector< long > * m_section
float m_inact_gscin_NonEm
int tower(const Identifier id) const
Tile field values (NOT_VALID == invalid request)
std::vector< float > * m_Invisible
float m_inact_ext_Escaped
std::vector< long > * m_subCalo
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
std::vector< long > * m_tower
int region(const Identifier &id) const
return region according to :
float m_inact_itc_Invisible
const CaloCell_ID * m_caloCell_ID
std::vector< long > * m_side
std::vector< long > * m_inact_section
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
std::vector< long > * m_module
std::vector< float > * m_inact_Escaped
ServiceHandle< ITHistSvc > m_thistSvc
int module(const Identifier id) const
Tile field values (NOT_VALID == invalid request)
std::vector< float > * m_Escaped
bool is_tile_barrel(const Identifier id) const
test if the id belongs to the Tiles barrel
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
const CaloDM_ID * m_caloDM_ID
virtual void setOwner(IDataHandleHolder *o)=0
std::vector< long > * m_inact_side
std::vector< float > * m_inact_NonEm
std::vector< long > * m_inact_subCalo
int sample(const Identifier id) const
Tile field values (NOT_VALID == invalid request)
float m_inact_gscin_Escaped
float m_inact_barr_Escaped
std::vector< long > * m_dm_subDet
bool is_tile_extbarrel(const Identifier id) const
test if the id belongs to the Tiles extended barrel
int pos_neg_z(const Identifier &id) const
return pos_neg_z according to :
std::vector< float > * m_dm_ene
std::vector< float > * m_inact_Invisible
int sub_calo(const Identifier id) const
returns an int taken from SUBCALO enum and describing the subCalo to which the Id belongs.
#define CHECK(...)
Evaluate an expression and check for errors.
std::vector< long > * m_dm_phi
float m_inact_barr_Invisible
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
std::vector< long > * m_inact_tower
std::string m_dmHitContainer
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
std::vector< long > * m_inact_sample
Class to store calorimeter calibration hit.
std::string m_InactiveHitContainer
std::vector< long > * m_dm_type
std::vector< float > * m_inact_Em
int sampling(const Identifier &id) const
return sampling according to :
std::vector< long > * m_sample
std::vector< float > * m_inact_Total
float m_inact_ext_Invisible
int eta(const Identifier &id) const
return eta
std::string m_ActiveHitContainer
std::vector< long > * m_inact_module
int side(const Identifier id) const
Tile field values (NOT_VALID == invalid request)
std::vector< long > * m_dm_sampling
#define ATH_MSG_WARNING(x)
std::vector< float > * m_dm_vis
int phi(const Identifier &id) const
return phi
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
float m_inact_itc_Escaped
std::vector< long > * m_dm_region
std::vector< float > * m_Total
float m_inact_gscin_Invisible
std::vector< float > * m_Em
std::vector< float > * m_NonEm
bool is_tile_gap(const Identifier id) const
test if the id belongs to the Tiles gap
bool is_tile_gapscin(const Identifier id) const
std::vector< long > * m_dm_eta
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
int section(const Identifier id) const
Tile field values (NOT_VALID == invalid request)