|
ATLAS Offline Software
|
Go to the documentation of this file.
17 #include "GaudiKernel/ISvcLocator.h"
18 #include "GaudiKernel/StatusCode.h"
19 #include "GaudiKernel/MsgStream.h"
28 const std::string&
name,
34 m_tileBadChanTool(
"TileBadChanTool"),
38 declareProperty(
"SaveCellDetails", m_saveCellDetails =
true);
39 declareProperty(
"SavePositionInfo", m_savePosition =
true );
40 declareProperty(
"TileBadChanTool", m_tileBadChanTool);
66 return StatusCode::SUCCESS;
100 return StatusCode::SUCCESS;
113 long chan1(-1),chan2(-1),pmt1(-1),pmt2(-1);
116 long qual1 = tilecell->
qual1();
117 long qual2 = tilecell->
qual2();
158 qual1!=qual2 && (qual1!=255 || qual2!=255))
161 qual1!=qual2 && (qual1!=255 || qual2!=255))
181 else log << MSG::WARNING <<
" Cell of id "<<
cell->ID()
182 <<
" : TileHelper is_tile, but TileCell pointer is 0 "
186 return StatusCode::SUCCESS;
191 log << MSG::INFO <<
"Dumping Cell info:" <<
endmsg;
def retrieve(aClass, aKey=None)
IdentifierHash onl2() const
cell online identifier 2
static const TileCablingService * getInstance()
get pointer to service instance
float y() const
get y (through CaloDetDescrElement)
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
bool badch1(void) const
check if first PMT is in bad channel list and masked
int sample(const Identifier &id) const
virtual StatusCode addVariable(const std::string &name, const std::type_info &ti, void *&ptr, const std::string &docstring="", const void *defval=0)
Add a variable to the tuple.
int tower(const Identifier &id) const
float time() const
get time (data member)
int channel(const HWIdentifier &id) const
extract channel field from HW identifier
int ros(const HWIdentifier &id) const
extract ros field from HW identifier
IdentifierHash onl1() const
cell online identifier 1
float timeDiff(void) const
get time diff for two PMTs (data member)
uint8_t qual2(void) const
get quality of second PMT (data member)
bool isRun2PlusCabling() const
Block filler tool for noisy FEB information.
int module(const Identifier &id) const
msgSvc
Provide convenience handles for various services.
::StatusCode StatusCode
StatusCode definition for legacy code.
const CaloDetDescrElement * caloDDE() const
get pointer to CaloDetDescrElement (data member)
bool badch2(void) const
check if second PMT is in bad channel list and masked
#define CHECK(...)
Evaluate an expression and check for errors.
uint8_t qbit1(void) const
get quality bits of first PMT (data member)
int gain1(void) const
get gain of first PMT
float eneDiff(void) const
all get methods
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
HWIdentifier adc_id(int ros, int drawer, int channel, int adc) const
adc HWIdentifer
uint8_t qbit2(void) const
get quality bits of second PMT (data member)
int gain2(void) const
get gain of second PMT
Data object for each calorimeter readout cell.
std::string to_string(const Identifier &id, int level=0) const
static int channel2hole(int ros, int channel)
float z() const
get z (through CaloDetDescrElement)
float x() const
get x (through CaloDetDescrElement)
uint8_t qual1(void) const
get quality of first PMT (data member)
std::string to_string(const HWIdentifier &id, int level=0) const
extract all fields from HW identifier HWIdentifier get_all_fields ( const HWIdentifier & id,...
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
int E1_merged_with_run2plus(int ros, int module) const