|
ATLAS Offline Software
|
Go to the documentation of this file.
20 const std::string&
name,
const IInterface*
parent)
46 ATH_MSG_FATAL(
" Cannot get instance of TileCablingService" );
47 return StatusCode::FAILURE;
53 return StatusCode::SUCCESS;
64 double totalweight = 1.0;
67 std::map<Identifier, double>::const_iterator
cur =
m_celllist.find(
id);
70 totalweight = (
cur->second);
72 <<
", phi = " << theCell->
phi()
73 <<
", weight = " << totalweight );
91 std::string theString = *itrStringID;
93 is << theString << std::endl;
97 is >> iros >> idrawer >>
weight;
100 <<
" Drawer " << idrawer
101 <<
" with weight=" <<
weight );
109 for (
unsigned int i = hmin;
i <
hmax; ++
i) {
115 if ((
ros == iros) && (
drawer == idrawer)) {
121 <<
" cells, " <<
nCells <<
" cells matched" );
124 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
virtual double phi() const override final
get phi (through CaloDetDescrElement)
Gaudi::Property< std::vector< std::string > > m_deadDrawerInput
Property: List of "dead" drawers.
const TileHWID * m_tileHWID
Pointer to TileHWID.
StatusCode createMiscalibratedCellList()
Reads in properties and creates list of miscalibrated cells.
const TileCablingService * m_cabling
Pointer to TileCablingService.
virtual StatusCode initialize() override
AlgTool Initialization.
#define ATH_MSG_VERBOSE(x)
virtual ~TileCellFakeProb()
Standard destructor.
int ros(const HWIdentifier &id) const
extract ros field from HW identifier
setRawEt setRawPhi nCells
void calo_cell_hash_range(const Identifier id, IdentifierHash &caloCellMin, IdentifierHash &caloCellMax) const
to loop on 'global' cell hashes of one sub-calorimeter alone
::StatusCode StatusCode
StatusCode definition for legacy code.
TileCellFakeProb(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
#define CHECK(...)
Evaluate an expression and check for errors.
bool is_tile(Identifier id) const
ServiceHandle< TileCablingSvc > m_cablingSvc
Name of Tile cabling service.
HWIdentifier s2h_drawer_id(const Identifier &id) const
Helpers for checking error return status codes and reporting errors.
Identifier ID() const
get ID (from cached data member) non-virtual and inline for fast access
Identifier cell_id(const int subCalo, const int barec_or_posneg, const int sampling_or_fcalmodule, const int region_or_dummy, const int eta, const int phi) const
Make a cell (== channel) ID from constituting fields and subCalo index; for (Mini)FCAL,...
int drawer(const HWIdentifier &id) const
extract drawer field from HW identifier
Data object for each calorimeter readout cell.
std::map< Identifier, double > m_celllist
List of "dead" cells and their weights.
const CaloCell_ID * m_caloID
Pointer to CaloCellID.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
const TileID * m_tileID
Pointer to TileID.
virtual double wtCell(const CaloCell *theCell) const override
implementation of ICellWeightTool weighting method
virtual double eta() const override final
get eta (through CaloDetDescrElement)