|
ATLAS Offline Software
|
Algorithm to dump out calibration constants from the TileInfoSvc.
More...
#include <TileInfoDump.h>
|
| TileInfoDump (const std::string &name, ISvcLocator *pSvcLocator) |
|
| ~TileInfoDump () |
|
StatusCode | initialize () |
|
StatusCode | execute () |
|
StatusCode | finalize () |
|
virtual StatusCode | sysInitialize () override |
| Override sysInitialize. More...
|
|
virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. More...
|
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
Algorithm to dump out calibration constants from the TileInfoSvc.
Definition at line 48 of file TileInfoDump.h.
◆ StoreGateSvc_t
◆ TileInfoDump()
TileInfoDump::TileInfoDump |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ ~TileInfoDump()
TileInfoDump::~TileInfoDump |
( |
| ) |
|
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
253 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
229 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
338 return PBASE::declareProperty(
name, property,
doc);
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
StatusCode TileInfoDump::execute |
( |
| ) |
|
Definition at line 144 of file TileInfoDump.cxx.
152 << eventInfo->runNumber() <<
", "
153 << eventInfo->eventNumber() <<
", "
154 << eventInfo->lumiBlock() <<
": "
155 << eventInfo->timeStamp() <<
"]" );
178 return StatusCode::SUCCESS;
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ extraOutputDeps()
const DataObjIDColl & AthAlgorithm::extraOutputDeps |
( |
| ) |
const |
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 50 of file AthAlgorithm.cxx.
57 return Algorithm::extraOutputDeps();
◆ finalize()
StatusCode TileInfoDump::finalize |
( |
| ) |
|
◆ initialize()
StatusCode TileInfoDump::initialize |
( |
| ) |
|
Definition at line 71 of file TileInfoDump.cxx.
127 m_h_badCellA =
new TH2F(
"m_h_badCellA",
"Etaphi_maskedCell A", 34, -1.7, 1.7, 64, -3.2, 3.2);
128 m_h_badCellBC =
new TH2F(
"m_h_badCellBC",
"Etaphi_maskedCell BC", 34, -1.7, 1.7, 64, -3.2, 3.2);
129 m_h_badCellD =
new TH2F(
"m_h_badCellD",
"Etaphi_maskedCell D", 34, -1.7, 1.7, 64, -3.2, 3.2);
130 m_h_badCellGap =
new TH2F(
"m_h_badCellGap",
"Etaphi_maskedCell Gap", 34, -1.7, 1.7, 64, -3.2, 3.2);
131 m_h_badCell =
new TH2F(
"m_h_badCell",
"Etaphi_maskedCell All", 34, -1.7, 1.7, 64, -3.2, 3.2);
139 return StatusCode::SUCCESS;
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ print1gNoise()
void TileInfoDump::print1gNoise |
( |
| ) |
|
|
private |
Definition at line 392 of file TileInfoDump.cxx.
394 const EventContext &ctx = Gaudi::Hive::currentContext();
396 std::vector<float> vecAutoCr;
◆ printBadCells()
void TileInfoDump::printBadCells |
( |
| ) |
|
|
private |
Definition at line 640 of file TileInfoDump.cxx.
651 std::ostringstream sSum;
652 std::ostringstream sDet;
655 sDet <<
">>>>>>>>>>>>>>> Detailed list of BAD Cells <<<<<<<<<<<<<<<<" << std::endl;
656 sDet <<
"tower 0-15: numbered by pseudorapidity from 0 with 0.1 increment in eta" << std::endl;
658 int badcell_N = (
run2) ? 0 : 4;
663 int badcell_GapA = 0;
664 int badcell_GapC = (
run2) ? 0 : 4;
669 const EventContext &ctx = Gaudi::Hive::currentContext();
673 for (
int i = 0;
i < ncells; ++
i) {
696 if (ch1_status.
isBad() && ch2_status.
isBad()) {
741 sDet <<
"sampling A";
747 sDet <<
"sampling BC";
749 sDet <<
"sampling B";
754 sDet <<
"sampling D";
759 sDet <<
"gap and crack scintillators";
764 sDet <<
"individual tiles, used for Cesium calibration";
770 sDet <<
", eta x phi = " << elem->
eta()
771 <<
" x " << elem->
phi()
772 <<
", channels: " << ich1 <<
", " << ich2 << std::endl;
779 sDet <<
"!!! Four cells in GapC are also bad but not listed above: EBC04 ch 1, EBC35 ch 0, EBC54 ch 1, and EBC61 ch 1 " << std::endl;
784 float fncells =
static_cast<float>(ncells);
788 fncells = fncells - 2;
792 sSum <<
">>>>>>>>>>>>>>> Tilecal BAD Cells Summary <<<<<<<<<<<<<<<<" << std::endl;
793 sSum <<
"Total number of cells including MBTS: " << fncells << std::endl;
794 sSum <<
"Total number of bad cells: " << badcell_N
795 <<
" (" << std::setprecision(4) << 100 *
static_cast<float>(badcell_N) / fncells <<
" %)" << std::endl;
797 sSum <<
"Bad cells in LBA(+cell D0): " << badcell_LBA
798 <<
" (" << std::setprecision(4) << 100 *
static_cast<float>(badcell_LBA) / fncells <<
" %)" << std::endl;
800 sSum <<
"Bad cells in LBC: " << badcell_LBC
801 <<
" (" << std::setprecision(4) << 100 *
static_cast<float>(badcell_LBC) / fncells <<
" %)" << std::endl;
803 sSum <<
"Bad cells in EBA: " << badcell_EBA
804 <<
" (" << std::setprecision(4) << 100 *
static_cast<float>(badcell_EBA) / fncells <<
" %)" << std::endl;
806 sSum <<
"Bad cells in EBC: " << badcell_EBC
807 <<
" (" << std::setprecision(4) << 100 *
static_cast<float>(badcell_EBC) / fncells <<
" %)" << std::endl;
809 sSum <<
"Bad cells in Gap A(ITC+E1-4): " << badcell_GapA
810 <<
" (" << std::setprecision(4) << 100 *
static_cast<float>(badcell_GapA) / fncells <<
" %)" << std::endl;
812 sSum <<
"Bad cells in Gap C(ITC+E1-4): " << badcell_GapC
813 <<
" (" << std::setprecision(4) << 100 *
static_cast<float>(badcell_GapC) / fncells <<
" %)" << std::endl;
818 std::ofstream fcout(
"tileBadCells.txt");
819 fcout << sSum.str() << std::endl;
820 fcout << sDet.str() << std::endl;
◆ printBadChannels()
void TileInfoDump::printBadChannels |
( |
| ) |
|
|
private |
Definition at line 514 of file TileInfoDump.cxx.
518 std::vector<std::string> vmod;
520 std::ostringstream sSum;
521 std::ostringstream sDet;
524 const unsigned int npar = 4;
525 unsigned int bchn[npar];
526 unsigned int badc[npar];
527 for (
unsigned int ros = 0;
ros < npar; ++
ros) {
533 sDet <<
">>>>>>>>>>>>>>> Detailed list of BAD Channels/ADCs <<<<<<<<<<<<<<<<" << std::endl;
539 unsigned int badadc = 0;
540 unsigned int badchn = 0;
546 if (
status.isAffected()) {
550 <<
"has at least one problem: " <<
status.getString() << std::endl;
559 <<
"has at least one problem: " <<
status.getString() << std::endl;
566 <<
"/ch" <<
channel <<
"/" <<
adc <<
" : " <<
status.getString() << std::endl;
574 <<
"/ch" <<
channel <<
"/" <<
adc <<
" : " <<
status.getString() << std::endl;
582 std::ostringstream myStream;
584 vmod.push_back(myStream.str());
594 sSum <<
">>> Summary of BAD channels/ADCs per drawer (in LBA, LBC, EBA, EBC) <<<<" << std::endl;
596 sSum <<
"There are no bad ADCs in LBA, LBC, EBA and EBC" << std::endl;
598 unsigned int totchn = 0;
599 unsigned int totadc = 0;
601 for (
unsigned int ros = 0;
ros < npar; ++
ros) {
606 sSum <<
"Total number of bad channels/ADC: " << totchn <<
"/" << totadc << std::endl;
607 sSum <<
"Bad channels/ADC in LBA : " << bchn[0] <<
"/" << badc[0] << std::endl;
608 sSum <<
"Bad channels/ADC in LBC : " << bchn[1] <<
"/" << badc[1] << std::endl;
609 sSum <<
"Bad channels/ADC in EBA : " << bchn[2] <<
"/" << badc[2] << std::endl;
610 sSum <<
"Bad channels/ADC in EBC : " << bchn[3] <<
"/" << badc[3] << std::endl;
613 for (
const std::string&
s : vmod)
614 sSum <<
s << std::endl;
620 std::ofstream fcout(
"tileBadChannelsAdcs.txt");
621 fcout << sSum.str() << std::endl;
622 fcout << sDet.str() << std::endl;
◆ printEmscale()
void TileInfoDump::printEmscale |
( |
| ) |
|
|
private |
Definition at line 183 of file TileInfoDump.cxx.
193 msg(MSG::INFO) <<
ros <<
"/" << std::setw(2)
194 <<
drawer <<
"/" << std::setw(2)
196 <<
adc <<
" : " << std::fixed << std::right << std::setw(9) << std::setprecision(5)
198 << std::fixed << std::right << std::setw(9) << std::setprecision(5)
200 << std::fixed << std::right << std::setw(9) << std::setprecision(5)
202 << std::fixed << std::right << std::setw(9) << std::setprecision(5)
208 msg(MSG::INFO) << std::fixed << std::right << std::setw(9) << std::setprecision(5)
209 << chanCalMeV <<
" (total)";
213 msg(MSG::INFO) << std::fixed << std::right << std::setw(9) << std::setprecision(5)
216 <<
" (onlMev->oflADC)";
229 ATH_MSG_INFO(
"Performing an energy scan to test CIS LUT" );
231 unsigned int ros = 1;
235 for (
int adcCounts = 0; adcCounts <=
m_i_ADCmax; ++adcCounts) {
236 double energy =
static_cast<float>(adcCounts);
238 <<
"ADC counts = " << adcCounts
◆ printEmscaleOnl()
void TileInfoDump::printEmscaleOnl |
( |
| ) |
|
|
private |
Definition at line 248 of file TileInfoDump.cxx.
259 msg(MSG::INFO) <<
ros <<
"/" << std::setw(2) <<
drawer <<
"/" << std::setw(2) <<
channel <<
"/" <<
adc <<
" : "
260 << std::fixed << std::right << std::setw(9) << std::setprecision(5)
262 << std::fixed << std::right << std::setw(9) << std::setprecision(5)
264 << std::fixed << std::right << std::setw(9) << std::setprecision(5)
266 << std::fixed << std::right << std::setw(9) << std::setprecision(5)
271 msg(MSG::INFO) << std::fixed << std::right << std::setw(9) << std::setprecision(5)
272 << chanCalMeV <<
" (total)";
◆ printIntegrator()
void TileInfoDump::printIntegrator |
( |
| ) |
|
|
private |
◆ printLaser()
void TileInfoDump::printLaser |
( |
| ) |
|
|
private |
Definition at line 285 of file TileInfoDump.cxx.
295 msg(MSG::INFO) <<
ros <<
"/" << std::setw(2)
296 <<
drawer <<
"/" << std::setw(2)
299 << std::fixed << std::right << std::setw(9) << std::setprecision(5)
301 << std::fixed << std::right << std::setw(9) << std::setprecision(5)
303 << std::fixed << std::right << std::setw(9) << std::setprecision(5)
305 << std::fixed << std::right << std::setw(9) << std::setprecision(5)
◆ printMuID()
void TileInfoDump::printMuID |
( |
| ) |
|
|
private |
Definition at line 827 of file TileInfoDump.cxx.
829 float thr_low_value = -999.;
830 float thr_high_value = -999.;
837 ATH_MSG_INFO(
" Cell_ID, Threshold detector(TileCal=5)/section/side/module/tower/sampling" );
839 for (
int i = 0;
i < ncells; ++
i) {
848 <<
" Threshold low/high " << thr_low_value <<
" " << thr_high_value
◆ printOfcs()
void TileInfoDump::printOfcs |
( |
| ) |
|
|
private |
Definition at line 856 of file TileInfoDump.cxx.
862 unsigned int gain = 0;
870 const EventContext &ctx = Gaudi::Hive::currentContext();
873 int phase_step =
round(
static_cast<double>(Phamax - Phamin) / (std::abs(NPhases) - 1));
876 <<
" nPhases " << NPhases
877 <<
" nFields " << NFields
895 msg(MSG::INFO) <<
"OFC A";
900 msg(MSG::INFO) <<
"OFC B";
905 msg(MSG::INFO) <<
"OFC C";
910 msg(MSG::INFO) <<
"OFC G";
916 msg(MSG::INFO) <<
"OFC DG";
◆ printPedestals()
void TileInfoDump::printPedestals |
( |
| ) |
|
|
private |
Definition at line 351 of file TileInfoDump.cxx.
353 const EventContext &ctx = Gaudi::Hive::currentContext();
355 std::vector<float> vecAutoCr;
368 msg(MSG::INFO) <<
ros <<
"/"
377 for (
unsigned int i = 0;
i < vecAutoCr.size(); ++
i) {
378 msg(MSG::INFO) << vecAutoCr[
i] <<
" ";
◆ printPulseShapes()
void TileInfoDump::printPulseShapes |
( |
| ) |
|
|
private |
Definition at line 472 of file TileInfoDump.cxx.
475 unsigned int ros = 0;
484 float startpoint = -100.0;
485 float endpoint = 150.0;
487 const EventContext &ctx = Gaudi::Hive::currentContext();
494 for (
unsigned int point = 0; point < npoint; ++point) {
499 <<
drawer <<
"/" << std::setw(2)
502 <<
"Time, Y, DY: " << std::fixed << std::right << std::setw(9) << std::setprecision(6) <<
time
503 <<
" " << std::fixed << std::right << std::setw(11) << std::setprecision(8) <<
y
504 <<
" " << std::fixed << std::right << std::setw(11) << std::setprecision(8) <<
dy );
◆ printTimingCorrections()
void TileInfoDump::printTimingCorrections |
( |
| ) |
|
|
private |
◆ renounce()
◆ renounceArray()
◆ sysInitialize()
StatusCode AthAlgorithm::sysInitialize |
( |
| ) |
|
|
overridevirtualinherited |
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ m_caloMgrKey
Initial value:{this,
"CaloDetDescrManager", "CaloDetDescrManager", "SG Key for CaloDetDescrManager in the Condition Store" }
Definition at line 127 of file TileInfoDump.h.
◆ m_detStore
◆ m_eventInfoKey
Initial value:{this,
"EventInfo", "EventInfo", "EventInfo key"}
Definition at line 97 of file TileInfoDump.h.
◆ m_evtStore
◆ m_extendedExtraObjects
DataObjIDColl AthAlgorithm::m_extendedExtraObjects |
|
privateinherited |
◆ m_h_badCell
TH2F* TileInfoDump::m_h_badCell |
|
private |
◆ m_h_badCellA
TH2F* TileInfoDump::m_h_badCellA |
|
private |
◆ m_h_badCellBC
TH2F* TileInfoDump::m_h_badCellBC |
|
private |
◆ m_h_badCellD
TH2F* TileInfoDump::m_h_badCellD |
|
private |
◆ m_h_badCellGap
TH2F* TileInfoDump::m_h_badCellGap |
|
private |
◆ m_i_ADCmax
int TileInfoDump::m_i_ADCmax = 0 |
|
private |
◆ m_infoName
std::string TileInfoDump::m_infoName |
|
private |
◆ m_isOnline
bool TileInfoDump::m_isOnline |
|
private |
◆ m_print1gNoise
bool TileInfoDump::m_print1gNoise |
|
private |
◆ m_printBadCells
bool TileInfoDump::m_printBadCells |
|
private |
◆ m_printBadChannels
bool TileInfoDump::m_printBadChannels |
|
private |
◆ m_printEmscale
bool TileInfoDump::m_printEmscale |
|
private |
◆ m_printEmscaleOnl
bool TileInfoDump::m_printEmscaleOnl |
|
private |
◆ m_printIntegrator
bool TileInfoDump::m_printIntegrator |
|
private |
◆ m_printLaser
bool TileInfoDump::m_printLaser |
|
private |
◆ m_printMuID
bool TileInfoDump::m_printMuID |
|
private |
◆ m_printOfcChannel
unsigned int TileInfoDump::m_printOfcChannel |
|
private |
◆ m_printOfcDrawer
unsigned int TileInfoDump::m_printOfcDrawer |
|
private |
◆ m_printOfcRos
unsigned int TileInfoDump::m_printOfcRos |
|
private |
◆ m_printOfcsCool
bool TileInfoDump::m_printOfcsCool |
|
private |
◆ m_printPedestals
bool TileInfoDump::m_printPedestals |
|
private |
◆ m_printPulseShapes
bool TileInfoDump::m_printPulseShapes |
|
private |
◆ m_printPulseShapesStep
float TileInfoDump::m_printPulseShapesStep |
|
private |
◆ m_printTimingCorrections
bool TileInfoDump::m_printTimingCorrections |
|
private |
◆ m_thistSvc
◆ m_tileBadChanTool
Initial value:{this,
"TileBadChanTool", "TileBadChanTool", "Tile bad channel tool"}
Definition at line 101 of file TileInfoDump.h.
◆ m_tileHWID
◆ m_tileID
◆ m_tileInfo
◆ m_tileToolAutoCr
Initial value:{this,
"TileCondToolAutoCr", "TileCondToolAutoCr", "Tile auto cr tool"}
Definition at line 113 of file TileInfoDump.h.
◆ m_tileToolEmscale
Initial value:{this,
"TileCondToolEmscale", "TileCondToolEmscale", "Tile em scale tool"}
Definition at line 103 of file TileInfoDump.h.
◆ m_tileToolIntegrator
Initial value:{this,
"TileCondToolIntegrator", "TileCondToolIntegrator", "Tile integrator tool"}
Definition at line 105 of file TileInfoDump.h.
◆ m_tileToolMuID
Initial value:{this,
"TileCondToolMuID", "TileCondToolMuID", "Tile MuID tool"}
Definition at line 119 of file TileInfoDump.h.
◆ m_tileToolNoiseRawChn
Initial value:{this,
"TileCondToolNoiseRawChn", "TileCondToolNoiseRawChn", "Tile raw channel noise tool"}
Definition at line 115 of file TileInfoDump.h.
◆ m_tileToolNoiseSample
Initial value:{this,
"TileCondToolNoiseSample", "TileCondToolNoiseSample", "Tile noise sample tool"}
Definition at line 111 of file TileInfoDump.h.
◆ m_tileToolOfcCool
Initial value:{this,
"TileCondToolOfcCool", "TileCondToolOfcCool", "Tile OfcCool tool"}
Definition at line 117 of file TileInfoDump.h.
◆ m_tileToolPulseShape
Initial value:{this,
"TileCondToolPulseShape", "TileCondToolPulseShape", "Tile pulse shape tool"}
Definition at line 109 of file TileInfoDump.h.
◆ m_tileToolTiming
Initial value:{this,
"TileCondToolTiming", "TileCondToolTiming", "Tile timing tool"}
Definition at line 107 of file TileInfoDump.h.
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
void FillCell(TH2F *hist, const CaloDetDescrElement *elem)
bool is_positive(const Identifier &id) const
ToolHandle< TileCondToolAutoCr > m_tileToolAutoCr
size_type cell_hash_max(void) const
static unsigned int getMaxDrawer(unsigned int ros)
Returns the maximal channel number for a given drawer.
ToolHandle< TileCondToolNoiseSample > m_tileToolNoiseSample
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
ToolHandle< TileCondToolTiming > m_tileToolTiming
ToolHandle< TileCondToolNoiseRawChn > m_tileToolNoiseRawChn
static const TileCablingService * getInstance()
get pointer to service instance
ToolHandle< ITileBadChanTool > m_tileBadChanTool
IdContext cell_context(void) const
id for cells
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
#define PHASE_PRECISION
Class for storing Optimal Filtering Coefficients (OFCs) in a coral::Blob.
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
float round(const float toRound, const unsigned int decimals)
Class holding bad channel problems.
bool m_printTimingCorrections
int sample(const Identifier &id) const
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
int tower(const Identifier &id) const
ToolHandle< TileCondToolMuID > m_tileToolMuID
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
float m_printPulseShapesStep
int channel(const HWIdentifier &id) const
extract channel field from HW identifier
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
virtual int get_id(const IdentifierHash &hash_id, Identifier &id, const IdContext *context=0) const
create compact id from hash id (return == 0 for OK)
virtual StatusCode sysInitialize() override
Override sysInitialize.
ToolHandle< TileCondToolEmscale > m_tileToolEmscale
bool is_tile_gapscin(const Identifier &id) const
int module(const Identifier &id) const
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
msgSvc
Provide convenience handles for various services.
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
::StatusCode StatusCode
StatusCode definition for legacy code.
void printTimingCorrections()
#define CHECK(...)
Evaluate an expression and check for errors.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
ServiceHandle< ITHistSvc > m_thistSvc
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
static const unsigned int MAX_ROS
Number of ROSs
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
unsigned int m_printOfcDrawer
ToolHandle< TileCondToolIntegrator > m_tileToolIntegrator
const TileInfo * m_tileInfo
StatusCode initialize(bool used=true)
static std::string getDrawerString(unsigned int ros, unsigned int drawer)
Return the drawer name, e.g.
DataObjIDColl m_extendedExtraObjects
This class provides the client interface for accessing the detector description information common to...
def time(flags, cells_name, *args, **kw)
std::string to_string(const Identifier &id, int level=0) const
#define ATH_MSG_WARNING(x)
Identifier pmt_id(const Identifier &any_id) const
const TileHWID * m_tileHWID
ToolHandle< TileCondToolOfcCool > m_tileToolOfcCool
unsigned int m_printOfcRos
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
bool is_twosides(const Identifier &id) const
bool is_negative(const Identifier &id) const
float eta() const
cell eta
AthAlgorithm()
Default constructor:
float phi() const
cell phi
static unsigned int getDrawerIdx(unsigned int ros, unsigned int drawer)
Returns a drawer hash.
int section(const Identifier &id) const
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
static const unsigned int MAX_CHAN
Number of channels in drawer.
ToolHandle< TileCondToolPulseShape > m_tileToolPulseShape
This class saves the "context" of an expanded identifier (ExpandedIdentifier) for compact or hash ver...
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
int ADCmax() const
Returns the maximum ADC output (10 bits --> 1023)
unsigned int m_printOfcChannel
@ OnlineMegaElectronVolts
static const unsigned int MAX_GAIN
Number of gains per channel