 |
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, V, H > &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 |
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyArrayType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleType &) |
| specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &t, const SG::NotHandleType &) |
| specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
|
|
|
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::ReadHandleKey< LArRawSCContainer > | m_rawRecomputedscKey {this, "RecomputedSCKey", "SC_ET_RECO", "key for recomputed 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 218 of file LArShapeDumper.cxx.
221 const EventContext& ctx = Gaudi::Hive::currentContext();
225 return StatusCode::SUCCESS;
236 int bunchId = eventInfo->
bcid();
242 return StatusCode::SUCCESS;
248 if (!bunchCrossing) {
250 return StatusCode::FAILURE;
258 if (!bccd->isFilled(bunchId)) {
261 return StatusCode::SUCCESS;
270 if (
eventIndex < 0)
return StatusCode::FAILURE;
274 if(!hdlDigit.isValid()) {
276 return StatusCode::SUCCESS;
281 if (larDigitContainer->
empty()) {
284 return StatusCode::SUCCESS;
288 if(!hdlRaw.isValid()) {
290 return StatusCode::SUCCESS;
298 return StatusCode::SUCCESS;
304 const LArOnOffIdMapping*
cabling=*cablingHdl;
306 ATH_MSG_ERROR(
"Do not have cabling object LArOnOffIdMapping" );
307 return StatusCode::FAILURE;
314 return StatusCode::FAILURE;
321 return StatusCode::FAILURE;
330 return StatusCode::FAILURE;
338 return StatusCode::FAILURE;
343 if (
evtStore()->contains<LArOFIterResultsContainer> (
"LArOFIterResult")) {
352 const std::map<unsigned int,uint16_t>& febErrorMap = larFebErrorSummary->
get_all_febs();
353 std::map<unsigned int, const LArRawChannel*> channelsToKeep;
363 if (!
hash.is_valid()) {
365 <<
") does not correspond to a valid hash -- returning StatusCode::FAILURE." );
366 return StatusCode::FAILURE;
373 HWIdentifier channelID =
channel->hardwareID();
383 std::map<HWIdentifier, LArOFIterResultsContainer::const_iterator> ofcResultPosition;
385 for (LArOFIterResultsContainer::const_iterator ofResult = ofIterResult->begin();
386 ofResult != ofIterResult->end(); ++ofResult)
387 ofcResultPosition[ofResult->getChannelID()] = ofResult;
390 <<
" " << (ofIterResult ? ofIterResult->size() : 0) <<
" "
402 std::map<unsigned int, const LArRawChannel*>::const_iterator findChannel = channelsToKeep.find(
hash);
403 if (findChannel == channelsToKeep.end())
continue;
407 HWIdentifier channelID = (*digit)->hardwareID();
417 const bool connected =
cabling->isOnlineConnected(channelID);
424 const std::vector<short>& samples = (*digit)->samples();
426 for (
short sample : samples)
438 if (!caloDetElement) caloDetElement = caloMgr->
get_element(
id);
447 unsigned int status = 0xFFFFFFFF;
449 if (!caloDetElement) caloDetElement = caloMgr->
get_element(
id);
451 status = bcCont->status(channelID).packedData();
453 std::map<unsigned int,uint16_t>::const_iterator findError = febErrorMap.find(febId.get_identifier32().get_compact());
454 if (findError != febErrorMap.end()) {
455 unsigned int febErrWord = findError->second;
465 ATH_MSG_WARNING (
"AutoCorr object is not of type LArAutoCorrComplete!" );
470 if (!
info->shape((*digit)->gain()))
475 if (
eventIndex < 0)
return StatusCode::FAILURE;
481 rawChannel->
time()/
double(1000),
499 data->setADCMax(rawChannel->
energy()/ramp[1]);
506 std::map<unsigned int, const LArRawSC*> scToKeep;
509 if(!hdlSC.isValid()) {
511 return StatusCode::SUCCESS;
515 if (hdlSC->empty()) {
517 return StatusCode::SUCCESS;
521 if(!hdlrecoSC.isValid()) {
523 return StatusCode::SUCCESS;
527 if (hdlrecoSC->empty()) {
529 return StatusCode::SUCCESS;
533 const LArOnOffIdMapping* cablingSC=*cablingHdl;
535 ATH_MSG_ERROR(
"Do not have cabling object LArOnOffIdMapping" );
536 return StatusCode::FAILURE;
546 ATH_MSG_ERROR(
"Failed to retrieve pedestal cond obj for SC");
547 return StatusCode::FAILURE;
550 std::map<unsigned int, std::pair<float, std::pair<float,float> > > channelsToKeepSC;
552 for (
const LArRawSC* rawSC : *hdlSC) {
557 const std::vector<unsigned short>& bcids = rawSC->bcids();
558 const std::vector<int>& energies = rawSC->energies();
559 const std::vector<bool>& satur = rawSC->satur();
563 float defValue = -99999999.;
565 const size_t nBCIDs = bcids.size();
567 for (
i = 0;
i < nBCIDs && bcids[
i] != bunchId;
i++)
569 if(
i==nBCIDs)
continue;
570 if (satur[
i])
continue;
577 if (!
hash.is_valid()) {
578 ATH_MSG_FATAL (
"Found a LArRawSC whose HWIdentifier (" << rawSC->hardwareID()
579 <<
") does not correspond to a valid hash -- returning StatusCode::FAILURE." );
580 return StatusCode::FAILURE;
583 channelsToKeepSC[
hash] = std::make_pair(scEne, std::make_pair(defValue,defValue));
589 HWIdentifier channelID = rawSC->hardwareID();
590 const Identifier id = cablingSC->cnvToIdentifier(channelID);
598 ATH_MSG_INFO(
"SC to keep in this event: "<<channelsToKeepSC.size());
600 for (
const LArRawSC* rawSC : *hdlrecoSC) {
604 if (!
hash.is_valid()) {
605 ATH_MSG_FATAL (
"Found a LArRawSC whose HWIdentifier (" << rawSC->hardwareID()
606 <<
") does not correspond to a valid hash -- returning StatusCode::FAILURE." );
607 return StatusCode::FAILURE;
611 if (channelsToKeepSC.find(
hash) == channelsToKeepSC.end())
continue;
613 const std::vector<unsigned short>& bcids = rawSC->bcids();
614 const std::vector<int>& energies = rawSC->energies();
615 const std::vector<int>& tauenergies = rawSC->tauEnergies();
619 float scTim = -99999999.;
621 const size_t nBCIDs = bcids.size();
623 for (
i = 0;
i < nBCIDs && bcids[
i] != bunchId;
i++)
625 if(
i==nBCIDs)
continue;
629 if(tauenergies.size() && scEne != 0) scTim = tauenergies[
i] / scEne;
631 channelsToKeepSC[
hash].second = std::make_pair(scEne, scTim);
637 HWIdentifier channelID = rawSC->hardwareID();
638 const Identifier id = cablingSC->cnvToIdentifier(channelID);
648 if(!hdlSCDigit.isValid()) {
650 return StatusCode::SUCCESS;
655 if (larSCDigitContainer->
empty()) {
658 return StatusCode::SUCCESS;
667 std::map<unsigned int, std::pair<float, std::pair<float,float> > >::const_iterator findChannel = channelsToKeepSC.find(
hash);
668 if (findChannel == channelsToKeepSC.end())
continue;
671 float pedestal = pedestalsSC->
pedestal((*digit)->channelID(), 0);
673 const std::vector<short>& samples = (*digit)->samples();
675 for (
short sample : samples)
680 const Identifier id = cablingSC->cnvToIdentifier((*digit)->channelID());
686 if (!caloDetElement) caloDetElement = caloMgrSC->
get_element(
id);
696 if (
eventIndex < 0)
return StatusCode::FAILURE;
701 findChannel->second.first,
702 findChannel->second.second.second,
703 findChannel->second.second.first,
714 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 88 of file LArShapeDumper.cxx.
143 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 769 of file LArShapeDumper.cxx.
773 std::vector<unsigned int> triggerWords;
780 const std::vector<ROIB::CTPRoI> tav = l1Result->
cTPResult().
TAV();
782 triggerWords.push_back(word.roIWord());
784 for (
const std::pair<const TString, unsigned int>&
p :
m_runData->triggerConfig()) {
785 while (triggerWords.size() <=
p.second/32) triggerWords.push_back(0);
787 triggerWords[
p.second/32] |= (0x1 << (
p.second % 32));
809 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 147 of file LArShapeDumper.cxx.
149 m_runData = std::make_unique<RunData>(0);
152 std::vector<std::regex> regexs;
159 std::vector<std::string> myChains;
171 if (calibStreamGroup) {
178 unsigned int idx = 0;
182 for (
const std::string& l1Item :
group->getListOfTriggers()) {
185 ATH_MSG_WARNING (
"LVL1 item " << l1Item <<
", obtained from TrigConfig, cannot be retrieved!" );
189 if (pos < 0 || pos >= 256) {
194 ATH_MSG_INFO (
"Adding LVL1 trigger bit for " << l1Item <<
" at position " <<
pos );
199 for (
const std::string&
name : myChains) {
214 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_rawRecomputedscKey
◆ 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]
SG::ReadHandleKey< LArRawSCContainer > m_rawRecomputedscKey
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)
uint64_t eventNumber() const
The current event's event number.
Class holding the LVL1 RoIB result build by the RoIBuilder.
LArBadChannelMask m_bcMaskSC
const HistoryContainer * historyContainer(unsigned int i) const
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
uint32_t runNumber() const
The current event's run number.
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.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
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.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
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.
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
uint32_t lumiBlock() const
The current event's luminosity block number.
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
EventFlagErrorState errorState(EventFlagSubDet subDet) const
Get the error state for a particular sub-detector.
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
uint32_t bcid() const
The bunch crossing ID of the event.
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
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