|
ATLAS Offline Software
|
Go to the documentation of this file.
34 m_tileCabling(
"TileCablingSvc",
name),
35 m_tileTool(
"TileBadChanTool",this)
72 return StatusCode::SUCCESS;
79 return StatusCode::SUCCESS;
86 auto badandmissingCellsGeomMap = std::make_unique<jet::CaloCellFastMap>();
87 jet::cellset_t & badandmissingCells = badandmissingCellsGeomMap->cells();
88 badandmissingCellsGeomMap->init(
m_rmax);
91 const std::vector<Identifier> & tiledisconnected =
m_tileCabling->disconnectedCells();
92 badandmissingCells.insert(tiledisconnected.begin(), tiledisconnected.end());
110 if ( !
cc.isValid() ) {
111 ATH_MSG_ERROR(
"Unable to retrieve CaloCellContainer AllCalo from event store.");
118 if( (*it)->badcell() ) {
120 badandmissingCells.insert(
c->ID() );
135 std::vector<Identifier>::const_iterator idItr = calo_id->
cell_begin();
136 std::vector<Identifier>::const_iterator idItrE = calo_id->
cell_end();
137 for(; idItr!=idItrE; ++idItr){
150 badandmissingCells.insert( *idItr );
158 for( ; lit != litE; ++lit){
161 badandmissingCellsGeomMap->insert(
p );
166 ATH_MSG(
DEBUG ) <<
" total bad and missing "<< badandmissingCells.size() <<
" "<< badandmissingCellsGeomMap->size() <<
endmsg;
170 if (
sc.isFailure()) {
171 ATH_MSG_ERROR(
"Unable to record badandmissingCellsGeomMap in event store: "
JetConstituentVector::iterator iterator
Const iterator class for DataVector/DataList.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Conditions-Data class holding LAr Bad Channel or Bad Feb information.
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
const CaloDetDescrElement * get_element(const Identifier &cellId) const
get element by its identifier
id_iterator cell_end(void) const
end iterator over full set of Identifiers (LAr + Tiles)
bool is_tile(const Identifier id) const
test if the id belongs to the Tiles
Handle class for recording to StoreGate.
::StatusCode StatusCode
StatusCode definition for legacy code.
#define CHECK(...)
Evaluate an expression and check for errors.
Helper class for offline cell identifiers.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
id_iterator cell_begin(void) const
begin iterator over full set of Identifiers (LAr + Tiles)
Helpers for checking error return status codes and reporting errors.
BitWord packedData() const
StatusCode initialize(bool used=true)
BitWord packedData() const
Container class for CaloCell.
This class provides the client interface for accessing the detector description information common to...
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
Data object for each calorimeter readout cell.
CaloCell_ID::CaloSample getSampling() const
cell sampling
const CaloCell_ID * getCaloCell_ID() const
get calo cell ID helper
float eta() const
cell eta
float phi() const
cell phi
std::unordered_set< Identifier > cellset_t