Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
#include <LArShapeDumper.h>
|
| LArShapeDumper (const std::string &name, ISvcLocator *pSvcLocator) |
|
| ~LArShapeDumper () |
|
virtual StatusCode | initialize () override |
|
virtual StatusCode | start () override |
|
virtual StatusCode | execute () override |
|
virtual StatusCode | stop () override |
|
virtual StatusCode | finalize () override |
|
int | makeEvent (LArSamples::EventData *&eventData, int run, int event, int lumiBlock, int bunchXing) const |
|
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 |
|
|
std::string | m_fileName |
|
int | m_prescale |
|
unsigned | m_count |
|
unsigned | m_maxChannels |
|
unsigned | m_nWrongBunchGroup |
|
unsigned | m_nPrescaledAway |
|
unsigned | m_nLArError |
|
unsigned | m_nNoDigits |
|
unsigned | m_nNoDigitsSC |
|
std::string | m_caloType |
|
double | m_energyCut |
|
double | m_noiseSignifCut |
|
double | m_energyCutSC |
|
int | m_minADCMax |
|
int | m_minADCMaxSC |
|
std::string | m_gainSpec |
|
bool | m_dumpDisc |
|
std::vector< std::string > | m_triggerNames |
|
ToolHandle< ILArShapeDumperTool > | m_dumperTool {this,"LArShapeDumperTool","LArShapeDumperTool"} |
|
ToolHandle< ILArShapeDumperTool > | m_dumperToolSC {this,"LArShapeDumperToolSC","LArShapeDumperToolSC"} |
|
LArBadChannelMask | m_bcMask |
|
Gaudi::Property< std::vector< std::string > > | m_problemsToMask {this,"ProblemsToMask",{}, "Bad-Channel categories to patch"} |
|
LArBadChannelMask | m_bcMaskSC |
|
Gaudi::Property< std::vector< std::string > > | m_problemsToMaskSC {this,"ProblemsToMaskSC",{}, "Bad-Channel categories to mask"} |
|
SG::ReadHandleKey< LArDigitContainer > | m_digitsKey {this, "DigitsKey", "FREE", "key for LArDigitContainer"} |
|
SG::ReadHandleKey< LArRawChannelContainer > | m_channelsKey {this, "ChannelsKey", "LArRawChannels", "key for LArRawChannels"} |
|
SG::ReadHandleKey< LArDigitContainer > | m_digitsKeySC {this, "DigitsKeySC", "SC_ADC_BAS", "key for LArDigitContainer for SC"} |
|
SG::ReadHandleKey< LArRawSCContainer > | m_rawscKey {this, "RawSCKey", "SC_ET_ID", "key for LArRawSCContainer"} |
|
SG::ReadCondHandleKey< LArADC2MeV > | m_adc2mevKey {this,"ADC2MeVKey","LArADC2MeV","SG Key of ADC2MeV conditions object"} |
|
PublicToolHandle< Trig::TrigDecisionTool > | m_trigDec {this, "TrigDecisionTool", "", "Handle to the TrigDecisionTool"} |
|
SG::ReadCondHandleKey< LArOnOffIdMapping > | m_cablingKey {this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"} |
|
SG::ReadCondHandleKey< LArOnOffIdMapping > | m_cablingKeySC {this,"CablingKeySC","LArOnOffIdMapSC","SG Key of LArOnOffIdMapping object for SC"} |
|
SG::ReadCondHandleKey< LArBadChannelCont > | m_BCKey {this, "BadChanKey", "LArBadChannel", "SG bad channels key"} |
|
SG::ReadCondHandleKey< LArBadChannelCont > | m_BCKeySC {this, "BadChanKeySC", "LArBadChannelSC", "SG bad channels key"} |
|
SG::ReadCondHandleKey< CaloNoise > | m_noiseCDOKey {this,"CaloNoiseKey","totalNoise","SG Key of CaloNoise data object"} |
|
SG::ReadCondHandleKey< BunchCrossingCondData > | m_bcDataKey {this, "BunchCrossingCondDataKey", "BunchCrossingData" ,"SG Key of BunchCrossing CDO"} |
|
SG::ReadCondHandleKey< ILArPedestal > | m_pedestalKey {this,"PedestalKey","LArPedestal","SG Key of LArPedestal object"} |
|
SG::ReadCondHandleKey< ILArPedestal > | m_pedestalKeySC {this,"PedestalKeySC","LArPedestalSC","SG Key of LArPedestal object"} |
|
SG::ReadCondHandleKey< ILArAutoCorr > | m_acorrKey {this,"AutocorrKey","LArAutoCorr","SG Key of LArAutoCorr object"} |
|
SG::ReadCondHandleKey< CaloDetDescrManager > | m_caloMgrKey |
|
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > | m_caloSuperCellMgrKey |
|
const LArOnlineID * | m_onlineHelper |
|
const LArOnline_SuperCellID * | m_onlineHelperSC |
|
bool | m_doStream |
|
bool | m_doTrigger |
|
bool | m_doOFCIter |
|
bool | m_doAllEvents |
|
bool | m_doRoIs |
|
bool | m_doAllLvl1 |
|
bool | m_dumpChannelInfos |
|
bool | m_doEM |
|
bool | m_doHEC |
|
bool | m_doFCAL |
|
bool | m_doSC |
|
bool | m_gains [CaloGain::LARNGAIN] {} |
|
bool | m_onlyEmptyBC |
|
LArSamples::DataStore * | m_samples |
|
std::unique_ptr< LArSamples::RunData > | m_runData |
|
std::vector< const Trig::ChainGroup * > | m_triggerGroups |
|
TRandom | m_random |
|
DataObjIDColl | m_extendedExtraObjects |
|
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 |
|
◆ StoreGateSvc_t
◆ LArShapeDumper()
LArShapeDumper::LArShapeDumper |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ ~LArShapeDumper()
LArShapeDumper::~LArShapeDumper |
( |
| ) |
|
◆ 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 LArShapeDumper::execute |
( |
| ) |
|
|
overridevirtual |
Definition at line 215 of file LArShapeDumper.cxx.
218 const EventContext& ctx = Gaudi::Hive::currentContext();
222 return StatusCode::SUCCESS;
239 return StatusCode::SUCCESS;
245 if (!bunchCrossing) {
247 return StatusCode::FAILURE;
255 if (!bccd->isFilled(bunchId)) {
258 return StatusCode::SUCCESS;
267 if (
eventIndex < 0)
return StatusCode::FAILURE;
271 if(!hdlDigit.isValid()) {
273 return StatusCode::SUCCESS;
278 if (larDigitContainer->
empty()) {
281 return StatusCode::SUCCESS;
285 if(!hdlRaw.isValid()) {
287 return StatusCode::SUCCESS;
295 return StatusCode::SUCCESS;
301 const LArOnOffIdMapping*
cabling=*cablingHdl;
303 ATH_MSG_ERROR(
"Do not have cabling object LArOnOffIdMapping" );
304 return StatusCode::FAILURE;
311 return StatusCode::FAILURE;
318 return StatusCode::FAILURE;
327 return StatusCode::FAILURE;
335 return StatusCode::FAILURE;
340 if (
evtStore()->contains<LArOFIterResultsContainer> (
"LArOFIterResult")) {
349 const std::map<unsigned int,uint16_t>& febErrorMap = larFebErrorSummary->
get_all_febs();
350 std::map<unsigned int, const LArRawChannel*> channelsToKeep;
360 if (!
hash.is_valid()) {
362 <<
") does not correspond to a valid hash -- returning StatusCode::FAILURE." );
363 return StatusCode::FAILURE;
370 HWIdentifier channelID =
channel->hardwareID();
380 std::map<HWIdentifier, LArOFIterResultsContainer::const_iterator> ofcResultPosition;
382 for (LArOFIterResultsContainer::const_iterator ofResult = ofIterResult->begin();
383 ofResult != ofIterResult->end(); ++ofResult)
384 ofcResultPosition[ofResult->getChannelID()] = ofResult;
387 <<
" " << (ofIterResult ? ofIterResult->size() : 0) <<
" "
399 std::map<unsigned int, const LArRawChannel*>::const_iterator findChannel = channelsToKeep.find(
hash);
400 if (findChannel == channelsToKeep.end())
continue;
404 HWIdentifier channelID = (*digit)->hardwareID();
414 const bool connected =
cabling->isOnlineConnected(channelID);
421 const std::vector<short>& samples = (*digit)->samples();
423 for (
short sample : samples)
435 if (!caloDetElement) caloDetElement = caloMgr->
get_element(
id);
444 unsigned int status = 0xFFFFFFFF;
446 if (!caloDetElement) caloDetElement = caloMgr->
get_element(
id);
448 status = bcCont->status(channelID).packedData();
450 std::map<unsigned int,uint16_t>::const_iterator findError = febErrorMap.find(febId.get_identifier32().get_compact());
451 if (findError != febErrorMap.end()) {
452 unsigned int febErrWord = findError->second;
462 ATH_MSG_WARNING (
"AutoCorr object is not of type LArAutoCorrComplete!" );
467 if (!
info->shape((*digit)->gain()))
472 if (
eventIndex < 0)
return StatusCode::FAILURE;
478 rawChannel->
time()/
double(1000),
496 data->setADCMax(rawChannel->
energy()/ramp[1]);
503 std::map<unsigned int, const LArRawSC*> scToKeep;
506 if(!hdlSC.isValid()) {
508 return StatusCode::SUCCESS;
513 if (etcontainer->
empty()) {
515 return StatusCode::SUCCESS;
519 const LArOnOffIdMapping* cablingSC=*cablingHdl;
521 ATH_MSG_ERROR(
"Do not have cabling object LArOnOffIdMapping" );
522 return StatusCode::FAILURE;
532 ATH_MSG_ERROR(
"Failed to retrieve pedestal cond obj for SC");
533 return StatusCode::FAILURE;
536 std::map<unsigned int, std::pair<float,float> > channelsToKeepSC;
538 for (
const LArRawSC* rawSC : *hdlSC) {
540 const std::vector<unsigned short>& bcids = rawSC->bcids();
541 const std::vector<int>& energies = rawSC->energies();
542 const std::vector<int>& tauenergies = rawSC->tauEnergies();
543 const std::vector<bool>& satur = rawSC->satur();
547 float scTim = -99999999.;
549 const size_t nBCIDs = bcids.size();
551 for (
i = 0;
i < nBCIDs && bcids[
i] != bunchId;
i++)
553 if(
i==nBCIDs)
continue;
554 if (satur[
i])
continue;
562 if (!
hash.is_valid()) {
563 ATH_MSG_FATAL (
"Found a LArRawSC whose HWIdentifier (" << rawSC->hardwareID()
564 <<
") does not correspond to a valid hash -- returning StatusCode::FAILURE." );
565 return StatusCode::FAILURE;
568 if(tauenergies.size() && scEne != 0) scTim = tauenergies[
i] / scEne;
569 channelsToKeepSC[
hash] = std::make_pair(scEne, scTim);
575 HWIdentifier channelID = rawSC->hardwareID();
576 const Identifier id = cablingSC->cnvToIdentifier(channelID);
587 if(!hdlSCDigit.isValid()) {
589 return StatusCode::SUCCESS;
594 if (larSCDigitContainer->
empty()) {
597 return StatusCode::SUCCESS;
606 std::map<unsigned int, std::pair<float,float> >::const_iterator findChannel = channelsToKeepSC.find(
hash);
607 if (findChannel == channelsToKeepSC.end())
continue;
610 float pedestal = pedestalsSC->
pedestal((*digit)->channelID(), 0);
612 const std::vector<short>& samples = (*digit)->samples();
614 for (
short sample : samples)
619 const Identifier id = cablingSC->cnvToIdentifier((*digit)->channelID());
625 if (!caloDetElement) caloDetElement = caloMgrSC->
get_element(
id);
635 if (
eventIndex < 0)
return StatusCode::FAILURE;
640 findChannel->second.first,
641 findChannel->second.second/
double(1000),
653 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 LArShapeDumper::finalize |
( |
| ) |
|
|
overridevirtual |
◆ initialize()
StatusCode LArShapeDumper::initialize |
( |
| ) |
|
|
overridevirtual |
Get bad-channel mask (only if jO IgnoreBadChannels is true)
Definition at line 86 of file LArShapeDumper.cxx.
140 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.
◆ makeEvent()
int LArShapeDumper::makeEvent |
( |
LArSamples::EventData *& |
eventData, |
|
|
int |
run, |
|
|
int |
event, |
|
|
int |
lumiBlock, |
|
|
int |
bunchXing |
|
) |
| const |
Definition at line 708 of file LArShapeDumper.cxx.
712 std::vector<unsigned int> triggerWords;
719 const std::vector<ROIB::CTPRoI> tav = l1Result->
cTPResult().
TAV();
721 triggerWords.push_back(word.roIWord());
723 for (
const std::pair<const TString, unsigned int>&
p :
m_runData->triggerConfig()) {
724 while (triggerWords.size() <=
p.second/32) triggerWords.push_back(0);
726 triggerWords[
p.second/32] |= (0x1 << (
p.second % 32));
748 eventData->
addRoI(roI.cptr()->eta(), roI.cptr()->phi(),
group->getListOfTriggers()[0].c_str(), roI.label().c_str());
◆ 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.
◆ renounce()
◆ renounceArray()
◆ start()
StatusCode LArShapeDumper::start |
( |
| ) |
|
|
overridevirtual |
Definition at line 144 of file LArShapeDumper.cxx.
146 m_runData = std::make_unique<RunData>(0);
149 std::vector<std::regex> regexs;
156 std::vector<std::string> myChains;
168 if (calibStreamGroup) {
175 unsigned int idx = 0;
179 for (
const std::string& l1Item :
group->getListOfTriggers()) {
182 ATH_MSG_WARNING (
"LVL1 item " << l1Item <<
", obtained from TrigConfig, cannot be retrieved!" );
186 if (pos < 0 || pos >= 256) {
191 ATH_MSG_INFO (
"Adding LVL1 trigger bit for " << l1Item <<
" at position " <<
pos );
196 for (
const std::string&
name : myChains) {
211 return StatusCode::SUCCESS;
◆ stop()
StatusCode LArShapeDumper::stop |
( |
| ) |
|
|
overridevirtual |
◆ 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_acorrKey
◆ m_adc2mevKey
◆ m_bcDataKey
◆ m_BCKey
◆ m_BCKeySC
◆ m_bcMask
◆ m_bcMaskSC
◆ m_cablingKey
◆ m_cablingKeySC
◆ m_caloMgrKey
Initial value:{ this
, "CaloDetDescrManager"
, "CaloDetDescrManager"
, "SG Key for CaloDetDescrManager in the Condition Store" }
Definition at line 138 of file LArShapeDumper.h.
◆ m_caloSuperCellMgrKey
Initial value:{this,
"CaloSuperCellDetDescrManager", "CaloSuperCellDetDescrManager",
"SG key of the resulting CaloSuperCellDetDescrManager" }
Definition at line 142 of file LArShapeDumper.h.
◆ m_caloType
std::string LArShapeDumper::m_caloType |
|
private |
◆ m_channelsKey
◆ m_count
unsigned LArShapeDumper::m_count |
|
private |
◆ m_detStore
◆ m_digitsKey
◆ m_digitsKeySC
◆ m_doAllEvents
bool LArShapeDumper::m_doAllEvents |
|
private |
◆ m_doAllLvl1
bool LArShapeDumper::m_doAllLvl1 |
|
private |
◆ m_doEM
bool LArShapeDumper::m_doEM |
|
private |
◆ m_doFCAL
bool LArShapeDumper::m_doFCAL |
|
private |
◆ m_doHEC
bool LArShapeDumper::m_doHEC |
|
private |
◆ m_doOFCIter
bool LArShapeDumper::m_doOFCIter |
|
private |
◆ m_doRoIs
bool LArShapeDumper::m_doRoIs |
|
private |
◆ m_doSC
bool LArShapeDumper::m_doSC |
|
private |
◆ m_doStream
bool LArShapeDumper::m_doStream |
|
private |
◆ m_doTrigger
bool LArShapeDumper::m_doTrigger |
|
private |
◆ m_dumpChannelInfos
bool LArShapeDumper::m_dumpChannelInfos |
|
private |
◆ m_dumpDisc
bool LArShapeDumper::m_dumpDisc |
|
private |
◆ m_dumperTool
◆ m_dumperToolSC
ToolHandle<ILArShapeDumperTool> LArShapeDumper::m_dumperToolSC {this,"LArShapeDumperToolSC","LArShapeDumperToolSC"} |
|
private |
◆ m_energyCut
double LArShapeDumper::m_energyCut |
|
private |
◆ m_energyCutSC
double LArShapeDumper::m_energyCutSC |
|
private |
◆ m_evtStore
◆ m_extendedExtraObjects
DataObjIDColl AthAlgorithm::m_extendedExtraObjects |
|
privateinherited |
◆ m_fileName
std::string LArShapeDumper::m_fileName |
|
private |
◆ m_gains
◆ m_gainSpec
std::string LArShapeDumper::m_gainSpec |
|
private |
◆ m_maxChannels
unsigned LArShapeDumper::m_maxChannels |
|
private |
◆ m_minADCMax
int LArShapeDumper::m_minADCMax |
|
private |
◆ m_minADCMaxSC
int LArShapeDumper::m_minADCMaxSC |
|
private |
◆ m_nLArError
unsigned LArShapeDumper::m_nLArError |
|
private |
◆ m_nNoDigits
unsigned LArShapeDumper::m_nNoDigits |
|
private |
◆ m_nNoDigitsSC
unsigned LArShapeDumper::m_nNoDigitsSC |
|
private |
◆ m_noiseCDOKey
◆ m_noiseSignifCut
double LArShapeDumper::m_noiseSignifCut |
|
private |
◆ m_nPrescaledAway
unsigned LArShapeDumper::m_nPrescaledAway |
|
private |
◆ m_nWrongBunchGroup
unsigned LArShapeDumper::m_nWrongBunchGroup |
|
private |
◆ m_onlineHelper
◆ m_onlineHelperSC
◆ m_onlyEmptyBC
bool LArShapeDumper::m_onlyEmptyBC |
|
private |
◆ m_pedestalKey
◆ m_pedestalKeySC
◆ m_prescale
int LArShapeDumper::m_prescale |
|
private |
◆ m_problemsToMask
Gaudi::Property<std::vector<std::string> > LArShapeDumper::m_problemsToMask {this,"ProblemsToMask",{}, "Bad-Channel categories to patch"} |
|
private |
◆ m_problemsToMaskSC
Gaudi::Property<std::vector<std::string> > LArShapeDumper::m_problemsToMaskSC {this,"ProblemsToMaskSC",{}, "Bad-Channel categories to mask"} |
|
private |
◆ m_random
TRandom LArShapeDumper::m_random |
|
private |
◆ m_rawscKey
◆ m_runData
◆ m_samples
◆ m_trigDec
PublicToolHandle< Trig::TrigDecisionTool > LArShapeDumper::m_trigDec {this, "TrigDecisionTool", "", "Handle to the TrigDecisionTool"} |
|
private |
◆ m_triggerGroups
◆ m_triggerNames
std::vector<std::string> LArShapeDumper::m_triggerNames |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
ToolHandle< ILArShapeDumperTool > m_dumperTool
ROIB::CTPRoI contains a RoI delivered by the CTP.
Liquid Argon SuperCell raw data.
virtual float pedestal(const HWIdentifier &id, int gain) const =0
bool m_gains[CaloGain::LARNGAIN]
SG::ReadCondHandleKey< CaloNoise > m_noiseCDOKey
char data[hepevt_bytes_allocation_ATLAS]
const LArVectorProxy ADC2MEV(const HWIdentifier &id, int gain) const
Const iterator class for DataVector/DataList.
IdentifierHash channel_Hash(HWIdentifier channelId) const
Create channel_hash from channel_Id.
const std::map< unsigned int, uint16_t > & get_all_febs() const
get all febs with error
#define maxValue(current, test)
void setRunData(const RunData *runData)
Class holding the LVL1 RoIB result build by the RoIBuilder.
LArBadChannelMask m_bcMaskSC
const HistoryContainer * historyContainer(unsigned int i) const
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Container class for LArRawSC.
Conditions-Data class holding LAr Bad Channel or Bad Feb information.
LArBadChannelMask m_bcMask
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
unsigned int addEvent(EventData *eventData)
int slot(const HWIdentifier id) const
Return the slot number of a hardware cell identifier: slot = [1,15] Slot-ID in top part of the crat...
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
StatusCode buildBitMask(const std::vector< std::string > &problemsToMask, MsgStream &msg)
nope - should be used for standalone also, perhaps need to protect the class def bits #ifndef XAOD_AN...
void addRoI(float eta, float phi, const char *name="", const char *label="")
#define ATH_MSG_VERBOSE(x)
const std::string & key() const
Return the StoreGate ID for the referenced object.
SG::ReadCondHandleKey< LArBadChannelCont > m_BCKeySC
std::vector< std::string > m_triggerNames
float getNoise(const IdentifierHash h, const int gain) const
Accessor by IdentifierHash and gain.
bool cellShouldBeMasked(const LArBadChannelCont *bcCont, const HWIdentifier &hardwareId) const
unsigned m_nPrescaledAway
@ LAr
The LAr calorimeter.
SG::ReadHandleKey< LArRawChannelContainer > m_channelsKey
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
@ Error
The sub-detector issued an error.
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKeySC
This class defines the interface for accessing AutoCorrelation parameters for each channel @stereotyp...
Gaudi::Property< std::vector< std::string > > m_problemsToMaskSC
bool isFCALchannel(const HWIdentifier id) const
This class implements the ILArAutoCorr interface.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
HistoryContainer *& hist_cont(unsigned int i)
bool isEMECchannel(const HWIdentifier id) const override final
virtual StatusCode sysInitialize() override
Override sysInitialize.
Gaudi::Property< std::vector< std::string > > m_problemsToMask
POOL::TEvent event(POOL::TEvent::kClassAccess)
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
Liquid Argon ROD output object base class.
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadCondHandleKey< LArADC2MeV > m_adc2mevKey
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
unsigned int nChannels() const
SG::ReadHandleKey< LArRawSCContainer > m_rawscKey
#define CHECK(...)
Evaluate an expression and check for errors.
InDet::SiSpacePointsSeedMakerEventData EventData
void setTriggerData(const std::vector< unsigned int > &words)
const LArOnline_SuperCellID * m_onlineHelperSC
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
CellInfo * cell_info() const
HWIdentifier feb_Id(int barrel_ec, int pos_neg, int feedthrough, int slot) const
Create feb_Id from fields.
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
SG::ReadHandleKey< LArDigitContainer > m_digitsKey
HistoryContainer * makeNewHistorySC(const IdentifierHash &hash, CellInfo *info)
const CTPResult & cTPResult() const
Gets the CTP part of the L1 RDO.
ToolHandle< ILArShapeDumperTool > m_dumperToolSC
StatusCode initialize(bool used=true)
storage of the time histories of all the cells
bool isEMBchannel(const HWIdentifier id) const
SG::ReadCondHandleKey< ILArPedestal > m_pedestalKey
Class describing the basic event information.
SG::ReadHandleKey< LArDigitContainer > m_digitsKeySC
const std::vector< CTPRoI > TAV() const
get trigger result after veto
const CellInfo * cellInfo() const
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
SG::ReadCondHandleKey< ILArPedestal > m_pedestalKeySC
DataObjIDColl m_extendedExtraObjects
SG::ReadCondHandleKey< BunchCrossingCondData > m_bcDataKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
unsigned int addRun(RunData *eventData)
This class provides the client interface for accessing the detector description information common to...
std::unique_ptr< LArSamples::RunData > m_runData
LArSamples::DataStore * m_samples
#define ATH_MSG_WARNING(x)
Holds information from the FEB Error Summary.
void add(const DataContainer *data)
append data (takes ownership)
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
SG::ReadCondHandleKey< LArBadChannelCont > m_BCKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Container class for LArDigit.
std::vector< const Trig::ChainGroup * > m_triggerGroups
AthAlgorithm()
Default constructor:
unsigned m_nWrongBunchGroup
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > m_caloSuperCellMgrKey
bool isHECchannel(const HWIdentifier id) const override final
HistoryContainer *& hist_cont_sc(unsigned int i)
const LArOnlineID * m_onlineHelper
std::vector< std::string > getListOfTriggers() const
PublicToolHandle< Trig::TrigDecisionTool > m_trigDec
virtual float pedestalRMS(const HWIdentifier &id, int gain) const =0
access to RMS of Pedestal index by Identifier, and gain setting
SG::ReadCondHandleKey< ILArAutoCorr > m_acorrKey
size_type size() const noexcept
Returns the number of elements in the collection.
int makeEvent(LArSamples::EventData *&eventData, int run, int event, int lumiBlock, int bunchXing) const
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
bool empty() const noexcept
Returns true if the collection is empty.
bool writeTrees(const char *fileName)
virtual AutoCorrRef_t autoCorr(const HWIdentifier &CellID, int gain) const
bool match(std::string s1, std::string s2)
match the individual directories of two strings
HWIdentifier feedthrough_Id(int barrel_ec, int pos_neg, int feedthrough) const
Create a feedthrough identifier from fields.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
Proxy for accessing a range of float values like a vector.
Container for LArRawChannel (IDC using LArRawChannelCollection)
HistoryContainer * makeNewHistory(const IdentifierHash &hash, CellInfo *info)
append data (takes ownership of everything)
thread_local event_number_t eventIndex