ATLAS Offline Software
Loading...
Searching...
No Matches
DumpLArRawChannels Class Reference

#include <DumpLArRawChannels.h>

Inheritance diagram for DumpLArRawChannels:
Collaboration diagram for DumpLArRawChannels:

Classes

class  mySort

Public Member Functions

 DumpLArRawChannels (const std::string &name, ISvcLocator *pSvcLocator)
 ~DumpLArRawChannels ()
StatusCode initialize ()
StatusCode execute (const EventContext &ctx)
 Execute method.
StatusCode finalize ()
virtual StatusCode sysInitialize () override
 Override sysInitialize.
virtual bool isClonable () const override
 Specify if the algorithm is clonable.
virtual StatusCode sysExecute (const EventContext &ctx) override
 Execute an algorithm.
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies.
virtual bool filterPassed (const EventContext &ctx) const
 Get filter decision:
virtual void setFilterPassed (bool state, const EventContext &ctx) const
 Set filter decision:
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode sysStart () override
 Handle START transition.
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles.
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles.
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, V, H > &t)
void updateVHKA (Gaudi::Details::PropertyBase &)
MsgStream & msg () const
bool msgLvl (const MSG::Level lvl) const

Protected Member Functions

virtual bool isReEntrant () const override final
 Legacy algorithms are not thread-safe.
void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed.

Private Types

typedef ServiceHandle< StoreGateSvc > StoreGateSvc_t

Private Member Functions

Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey {this,"keyCabling", "LArOnOffIdMap", "Input key for Id mapping"}
int m_count {0}
int m_chan {0}
const LArOnlineID * m_onlineHelper {nullptr}
const LArEM_ID * m_emId {nullptr}
std::ofstream m_outfile
Gaudi::Property< std::string > m_key {this, "LArRawChannelContainerName", ""}
Gaudi::Property< std::string > m_FileName {this, "OutputFileName", "LArRawChannels.txt"}
Gaudi::Property< std::string > m_ntup {this, "NtupStream", ""}
TTree * m_tree =nullptr
int m_evt =0
float m_e =0
float m_t =0
float m_Q =0
unsigned m_gain =0
unsigned m_id =0
Gaudi::Property< bool > m_toLog {this, "ToLog", true}
bool m_toFile = false
ServiceHandle< ITHistSvc > m_thistSvc
DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default).
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default).
std::vector< SG::VarHandleKeyArray * > m_vhka
bool m_varHandleArraysDeclared

Detailed Description

Definition at line 21 of file DumpLArRawChannels.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::StoreGateSvc_t
privateinherited

Definition at line 376 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ DumpLArRawChannels()

DumpLArRawChannels::DumpLArRawChannels ( const std::string & name,
ISvcLocator * pSvcLocator )

Definition at line 13 of file DumpLArRawChannels.cxx.

14 : AthAlgorithm(name, pSvcLocator),
15 m_thistSvc ("THistSvc", name)
16{
17}
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
ServiceHandle< ITHistSvc > m_thistSvc

◆ ~DumpLArRawChannels()

DumpLArRawChannels::~DumpLArRawChannels ( )

Definition at line 19 of file DumpLArRawChannels.cxx.

20{//empty
21}

Member Function Documentation

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T, V, H > & hndl,
const SG::VarHandleKeyType &  )
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158 {
160 hndl.value(),
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)

◆ declareProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( Gaudi::Property< T, V, H > & t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145 {
146 typedef typename SG::HandleClassifier<T>::type htype;
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>

◆ detStore()

const ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

◆ evtStore()

ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

◆ execute()

StatusCode DumpLArRawChannels::execute ( const EventContext & ctx)
virtual

Execute method.

Implements AthAlgorithm.

Definition at line 67 of file DumpLArRawChannels.cxx.

68{
69 m_count++;
70 ATH_MSG_INFO ( "======== executing event "<< m_count << " ========" );
71 const xAOD::EventInfo* thisEventInfo = nullptr;
72 StatusCode sc=evtStore()->retrieve(thisEventInfo);
73 if (sc!=StatusCode::SUCCESS)
74 ATH_MSG_WARNING ( "No EventInfo object found!" );
75 else
76 {
77 if (m_toLog) std::cout << "*** Event #" << std::dec << thisEventInfo->runNumber() << "/" << thisEventInfo->eventNumber() << std::endl;
78 m_evt=thisEventInfo->eventNumber();
79 }
80
81 SG::ReadCondHandle<LArOnOffIdMapping> larCablingHdl(m_cablingKey, ctx);
82 const LArOnOffIdMapping* cabling=*larCablingHdl;
83 if(!cabling) {
84 ATH_MSG_ERROR("Could not get LArOnOffIdMapping !!");
85 return StatusCode::FAILURE;
86 }
87
88 const LArRawChannelContainer* channel_cont = nullptr;
89 if (m_key.size())
90 ATH_CHECK( evtStore()->retrieve(channel_cont,m_key.value()) );
91 else
92 ATH_CHECK( evtStore()->retrieve(channel_cont) );
93 ATH_MSG_INFO ( "Retrieved LArRawChannelContainer from StoreGate! key=" << m_key.value() );
94 //int nColl=0;
95 short layer,eta,phi;
96 m_chan=0;
97 //int Nchan=0;
98 typedef std::vector< const LArRawChannel* > LArRawChannelVector;
99 //std::vector< const LArRawChannel* > channelVector;
100 LArRawChannelVector channelVector;
101 LArRawChannelContainer::const_iterator it_chan_coll = channel_cont->begin();
102 LArRawChannelContainer::const_iterator it_chan_coll_end = channel_cont->end();
103 //log <<MSG::DEBUG<<" number of LArRawChannel collections "<< channel_cont->size() <<endmsg;
104 for( ; it_chan_coll!=it_chan_coll_end;++it_chan_coll) {
105 m_chan++;
106 channelVector.push_back(&(*it_chan_coll));
107 }
108 if (m_toFile) m_outfile << "Event " << m_count << " contains " << m_chan << " channels\n";
109 if (m_toLog) std::cout << "Event " << m_count << " contains " << m_chan << " channels\n";
110
111 mySort aSort;
112 std::sort(channelVector.begin(),channelVector.end(),aSort);
113 for (const LArRawChannel* chan : channelVector)
114 {
115 //if (chan->energy()==0)
116 //continue;
117 const HWIdentifier chid=chan->channelID();//hardwareID();
118 if (m_toLog) std::cout << "Channel: " << m_onlineHelper->channel_name(chid);
119 if (m_toFile) m_outfile << "Channel: " << m_onlineHelper->channel_name(chid);
120
121 if (!cabling->isOnlineConnected(chid)) {
122 if (m_toLog) std::cout << " disconnected" << std::endl;
123 if (m_toFile) m_outfile << " disconnected" << std::endl;
124 continue;
125 }
126 const Identifier id=cabling->cnvToIdentifier(chid);
127
128 if(!m_emId->is_lar_em(id)) {
129 eta=m_emId->eta(id);
130 phi=m_emId->phi(id);
131 layer=m_emId->sampling(id);
132 if (m_emId->is_em_endcap(id)) {
133 if (m_toLog) std::cout << " Endcap l/e/p= " << layer << "/" << eta << "/" << phi << ":";
134 if (m_toFile) m_outfile << " Endcap l/e/p= " << layer << "/" << eta << "/" << phi << ":";
135 }
136 else {
137 if (m_toLog) std::cout << " Barrel l/e/p= " << layer << "/" << eta << "/" << phi << ":";
138 if (m_toFile) m_outfile << " Barrel l/e/p= " << layer << "/" << eta << "/" << phi << ":";
139 }
140 }
141 else {
142 if (m_toLog) std::cout << " (is not EM)";
143 if (m_toFile) m_outfile << " (is not EM)";
144 }
145
146
147 int Time=chan->time();
148 /*
149 if (Time>0x1fff)
150 Time=0x1fff;
151 if (Time<-0x1fff)
152 Time=-0x1fff;
153 */
154 //if (abs(Time)>24000)
155 //Time=0;
156 if (m_toLog) std::cout << " E= " << chan->energy() << " t= " << Time << " Q= " << chan->quality() << " P=0x"
157 << std::hex << chan->provenance() << std::dec << " G=" << chan->gain() << std::endl;
158
159 if (m_toFile) m_outfile << " E= " << chan->energy() << " t= " << Time << " Q= " << chan->quality() << " P=0x"
160 << std::hex << chan->provenance() << std::dec << " G=" << chan->gain() << std::endl;
161
162 if (m_tree) {
163 m_e=chan->energy();
164 m_t=chan->time();
165 m_Q=chan->quality();
166 m_gain=chan->gain();
167 m_id=chid.get_identifier32().get_compact();
168 m_tree->Fill();
169 }
170 }
171 //std::cout << "Collection #" << ++nColl << " contains " << chan_coll->size() << " elementes." << std::endl;
172 std::cout << "Event " << m_count << " contains " << m_chan << " (" <<channelVector.size() <<") channels\n";
173 return StatusCode::SUCCESS;
174}
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_ERROR(x,...)
#define ATH_MSG_WARNING(x,...)
#define ATH_MSG_INFO(x,...)
static Double_t sc
Athena::TPCnvVers::Current Athena::TPCnvVers::Old Athena::TPCnvVers::Old LArRawChannelContainer
Definition LArTPCnv.cxx:86
ServiceHandle< StoreGateSvc > & evtStore()
const LArEM_ID * m_emId
Gaudi::Property< std::string > m_key
Gaudi::Property< bool > m_toLog
const LArOnlineID * m_onlineHelper
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
uint32_t runNumber() const
The current event's run number.
uint64_t eventNumber() const
The current event's event number.
::StatusCode StatusCode
StatusCode definition for legacy code.
@ layer
Definition HitInfo.h:79
void sort(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of sort for DataVector/List.
EventInfo_v1 EventInfo
Definition of the latest event info version.

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase & ExtraDeps)
protectedinherited

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 & AthCommonAlgorithm< Gaudi::Algorithm >::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 89 of file AthCommonAlgorithm.cxx.

54{
55 // If we didn't find any symlinks to add, just return the collection
56 // from the base class. Otherwise, return the extended collection.
57 if (!m_extendedExtraObjects.empty()) {
59 }
61}
Common base class for algorithms.

◆ filterPassed()

virtual bool AthCommonAlgorithm< Gaudi::Algorithm >::filterPassed ( const EventContext & ctx) const
inlinevirtualinherited

Get filter decision:

Definition at line 93 of file AthCommonAlgorithm.h.

93 {
94 return execState( ctx ).filterPassed();
95 }
virtual bool filterPassed(const EventContext &ctx) const
Get filter decision:

◆ finalize()

StatusCode DumpLArRawChannels::finalize ( )

Definition at line 176 of file DumpLArRawChannels.cxx.

177{
178 if (m_toFile) m_outfile.close();
179 ATH_MSG_INFO ( "======== finalize DumpLArRawChannel ========" );
180 return StatusCode::SUCCESS;
181}

◆ initialize()

StatusCode DumpLArRawChannels::initialize ( )

Definition at line 23 of file DumpLArRawChannels.cxx.

24{
25 ATH_MSG_INFO ( "======== initialize DumpLArRawChanels ========" );
26
27 ATH_CHECK( detStore()->retrieve(m_onlineHelper, "LArOnlineID") );
28 ATH_MSG_DEBUG ( " Found the LArOnlineID helper. " );
29
30 const CaloCell_ID* idHelper = nullptr;
31 ATH_CHECK( detStore()->retrieve (idHelper, "CaloCell_ID") );
32 m_emId=idHelper->em_idHelper();
33 if (!m_emId) {
34 ATH_MSG_ERROR ( "Unable to get EM_ID" );
35 return StatusCode::FAILURE;
36 }
37
38 ATH_CHECK( m_cablingKey.initialize() );
39
40 if (!m_FileName.empty()) {
41 m_outfile.open(m_FileName.value().c_str(),std::ios::out);
42 m_toFile=true;
43 }
44 else
45 m_toFile=false;
46
47 if (m_ntup.size()) {
48 m_tree= new TTree("RC","LArRawChannels");
49 const std::string ntupStream="/"+m_ntup.value()+"/LArRawChanenls";
50 ATH_CHECK(m_thistSvc->regTree(ntupStream,m_tree));
51
52 m_tree->Branch("evt",&m_evt,"evt/I");
53 m_tree->Branch("e",&m_e,"e/F");
54 m_tree->Branch("t",&m_t,"t/F");
55 m_tree->Branch("Q",&m_Q,"q/F");
56 m_tree->Branch("gain",&m_gain,"gain/I");
57 m_tree->Branch("HWID",&m_id,"hwid/I");
58
59 }
60
61
62 ATH_MSG_INFO ( "======== test-stuff initialize successfully ========" );
63 return StatusCode::SUCCESS;
64}
#define ATH_MSG_DEBUG(x,...)
const ServiceHandle< StoreGateSvc > & detStore() const
const LArEM_ID * em_idHelper() const
access to EM idHelper
Definition CaloCell_ID.h:63
Gaudi::Property< std::string > m_FileName
Gaudi::Property< std::string > m_ntup

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::inputHandles ( ) const
overridevirtualinherited

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.

◆ isClonable()

virtual bool AthCommonAlgorithm< Gaudi::Algorithm >::isClonable ( ) const
inlineoverridevirtualinherited

Specify if the algorithm is clonable.

Only relevant for non-reentrant algorithms. Actual number of clones needs to be set via the "Cardinality" property.

Reimplemented in AFP_DigiTop, AlgB, AlgT, BCM_Digitization, CscDigitBuilder, CscDigitToCscRDO, G4AtlasAlg, G4RunAlg, HGTD_Digitization, HiveAlgBase, InDet::GNNSeedingTrackMaker, InDet::SCT_Clusterization, InDet::SiSPGNNTrackMaker, InDet::SiSPSeededTrackFinder, InDet::SiTrackerSpacePointFinder, ISF::SimKernelMT, ITk::StripDigitization, ITkPixelCablingAlg, ITkStripCablingAlg, LArHitEMapMaker, LArTTL1Maker, LUCID_DigiTop, LVL1::L1TopoSimulation, MergeCalibHits, MergeGenericMuonSimHitColl, MergeHijingPars, MergeMcEventCollection, MergeTrackRecordCollection, MergeTruthJets, MergeTruthParticles, MuonDigitizer, PileUpMTAlg, PixelDigitization, RoIBResultToxAOD, SCT_ByteStreamErrorsTestAlg, SCT_CablingCondAlgFromCoraCool, SCT_CablingCondAlgFromText, SCT_ConditionsParameterTestAlg, SCT_ConditionsSummaryTestAlg, SCT_ConfigurationConditionsTestAlg, SCT_Digitization, SCT_FlaggedConditionTestAlg, SCT_LinkMaskingTestAlg, SCT_MajorityConditionsTestAlg, SCT_ModuleVetoTestAlg, SCT_MonitorConditionsTestAlg, SCT_PrepDataToxAOD, SCT_RawDataToxAOD, SCT_ReadCalibChipDataTestAlg, SCT_ReadCalibDataTestAlg, SCT_RODVetoTestAlg, SCT_SensorsTestAlg, SCT_SiliconConditionsTestAlg, SCT_StripVetoTestAlg, SCT_TdaqEnabledTestAlg, SCT_TestCablingAlg, SCTEventFlagWriter, SCTRawDataProvider, SCTSiLorentzAngleTestAlg, SCTSiPropertiesTestAlg, SGInputLoader, Simulation::BeamEffectsAlg, TileHitVecToCnt, TileMuonFitter, TilePulseForTileMuonReceiver, TileRawChannelMaker, TRTDigitization, and ZDC_DigiTop.

Definition at line 68 of file AthCommonAlgorithm.h.

68 {
69 return true;
70 }

◆ isReEntrant()

virtual bool AthAlgorithm::isReEntrant ( ) const
inlinefinaloverrideprotectedvirtualinherited

Legacy algorithms are not thread-safe.

Definition at line 47 of file AthAlgorithm.h.

47{ return false; }

◆ msg()

MsgStream & AthCommonMsg< Gaudi::Algorithm >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24 {
25 return this->msgStream();
26 }

◆ msgLvl()

bool AthCommonMsg< Gaudi::Algorithm >::msgLvl ( const MSG::Level lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30 {
31 return this->msgLevel(lvl);
32 }

◆ outputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles ( ) const
overridevirtualinherited

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()

std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounce ( T & h)
inlineprotectedinherited

Definition at line 368 of file AthCommonDataStore.h.

369 {
370 h.renounce();
372 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 352 of file AthCommonDataStore.h.

352 {
354 }

◆ setFilterPassed()

virtual void AthCommonAlgorithm< Gaudi::Algorithm >::setFilterPassed ( bool state,
const EventContext & ctx ) const
inlinevirtualinherited

Set filter decision:

Definition at line 99 of file AthCommonAlgorithm.h.

99 {
101 }
virtual void setFilterPassed(bool state, const EventContext &ctx) const
Set filter decision:

◆ sysExecute()

StatusCode AthCommonAlgorithm< Gaudi::Algorithm >::sysExecute ( const EventContext & ctx)
overridevirtualinherited

Execute an algorithm.

We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.

Reimplemented in AthAnalysisAlgorithm.

Definition at line 80 of file AthCommonAlgorithm.cxx.

41{
42 return BaseAlg::sysExecute (ctx);
43}

◆ sysInitialize()

StatusCode AthCommonAlgorithm< Gaudi::Algorithm >::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc

Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc

Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.

Reimplemented in AthAnalysisAlgorithm, AthHistogramAlgorithm, HypoBase, InputMakerBase, and PyAthena::Alg.

Definition at line 60 of file AthCommonAlgorithm.cxx.

71 {
73
74 if (sc.isFailure()) {
75 return sc;
76 }
77
78 ServiceHandle<ICondSvc> cs("CondSvc",name());
79 for (auto h : outputHandles()) {
80 if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
81 // do this inside the loop so we don't create the CondSvc until needed
82 if ( cs.retrieve().isFailure() ) {
83 ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
85 }
86 if (cs->regHandle(this,*h).isFailure()) {
88 ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
89 << " with CondSvc");
90 }
91 }
92 }
93 return sc;
94}
virtual StatusCode sysInitialize() override
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::updateVHKA ( Gaudi::Details::PropertyBase & )
inlineinherited

Definition at line 298 of file AthCommonDataStore.h.

298 {
299 for (auto &a : m_vhka) {
301 for (auto k : keys) {
302 k->setOwner(this);
303 }
304 }
305 }

Member Data Documentation

◆ m_cablingKey

SG::ReadCondHandleKey<LArOnOffIdMapping> DumpLArRawChannels::m_cablingKey {this,"keyCabling", "LArOnOffIdMap", "Input key for Id mapping"}
private

Definition at line 33 of file DumpLArRawChannels.h.

33{this,"keyCabling", "LArOnOffIdMap", "Input key for Id mapping"};

◆ m_chan

int DumpLArRawChannels::m_chan {0}
private

Definition at line 35 of file DumpLArRawChannels.h.

35{0};

◆ m_count

int DumpLArRawChannels::m_count {0}
private

Definition at line 34 of file DumpLArRawChannels.h.

34{0};

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default).

Definition at line 381 of file AthCommonDataStore.h.

◆ m_e

float DumpLArRawChannels::m_e =0
private

Definition at line 47 of file DumpLArRawChannels.h.

◆ m_emId

const LArEM_ID* DumpLArRawChannels::m_emId {nullptr}
private

Definition at line 38 of file DumpLArRawChannels.h.

38{nullptr};

◆ m_evt

int DumpLArRawChannels::m_evt =0
private

Definition at line 46 of file DumpLArRawChannels.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default).

Definition at line 378 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthCommonAlgorithm< Gaudi::Algorithm >::m_extendedExtraObjects
privateinherited

Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.

Empty if no symlinks were found.

Definition at line 108 of file AthCommonAlgorithm.h.

◆ m_FileName

Gaudi::Property<std::string> DumpLArRawChannels::m_FileName {this, "OutputFileName", "LArRawChannels.txt"}
private

Definition at line 41 of file DumpLArRawChannels.h.

41{this, "OutputFileName", "LArRawChannels.txt"};

◆ m_gain

unsigned DumpLArRawChannels::m_gain =0
private

Definition at line 48 of file DumpLArRawChannels.h.

◆ m_id

unsigned DumpLArRawChannels::m_id =0
private

Definition at line 49 of file DumpLArRawChannels.h.

◆ m_key

Gaudi::Property<std::string> DumpLArRawChannels::m_key {this, "LArRawChannelContainerName", ""}
private

Definition at line 40 of file DumpLArRawChannels.h.

40{this, "LArRawChannelContainerName", ""};

◆ m_ntup

Gaudi::Property<std::string> DumpLArRawChannels::m_ntup {this, "NtupStream", ""}
private

Definition at line 44 of file DumpLArRawChannels.h.

44{this, "NtupStream", ""};

◆ m_onlineHelper

const LArOnlineID* DumpLArRawChannels::m_onlineHelper {nullptr}
private

Definition at line 37 of file DumpLArRawChannels.h.

37{nullptr};

◆ m_outfile

std::ofstream DumpLArRawChannels::m_outfile
private

Definition at line 39 of file DumpLArRawChannels.h.

◆ m_Q

float DumpLArRawChannels::m_Q =0
private

Definition at line 47 of file DumpLArRawChannels.h.

◆ m_t

float DumpLArRawChannels::m_t =0
private

Definition at line 47 of file DumpLArRawChannels.h.

◆ m_thistSvc

ServiceHandle<ITHistSvc> DumpLArRawChannels::m_thistSvc
private

Definition at line 53 of file DumpLArRawChannels.h.

◆ m_toFile

bool DumpLArRawChannels::m_toFile = false
private

Definition at line 51 of file DumpLArRawChannels.h.

◆ m_toLog

Gaudi::Property<bool> DumpLArRawChannels::m_toLog {this, "ToLog", true}
private

Definition at line 50 of file DumpLArRawChannels.h.

50{this, "ToLog", true};

◆ m_tree

TTree* DumpLArRawChannels::m_tree =nullptr
private

Definition at line 45 of file DumpLArRawChannels.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_varHandleArraysDeclared
privateinherited

Definition at line 387 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
privateinherited

Definition at line 386 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files: