|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "GaudiKernel/MsgStream.h"
9 #include "Gaudi/Property.h"
15 static const InterfaceID IID_ITileCalibHitCntNtup(
"TileCalibHitCntNtup", 1, 0);
19 return IID_ITileCalibHitCntNtup;
27 m_thistSvc(
"THistSvc",
name),
29 m_ntupleID(
"TileCalibHitCnt"),
30 m_treeSize(16000000000LL),
48 m_inact_barr_NonEm(0),
49 m_inact_barr_Invisible(0),
50 m_inact_barr_Escaped(0),
59 m_inact_ext_Invisible(0),
60 m_inact_ext_Escaped(0),
69 m_inact_itc_Invisible(0),
70 m_inact_itc_Escaped(0),
76 m_inact_gscin_totE(0),
78 m_inact_gscin_NonEm(0),
79 m_inact_gscin_Invisible(0),
80 m_inact_gscin_Escaped(0),
115 declareInterface<TileCalibHitCntNtup>(
this);
251 return StatusCode::SUCCESS;
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;
508 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
int dmat(const Identifier &id) const
return DMtype according to :
std::vector< long > * m_section
virtual StatusCode initialize()
intialize method
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
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.
virtual ~TileCalibHitCntNtup()
Destructor.
const CaloDM_ID * m_caloDM_ID
std::vector< long > * m_inact_side
std::vector< float > * m_inact_NonEm
std::vector< long > * m_inact_subCalo
static const InterfaceID & interfaceID()
AlgTool InterfaceID.
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
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode finalize()
finalize method
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
TileCalibHitCntNtup(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
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
std::vector< long > * m_inact_tower
std::string m_dmHitContainer
std::vector< long > * m_inact_sample
Class to store calorimeter calibration hit.
std::string m_InactiveHitContainer
Helpers for checking error return status codes and reporting errors.
std::vector< long > * m_dm_type
virtual StatusCode StoreCNT(const CaloCalibrationHitContainer *ActiveHitCnt, const CaloCalibrationHitContainer *InactiveHitCnt, const CaloCalibrationHitContainer *dmHitCnt)
Executer.
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
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
int section(const Identifier id) const
Tile field values (NOT_VALID == invalid request)