|
ATLAS Offline Software
|
Algorithm to test writing conditions data and reading them back.
More...
#include <SCTCalibWriteTool.h>
|
| SCTCalibWriteTool (const std::string &type, const std::string &name, const IInterface *parent) |
|
virtual | ~SCTCalibWriteTool () |
|
virtual StatusCode | initialize () |
|
virtual StatusCode | finalize () |
|
virtual StatusCode | queryInterface (const InterfaceID &riid, void **ppvIF) |
|
std::string | addDefect (const std::string &defectlist, const int defectBeginChannel, const int defectEndChannel) const |
|
std::string | addNumber (const std::string &numStr, const unsigned long long number) const |
|
std::string | createDefectString (const int defectBeginChannel, const int defectEndChannel) const |
|
StatusCode createCondObjects | ATLAS_NOT_THREAD_SAFE (const Identifier &wafer_id, const SCT_ID *m_sctId, const int samplesize, const std::string &defectType, const float threshold, const std::string &defectList) const |
|
StatusCode createListStrip | ATLAS_NOT_THREAD_SAFE (const Identifier &wafer_id, const SCT_ID *m_sctId, const int samplesize, const std::string &defectType, const float threshold, const std::string &defectList) const |
|
StatusCode createListChip | ATLAS_NOT_THREAD_SAFE (const Identifier &wafer_id, const SCT_ID *m_sctId, const int samplesize, const std::string &defectType, const float threshold, const std::string &defectList) const |
|
StatusCode createListEff | ATLAS_NOT_THREAD_SAFE (const Identifier &wafer_id, const SCT_ID *m_sctId, const int samplesize, const float eff) const |
|
StatusCode createListNO | ATLAS_NOT_THREAD_SAFE (const Identifier &wafer_id, const SCT_ID *m_sctId, const int samplesize, const float noise_occ) const |
|
StatusCode createListRawOccu | ATLAS_NOT_THREAD_SAFE (const Identifier &wafer_id, const SCT_ID *m_sctId, const int samplesize, const float raw_occu) const |
|
StatusCode createListBSErr | ATLAS_NOT_THREAD_SAFE (const Identifier &wafer_id, const SCT_ID *m_sctId, const int samplesize, const std::string &errorList, const std::string &probList) const |
|
StatusCode createListLA | ATLAS_NOT_THREAD_SAFE (const Identifier &wafer_id, const SCT_ID *m_sctId, const int samplesize, const int module, const float lorentz, const float err_lorentz, const float chisq, const float fitParam_a, const float err_a, const float fitParam_b, const float err_b, const float fitParam_sigma, const float err_sigma, const float MCW, const float err_MCW) const |
|
StatusCode | wrapUpNoisyChannel () |
|
StatusCode | wrapUpDeadStrips () |
|
StatusCode | wrapUpDeadChips () |
|
StatusCode | wrapUpEfficiency () |
|
StatusCode | wrapUpNoiseOccupancy () |
|
StatusCode | wrapUpRawOccupancy () |
|
StatusCode | wrapUpBSErrors () |
|
StatusCode | wrapUpLorentzAngle () |
|
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 | sysInitialize () override |
| Perform system initialization for an algorithm. 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 |
|
|
int | stringToInt (const std::string &s) const |
|
StatusCode | streamOutCondObjects (const std::string &foldername) |
|
StatusCode | streamOutCondObjectsWithErrMsg (const std::string &foldername) |
|
StatusCode | registerCondObjects (const std::string &foldername, const std::string &tagname) const |
|
StatusCode | recordAndStream (std::unique_ptr< CondAttrListCollection > pCollection, const std::string &foldername, bool &flag) |
|
StatusCode | registerCondObjectsWithErrMsg (const std::string &foldername, const std::string &tagname) const |
|
coral::AttributeListSpecification * | createBasicDbSpec (const bool capsFormat) const |
|
void | setBasicValues (coral::AttributeList &attrList, const Identifier &wafer_id, const int samplesize, const SCT_ID *m_sctId, const bool capsFormat) const |
|
unsigned int | computeIstrip4moncond (const Identifier &elementId) const |
|
const CondAttrListCollection * | getAttrListCollectionByFolder (const std::string &) const |
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &) |
| specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &) |
| specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
|
|
|
std::mutex | m_mutex {} |
|
std::map< const std::string, const CondAttrListCollection * > m_attrListCollectionMap | ATLAS_THREAD_SAFE |
|
std::unique_ptr< CondAttrListCollection > | m_attrListColl |
|
std::unique_ptr< CondAttrListCollection > | m_attrListColl_deadStrip |
|
std::unique_ptr< CondAttrListCollection > | m_attrListColl_deadChip |
|
std::unique_ptr< CondAttrListCollection > | m_attrListColl_eff |
|
std::unique_ptr< CondAttrListCollection > | m_attrListColl_no |
|
std::unique_ptr< CondAttrListCollection > | m_attrListColl_RawOccu |
|
std::unique_ptr< CondAttrListCollection > | m_attrListColl_BSErr |
|
std::unique_ptr< CondAttrListCollection > | m_attrListColl_LA |
|
BooleanProperty | m_writeCondObjs {this, "WriteCondObjs", true} |
|
BooleanProperty | m_regIOV {this, "RegisterIOV", true} |
|
BooleanProperty | m_readWriteCool {this, "ReadWriteCool", true} |
|
BooleanProperty | m_twoStepWriteReg {this, "TwoStepWriteReg", false} |
|
BooleanProperty | m_manualiov {this, "ManualIOV", true} |
|
IntegerProperty | m_version {this, "Version", 0} |
|
IntegerProperty | m_beginRun {this, "BeginRun", IOVTime::MINRUN} |
|
IntegerProperty | m_endRun {this, "EndRun", IOVTime::MAXRUN} |
|
StringProperty | m_streamName {this, "StreamName", "SCTCalibStream"} |
|
StringProperty | m_tagID4NoisyStrips {this, "TagID4NoisyStrips", ""} |
|
StringProperty | m_tagID4DeadStrips {this, "TagID4DeadStrips", ""} |
|
StringProperty | m_tagID4DeadChips {this, "TagID4DeadChips", ""} |
|
StringProperty | m_tagID4Efficiency {this, "TagID4Efficiency", ""} |
|
StringProperty | m_tagID4NoiseOccupancy {this, "TagID4NoiseOccupancy", ""} |
|
StringProperty | m_tagID4RawOccupancy {this, "TagID4RawOccupancy", ""} |
|
StringProperty | m_tagID4BSErrors {this, "TagID4BSErrors", ""} |
|
StringProperty | m_tagID4LorentzAngle {this, "TagID4LorentzAngle", ""} |
|
ServiceHandle< IIOVRegistrationSvc > | m_regSvc |
|
ToolHandle< IAthenaOutputStreamTool > | m_streamer {nullptr} |
|
ServiceHandle< IIOVDbSvc > | m_IOVDbSvc |
|
bool | m_defectRecorded {false} |
|
bool | m_deadStripRecorded {false} |
|
bool | m_deadChipRecorded {false} |
|
bool | m_effRecorded {false} |
|
bool | m_noRecorded {false} |
|
bool | m_RawOccuRecorded {false} |
|
bool | m_BSErrRecorded {false} |
|
bool | m_LARecorded {false} |
|
const SCT_ID * | m_pHelper {nullptr} |
|
StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) More...
|
|
StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) More...
|
|
std::vector< SG::VarHandleKeyArray * > | m_vhka |
|
bool | m_varHandleArraysDeclared |
|
Algorithm to test writing conditions data and reading them back.
Definition at line 57 of file SCTCalibWriteTool.h.
◆ StoreGateSvc_t
◆ SCTCalibWriteTool()
SCTCalibWriteTool::SCTCalibWriteTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~SCTCalibWriteTool()
SCTCalibWriteTool::~SCTCalibWriteTool |
( |
| ) |
|
|
virtual |
◆ addDefect()
string SCTCalibWriteTool::addDefect |
( |
const std::string & |
defectlist, |
|
|
const int |
defectBeginChannel, |
|
|
const int |
defectEndChannel |
|
) |
| const |
Definition at line 142 of file SCTCalibWriteTool.cxx.
145 if (defectlist.empty())
return createDefectString(defectBeginChannel, defectEndChannel);
148 std::ostringstream
defect;
149 defect << defectlist <<
" " << defectBeginChannel;
150 if (defectBeginChannel==defectEndChannel) {
153 defect <<
"-" << defectEndChannel <<
" ";
◆ addNumber()
std::string SCTCalibWriteTool::addNumber |
( |
const std::string & |
numStr, |
|
|
const unsigned long long |
number |
|
) |
| const |
Definition at line 175 of file SCTCalibWriteTool.cxx.
176 std::ostringstream num_string;
178 if (numStr.empty()) {
181 num_string << numStr <<
" " <<
number;
183 return num_string.str();
◆ ATLAS_NOT_THREAD_SAFE() [1/8]
◆ ATLAS_NOT_THREAD_SAFE() [2/8]
◆ ATLAS_NOT_THREAD_SAFE() [3/8]
◆ ATLAS_NOT_THREAD_SAFE() [4/8]
StatusCode createListLA SCTCalibWriteTool::ATLAS_NOT_THREAD_SAFE |
( |
const Identifier & |
wafer_id, |
|
|
const SCT_ID * |
m_sctId, |
|
|
const int |
samplesize, |
|
|
const int |
module, |
|
|
const float |
lorentz, |
|
|
const float |
err_lorentz, |
|
|
const float |
chisq, |
|
|
const float |
fitParam_a, |
|
|
const float |
err_a, |
|
|
const float |
fitParam_b, |
|
|
const float |
err_b, |
|
|
const float |
fitParam_sigma, |
|
|
const float |
err_sigma, |
|
|
const float |
MCW, |
|
|
const float |
err_MCW |
|
) |
| const |
◆ ATLAS_NOT_THREAD_SAFE() [5/8]
StatusCode createCondObjects SCTCalibWriteTool::ATLAS_NOT_THREAD_SAFE |
( |
const Identifier & |
wafer_id, |
|
|
const SCT_ID * |
m_sctId, |
|
|
const int |
samplesize, |
|
|
const std::string & |
defectType, |
|
|
const float |
threshold, |
|
|
const std::string & |
defectList |
|
) |
| const |
◆ ATLAS_NOT_THREAD_SAFE() [6/8]
StatusCode createListStrip SCTCalibWriteTool::ATLAS_NOT_THREAD_SAFE |
( |
const Identifier & |
wafer_id, |
|
|
const SCT_ID * |
m_sctId, |
|
|
const int |
samplesize, |
|
|
const std::string & |
defectType, |
|
|
const float |
threshold, |
|
|
const std::string & |
defectList |
|
) |
| const |
◆ ATLAS_NOT_THREAD_SAFE() [7/8]
StatusCode createListChip SCTCalibWriteTool::ATLAS_NOT_THREAD_SAFE |
( |
const Identifier & |
wafer_id, |
|
|
const SCT_ID * |
m_sctId, |
|
|
const int |
samplesize, |
|
|
const std::string & |
defectType, |
|
|
const float |
threshold, |
|
|
const std::string & |
defectList |
|
) |
| const |
◆ ATLAS_NOT_THREAD_SAFE() [8/8]
StatusCode createListBSErr SCTCalibWriteTool::ATLAS_NOT_THREAD_SAFE |
( |
const Identifier & |
wafer_id, |
|
|
const SCT_ID * |
m_sctId, |
|
|
const int |
samplesize, |
|
|
const std::string & |
errorList, |
|
|
const std::string & |
probList |
|
) |
| const |
◆ computeIstrip4moncond()
unsigned int SCTCalibWriteTool::computeIstrip4moncond |
( |
const Identifier & |
elementId | ) |
const |
|
private |
◆ createBasicDbSpec()
coral::AttributeListSpecification * SCTCalibWriteTool::createBasicDbSpec |
( |
const bool |
capsFormat | ) |
const |
|
private |
Definition at line 673 of file SCTCalibWriteTool.cxx.
674 coral::AttributeListSpecification* attrSpec{
new coral::AttributeListSpecification{}};
675 const std::string becName{capsFormat?
"BarrelEndcap":
"barrel_endcap"};
676 attrSpec->extend(
"SampleSize",
"int");
677 attrSpec->extend(becName,
"int");
678 attrSpec->extend(
"Layer",
"int");
679 attrSpec->extend(
"Eta",
"int");
680 attrSpec->extend(
"Phi",
"int");
◆ createDefectString()
std::string SCTCalibWriteTool::createDefectString |
( |
const int |
defectBeginChannel, |
|
|
const int |
defectEndChannel |
|
) |
| const |
Definition at line 161 of file SCTCalibWriteTool.cxx.
162 std::ostringstream
defect;
163 defect <<
" " << defectBeginChannel;
164 if (defectBeginChannel!=defectEndChannel) {
165 defect <<
"-" << defectEndChannel;
◆ 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]
◆ 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
◆ finalize()
StatusCode SCTCalibWriteTool::finalize |
( |
| ) |
|
|
virtual |
Definition at line 114 of file SCTCalibWriteTool.cxx.
117 return StatusCode::FAILURE;
120 return StatusCode::FAILURE;
123 return StatusCode::SUCCESS;
◆ getAttrListCollectionByFolder()
Definition at line 452 of file SCTCalibWriteTool.cxx.
453 std::lock_guard<std::mutex> lock{
m_mutex};
457 if (m_attrListCollectionMap.count(
foldername) == 0) {
462 m_attrListCollectionMap.insert(make_pair(
foldername, attrListCollection));
464 attrListCollection = m_attrListCollectionMap[
foldername];
466 return attrListCollection;
◆ initialize()
StatusCode SCTCalibWriteTool::initialize |
( |
| ) |
|
|
virtual |
◆ 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.
◆ interfaceID()
const InterfaceID & SCTCalibWriteTool::interfaceID |
( |
| ) |
|
|
inlinestatic |
Definition at line 229 of file SCTCalibWriteTool.h.
230 static const InterfaceID IID{
"SCTCalibWriteTool", 1, 0};
◆ 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.
◆ queryInterface()
StatusCode SCTCalibWriteTool::queryInterface |
( |
const InterfaceID & |
riid, |
|
|
void ** |
ppvIF |
|
) |
| |
|
virtual |
Definition at line 67 of file SCTCalibWriteTool.cxx.
72 return AthAlgTool::queryInterface(riid, ppvIF);
74 return StatusCode::SUCCESS;
◆ recordAndStream()
StatusCode SCTCalibWriteTool::recordAndStream |
( |
std::unique_ptr< CondAttrListCollection > |
pCollection, |
|
|
const std::string & |
foldername, |
|
|
bool & |
flag |
|
) |
| |
|
private |
◆ registerCondObjects()
StatusCode SCTCalibWriteTool::registerCondObjects |
( |
const std::string & |
foldername, |
|
|
const std::string & |
tagname |
|
) |
| const |
|
private |
Definition at line 590 of file SCTCalibWriteTool.cxx.
599 unsigned int beginRun;
603 const EventContext& ctx = Gaudi::Hive::currentContext();
604 beginRun = ctx.eventID().run_number();
616 ATH_MSG_DEBUG(
"registerCondObjects: registerCondObjects middle");
619 ATH_MSG_DEBUG(
"registerCondObjects: registerCondObjects before registerIOV 1");
620 ATH_MSG_DEBUG(
"registerCondObjects: foldername, tagname, beginRun, endRun, beginLB, endLB: " <<
foldername <<
", " <<
tagname <<
", " << beginRun <<
", " << endRun <<
", " << beginLB <<
", " << endLB);
625 ATH_MSG_DEBUG(
"registerCondObjects: foldername, beginRun, endRun, beginLB, endLB: " <<
foldername <<
", " << beginRun <<
", " << endRun <<
", " << beginLB <<
", " << endLB);
626 sc =
m_regSvc->registerIOV(
"CondAttrListCollection",
foldername,
"", beginRun, endRun, beginLB, endLB);
629 if (
sc.isFailure()) {
630 ATH_MSG_ERROR(
"registerCondObjects: Could not register in IOV DB for CondAttrListCollection");
631 return StatusCode::FAILURE;
638 return StatusCode::SUCCESS;
◆ registerCondObjectsWithErrMsg()
StatusCode SCTCalibWriteTool::registerCondObjectsWithErrMsg |
( |
const std::string & |
foldername, |
|
|
const std::string & |
tagname |
|
) |
| const |
|
private |
◆ renounce()
◆ renounceArray()
◆ setBasicValues()
Definition at line 687 of file SCTCalibWriteTool.cxx.
688 int eta{sctId->eta_module(wafer_id)};
689 int phi{sctId->phi_module(wafer_id)};
690 int barrel_ec{sctId->barrel_ec(wafer_id)};
691 int layer{sctId->layer_disk(wafer_id)};
693 const std::string becName{capsFormat?
"BarrelEndcap":
"barrel_endcap"};
694 attrList[
"SampleSize"].setValue(
static_cast<int>(samplesize));
695 attrList[becName].setValue(
static_cast<int>(barrel_ec));
696 attrList[
"Layer"].setValue(
static_cast<int>(
layer));
697 attrList[
"Eta"].setValue(
static_cast<int>(
eta));
698 attrList[
"Phi"].setValue(
static_cast<int>(
phi));
◆ streamOutCondObjects()
StatusCode SCTCalibWriteTool::streamOutCondObjects |
( |
const std::string & |
foldername | ) |
|
|
private |
Definition at line 551 of file SCTCalibWriteTool.cxx.
555 return( StatusCode::FAILURE);
560 typeKeys[0] = attrCollPair;
563 if (
m_streamer->streamObjects(typeKeys).isFailure()) {
565 return StatusCode::FAILURE;
570 return StatusCode::FAILURE;
572 return StatusCode::SUCCESS;
◆ streamOutCondObjectsWithErrMsg()
StatusCode SCTCalibWriteTool::streamOutCondObjectsWithErrMsg |
( |
const std::string & |
foldername | ) |
|
|
private |
◆ stringToInt()
int SCTCalibWriteTool::stringToInt |
( |
const std::string & |
s | ) |
const |
|
private |
◆ sysInitialize()
◆ 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()
◆ wrapUpBSErrors()
StatusCode SCTCalibWriteTool::wrapUpBSErrors |
( |
| ) |
|
◆ wrapUpDeadChips()
StatusCode SCTCalibWriteTool::wrapUpDeadChips |
( |
| ) |
|
◆ wrapUpDeadStrips()
StatusCode SCTCalibWriteTool::wrapUpDeadStrips |
( |
| ) |
|
◆ wrapUpEfficiency()
StatusCode SCTCalibWriteTool::wrapUpEfficiency |
( |
| ) |
|
◆ wrapUpLorentzAngle()
StatusCode SCTCalibWriteTool::wrapUpLorentzAngle |
( |
| ) |
|
◆ wrapUpNoiseOccupancy()
StatusCode SCTCalibWriteTool::wrapUpNoiseOccupancy |
( |
| ) |
|
◆ wrapUpNoisyChannel()
StatusCode SCTCalibWriteTool::wrapUpNoisyChannel |
( |
| ) |
|
◆ wrapUpRawOccupancy()
StatusCode SCTCalibWriteTool::wrapUpRawOccupancy |
( |
| ) |
|
◆ ATLAS_THREAD_SAFE
◆ m_attrListColl
◆ m_attrListColl_BSErr
◆ m_attrListColl_deadChip
◆ m_attrListColl_deadStrip
◆ m_attrListColl_eff
◆ m_attrListColl_LA
◆ m_attrListColl_no
◆ m_attrListColl_RawOccu
◆ m_beginRun
IntegerProperty SCTCalibWriteTool::m_beginRun {this, "BeginRun", IOVTime::MINRUN} |
|
private |
◆ m_BSErrRecorded
bool SCTCalibWriteTool::m_BSErrRecorded {false} |
|
private |
◆ m_deadChipRecorded
bool SCTCalibWriteTool::m_deadChipRecorded {false} |
|
private |
◆ m_deadStripRecorded
bool SCTCalibWriteTool::m_deadStripRecorded {false} |
|
private |
◆ m_defectRecorded
bool SCTCalibWriteTool::m_defectRecorded {false} |
|
private |
◆ m_detStore
◆ m_effRecorded
bool SCTCalibWriteTool::m_effRecorded {false} |
|
private |
◆ m_endRun
IntegerProperty SCTCalibWriteTool::m_endRun {this, "EndRun", IOVTime::MAXRUN} |
|
private |
◆ m_evtStore
◆ m_IOVDbSvc
◆ m_LARecorded
bool SCTCalibWriteTool::m_LARecorded {false} |
|
private |
◆ m_manualiov
BooleanProperty SCTCalibWriteTool::m_manualiov {this, "ManualIOV", true} |
|
private |
◆ m_mutex
std::mutex SCTCalibWriteTool::m_mutex {} |
|
mutableprivate |
◆ m_noRecorded
bool SCTCalibWriteTool::m_noRecorded {false} |
|
private |
◆ m_pHelper
◆ m_RawOccuRecorded
bool SCTCalibWriteTool::m_RawOccuRecorded {false} |
|
private |
◆ m_readWriteCool
BooleanProperty SCTCalibWriteTool::m_readWriteCool {this, "ReadWriteCool", true} |
|
private |
◆ m_regIOV
BooleanProperty SCTCalibWriteTool::m_regIOV {this, "RegisterIOV", true} |
|
private |
◆ m_regSvc
◆ m_streamer
◆ m_streamName
StringProperty SCTCalibWriteTool::m_streamName {this, "StreamName", "SCTCalibStream"} |
|
private |
◆ m_tagID4BSErrors
StringProperty SCTCalibWriteTool::m_tagID4BSErrors {this, "TagID4BSErrors", ""} |
|
private |
◆ m_tagID4DeadChips
StringProperty SCTCalibWriteTool::m_tagID4DeadChips {this, "TagID4DeadChips", ""} |
|
private |
◆ m_tagID4DeadStrips
StringProperty SCTCalibWriteTool::m_tagID4DeadStrips {this, "TagID4DeadStrips", ""} |
|
private |
◆ m_tagID4Efficiency
StringProperty SCTCalibWriteTool::m_tagID4Efficiency {this, "TagID4Efficiency", ""} |
|
private |
◆ m_tagID4LorentzAngle
StringProperty SCTCalibWriteTool::m_tagID4LorentzAngle {this, "TagID4LorentzAngle", ""} |
|
private |
◆ m_tagID4NoiseOccupancy
StringProperty SCTCalibWriteTool::m_tagID4NoiseOccupancy {this, "TagID4NoiseOccupancy", ""} |
|
private |
◆ m_tagID4NoisyStrips
StringProperty SCTCalibWriteTool::m_tagID4NoisyStrips {this, "TagID4NoisyStrips", ""} |
|
private |
◆ m_tagID4RawOccupancy
StringProperty SCTCalibWriteTool::m_tagID4RawOccupancy {this, "TagID4RawOccupancy", ""} |
|
private |
◆ m_twoStepWriteReg
BooleanProperty SCTCalibWriteTool::m_twoStepWriteReg {this, "TwoStepWriteReg", false} |
|
private |
◆ m_varHandleArraysDeclared
◆ m_version
IntegerProperty SCTCalibWriteTool::m_version {this, "Version", 0} |
|
private |
◆ m_vhka
◆ m_writeCondObjs
BooleanProperty SCTCalibWriteTool::m_writeCondObjs {this, "WriteCondObjs", true} |
|
private |
◆ s_BSErrFolderName
const string SCTCalibWriteTool::s_BSErrFolderName {"/SCT/Derived/BSErrorsRun2"} |
|
staticprivate |
◆ s_deadChipFolderName
const string SCTCalibWriteTool::s_deadChipFolderName {"/SCT/Derived/DeadChips"} |
|
staticprivate |
◆ s_deadStripFolderName
const string SCTCalibWriteTool::s_deadStripFolderName {"/SCT/Derived/DeadStrips"} |
|
staticprivate |
◆ s_defectFolderName
const string SCTCalibWriteTool::s_defectFolderName {"/SCT/Derived/Monitoring"} |
|
staticprivate |
◆ s_effFolderName
const string SCTCalibWriteTool::s_effFolderName {"/SCT/Derived/Efficiency"} |
|
staticprivate |
◆ s_LAFolderName
const string SCTCalibWriteTool::s_LAFolderName {"/SCT/Derived/LorentzAngleRun2_v2"} |
|
staticprivate |
◆ s_noFolderName
const string SCTCalibWriteTool::s_noFolderName {"/SCT/Derived/NoiseOccupancy"} |
|
staticprivate |
◆ s_RawOccuFolderName
const string SCTCalibWriteTool::s_RawOccuFolderName {"/SCT/Derived/RawOccupancy"} |
|
staticprivate |
◆ s_separator
const string SCTCalibWriteTool::s_separator {"-"} |
|
staticprivate |
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
static constexpr uint32_t MAXRUN
Scalar phi() const
phi method
Scalar eta() const
pseudorapidity method
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
This class is a collection of AttributeLists where each one is associated with a channel number....
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
::StatusCode StatusCode
StatusCode definition for legacy code.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
virtual void renounce()=0
static constexpr uint32_t MAXEVENT
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
static constexpr uint32_t MINEVENT
int strip(const Identifier &id) const
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
int atoi(std::string_view str)
Helper functions to unpack numbers decoded in string into integers and doubles The strings are requir...
int side(const Identifier &id) const
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>