|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
   21 #include "Identifier/Identifier.h" 
   34                  const std::string& 
type, 
 
   35                  const std::string& 
name, 
 
   58   return StatusCode::SUCCESS;
 
   64    return StatusCode::SUCCESS;
 
   68                                           const EventContext& ctx)
 const 
   81   for ( ; feb != feb_end; ++feb) {
 
   84              feb->get_identifier32().get_compact());
 
   88       for (
int i=0;
i<2;
i++) {
 
   97   return StatusCode::SUCCESS;
 
  106     if (!cell1 || !cell2) 
return;
 
  111     if (cell1->
gain() == cell2->
gain()) 
return;
 
  128     double eold = cell1->
energy();
 
  138   if (
cabling->isOnlineConnected(
id)) {
 
  
def retrieve(aClass, aKey=None)
setCharge setNTRTHiThresholdHits eratio
IdentifierHash calo_cell_hash(const Identifier cellId) const
create hash id from 'global' cell id
virtual StatusCode initialize() override
initialize the tool
virtual StatusCode process(CaloCellContainer *theCellContainer, const EventContext &ctx) const override
update theCellContainer, masking Feb with errors
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
handle to LAr cabling service
id_iterator feb_begin() const
Returns an iterator pointing to a feb identifier collection.
virtual void setEnergy(float energy)
set energy
void ApplyPathology(CaloCellContainer *theCont, HWIdentifier id1, HWIdentifier id, const LArOnOffIdMapping *cabling) const
method to apply pathology between a couple of cells
double energy() const
get energy (data member)
This class initializes the Calo (LAr and Tile) offline identifiers.
LArCellGainPathology(const std::string &type, const std::string &name, const IInterface *parent)
::StatusCode StatusCode
StatusCode definition for legacy code.
HWIdentifier channel_Id(int barrel_ec, int pos_neg, int feedthrough, int slot, int channel) const
create channel identifier from fields
void setGain(CaloGain::CaloGain gain=CaloGain::INVALIDGAIN)
set gain
const CaloCell_ID * m_calo_id
pointers to storegateSvc and identifier helpers
id_iterator feb_end() const
const CaloCell_ID * getCaloCell_ID(void) const
Access to IdHelper.
CaloGain::CaloGain gain() const
get gain (data member )
StatusCode initialize(bool used=true)
CaloCell * GetCell(CaloCellContainer *theCont, HWIdentifier id, const LArOnOffIdMapping *cabling) const
method to find cell from hardware id
Container class for CaloCell.
Data object for each calorimeter readout cell.
const LArOnlineID * m_onlineID
int findIndex(const IdentifierHash theHash) const
Return index of the cell with a given hash.
virtual StatusCode finalize() override
finalize the tool
const T * at(size_type n) const
Access an element, as an rvalue.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...