ATLAS Offline Software
Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
RPC_RDOAnalysis Class Reference

#include <RPC_RDOAnalysis.h>

Inheritance diagram for RPC_RDOAnalysis:
Collaboration diagram for RPC_RDOAnalysis:

Public Member Functions

 RPC_RDOAnalysis (const std::string &name, ISvcLocator *pSvcLocator)
 
 ~RPC_RDOAnalysis ()
 
virtual StatusCode initialize () override final
 
virtual StatusCode execute () override final
 
virtual StatusCode finalize () override final
 
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
 

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution More...
 
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. More...
 

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

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...
 

Private Attributes

SG::ReadHandleKey< RpcPadContainerm_inputKey
 
SG::ReadHandleKey< MuonSimDataCollectionm_inputTruthKey
 
std::vector< unsigned long long > * m_rpcID
 
std::vector< unsigned short int > * m_status
 
std::vector< unsigned short int > * m_err
 
std::vector< unsigned short int > * m_onlineID
 
std::vector< unsigned short int > * m_lvl1ID
 
std::vector< unsigned short int > * m_bcID
 
std::vector< int > * m_sector
 
std::vector< unsigned long long > * m_coinRpcID
 
std::vector< unsigned short int > * m_coinOnID
 
std::vector< unsigned short int > * m_coinCrc
 
std::vector< unsigned short int > * m_coinFel1ID
 
std::vector< unsigned short int > * m_coinFebcID
 
std::vector< unsigned short int > * m_firedBcID
 
std::vector< unsigned short int > * m_firedTime
 
std::vector< unsigned short int > * m_firedIjk
 
std::vector< unsigned short int > * m_firedChan
 
std::vector< unsigned short int > * m_firedOvl
 
std::vector< unsigned short int > * m_firedThr
 
std::vector< unsigned long long > * m_sdoID
 
std::vector< int > * m_sdoWord
 
std::vector< float > * m_xPos
 
std::vector< float > * m_yPos
 
std::vector< float > * m_zPos
 
std::vector< int > * m_barcode
 
std::vector< int > * m_eventIndex
 
std::vector< double > * m_radius
 
std::vector< float > * m_localZ
 
std::vector< std::vector< int > > * m_barcode_vec
 
std::vector< std::vector< int > > * m_eventIndex_vec
 
std::vector< std::vector< double > > * m_radius_vec
 
std::vector< std::vector< float > > * m_localZ_vec
 
TH1m_h_rpcID
 
TH1m_h_status
 
TH1m_h_err
 
TH1m_h_onlineID
 
TH1m_h_lvl1ID
 
TH1m_h_bcID
 
TH1m_h_sector
 
TH1m_h_coinRpcID
 
TH1m_h_coinOnID
 
TH1m_h_coinCrc
 
TH1m_h_coinFel1ID
 
TH1m_h_coinFebcID
 
TH1m_h_firedBcID
 
TH1m_h_firedTime
 
TH1m_h_firedIjk
 
TH1m_h_firedChan
 
TH1m_h_firedOvl
 
TH1m_h_firedThr
 
TH1m_h_sdoID
 
TH1m_h_sdoWord
 
TH1m_h_xPos
 
TH1m_h_yPos
 
TH1m_h_zPos
 
TH1m_h_barcode
 
TH1m_h_eventIndex
 
TH1m_h_radius
 
TH1m_h_localZ
 
TTree * m_tree
 
std::string m_ntupleFileName
 
std::string m_ntupleDirName
 
std::string m_ntupleTreeName
 
std::string m_path
 
ServiceHandle< ITHistSvc > m_thistSvc
 
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
 

Detailed Description

Definition at line 24 of file RPC_RDOAnalysis.h.

Member Typedef Documentation

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ RPC_RDOAnalysis()

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

Definition at line 17 of file RPC_RDOAnalysis.cxx.

18  : AthAlgorithm(name, pSvcLocator)
19  , m_inputKey("RPCPAD")
20  , m_inputTruthKey("RPC_SDO")
21  , m_rpcID(0)
22  , m_status(0)
23  , m_err(0)
24  , m_onlineID(0)
25  , m_lvl1ID(0)
26  , m_bcID(0)
27  , m_sector(0)
28  , m_coinRpcID(0)
29  , m_coinOnID(0)
30  , m_coinCrc(0)
31  , m_coinFel1ID(0)
32  , m_coinFebcID(0)
33  , m_firedBcID(0)
34  , m_firedTime(0)
35  , m_firedIjk(0)
36  , m_firedChan(0)
37  , m_firedOvl(0)
38  , m_firedThr(0)
39  , m_sdoID(0)
40  , m_sdoWord(0)
41  , m_xPos(0)
42  , m_yPos(0)
43  , m_zPos(0)
44  , m_barcode(0)
45  , m_eventIndex(0)
46  , m_radius(0)
47  , m_localZ(0)
48  , m_barcode_vec(0)
49  , m_eventIndex_vec(0)
50  , m_radius_vec(0)
51  , m_localZ_vec(0)
52 
53  , m_h_rpcID(0)
54  , m_h_status(0)
55  , m_h_err(0)
56  , m_h_onlineID(0)
57  , m_h_lvl1ID(0)
58  , m_h_bcID(0)
59  , m_h_sector(0)
60  , m_h_coinRpcID(0)
61  , m_h_coinOnID(0)
62  , m_h_coinCrc(0)
63  , m_h_coinFel1ID(0)
64  , m_h_coinFebcID(0)
65  , m_h_firedBcID(0)
66  , m_h_firedTime(0)
67  , m_h_firedIjk(0)
68  , m_h_firedChan(0)
69  , m_h_firedOvl(0)
70  , m_h_firedThr(0)
71  , m_h_sdoID(0)
72  , m_h_sdoWord(0)
73  , m_h_xPos(0)
74  , m_h_yPos(0)
75  , m_h_zPos(0)
76  , m_h_barcode(0)
77  , m_h_eventIndex(0)
78  , m_h_radius(0)
79  , m_h_localZ(0)
80 
81  , m_tree(0)
82  , m_ntupleFileName("/ntuples/file1")
83  , m_ntupleDirName("/RPC_RDOAnalysis/")
84  , m_ntupleTreeName("RPC_RDOAna")
85  , m_path("/RPC_RDOAnalysis/")
86  , m_thistSvc("THistSvc", name)
87 {
88  declareProperty("InputKey", m_inputKey);
89  declareProperty("InputTruthKey", m_inputTruthKey);
90  declareProperty("NtupleFileName", m_ntupleFileName);
91  declareProperty("NtupleDirectoryName", m_ntupleDirName);
92  declareProperty("NtupleTreeName", m_ntupleTreeName);
93  declareProperty("HistPath", m_path);
94 }

◆ ~RPC_RDOAnalysis()

RPC_RDOAnalysis::~RPC_RDOAnalysis ( )
inline

Definition at line 28 of file RPC_RDOAnalysis.h.

28 {}

Member Function Documentation

◆ declareGaudiProperty() [1/4]

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

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

Definition at line 170 of file AthCommonDataStore.h.

172  {
173  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
174  hndl.value(),
175  hndl.documentation());
176 
177  }

◆ declareGaudiProperty() [2/4]

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

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

Definition at line 156 of file AthCommonDataStore.h.

158  {
159  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
160  hndl.value(),
161  hndl.documentation());
162 
163  }

◆ declareGaudiProperty() [3/4]

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

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

Definition at line 184 of file AthCommonDataStore.h.

186  {
187  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
188  hndl.value(),
189  hndl.documentation());
190  }

◆ declareGaudiProperty() [4/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  t,
const SG::NotHandleType  
)
inlineprivateinherited

specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>

Definition at line 199 of file AthCommonDataStore.h.

200  {
201  return PBASE::declareProperty(t);
202  }

◆ declareProperty() [1/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleBase hndl,
const std::string &  doc,
const SG::VarHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation 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.

249  {
250  this->declare(hndl.vhKey());
251  hndl.vhKey().setOwner(this);
252 
253  return PBASE::declareProperty(name,hndl,doc);
254  }

◆ declareProperty() [2/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleKey hndl,
const std::string &  doc,
const SG::VarHandleKeyType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation 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.

225  {
226  this->declare(hndl);
227  hndl.setOwner(this);
228 
229  return PBASE::declareProperty(name,hndl,doc);
230  }

◆ declareProperty() [3/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleKeyArray hndArr,
const std::string &  doc,
const SG::VarHandleKeyArrayType  
)
inlineinherited

Definition at line 259 of file AthCommonDataStore.h.

263  {
264 
265  // std::ostringstream ost;
266  // ost << Algorithm::name() << " VHKA declareProp: " << name
267  // << " size: " << hndArr.keys().size()
268  // << " mode: " << hndArr.mode()
269  // << " vhka size: " << m_vhka.size()
270  // << "\n";
271  // debug() << ost.str() << endmsg;
272 
273  hndArr.setOwner(this);
274  m_vhka.push_back(&hndArr);
275 
276  Gaudi::Details::PropertyBase* p = PBASE::declareProperty(name, hndArr, doc);
277  if (p != 0) {
278  p->declareUpdateHandler(&AthCommonDataStore<PBASE>::updateVHKA, this);
279  } else {
280  ATH_MSG_ERROR("unable to call declareProperty on VarHandleKeyArray "
281  << name);
282  }
283 
284  return p;
285 
286  }

◆ declareProperty() [4/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc,
const SG::NotHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation 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.

337  {
338  return PBASE::declareProperty(name, property, doc);
339  }

◆ declareProperty() [5/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc = "none" 
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation 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.

355  {
356  typedef typename SG::HandleClassifier<T>::type htype;
357  return declareProperty (name, property, doc, htype());
358  }

◆ declareProperty() [6/6]

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

Definition at line 145 of file AthCommonDataStore.h.

145  {
146  typedef typename SG::HandleClassifier<T>::type htype;
148  }

◆ detStore()

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

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

Definition at line 95 of file AthCommonDataStore.h.

95 { return m_detStore; }

◆ evtStore() [1/2]

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

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

Definition at line 85 of file AthCommonDataStore.h.

85 { return m_evtStore; }

◆ evtStore() [2/2]

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

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

Definition at line 90 of file AthCommonDataStore.h.

90 { return m_evtStore; }

◆ execute()

StatusCode RPC_RDOAnalysis::execute ( )
finaloverridevirtual

Definition at line 258 of file RPC_RDOAnalysis.cxx.

258  {
259  ATH_MSG_DEBUG( "In RPC_RDOAnalysis::execute()" );
260 
261  m_rpcID->clear();
262  m_status->clear();
263  m_err->clear();
264  m_onlineID->clear();
265  m_lvl1ID->clear();
266  m_bcID->clear();
267  m_sector->clear();
268  m_coinRpcID->clear();
269  m_coinOnID->clear();
270  m_coinCrc->clear();
271  m_coinFel1ID->clear();
272  m_coinFebcID->clear();
273  m_firedBcID->clear();
274  m_firedTime->clear();
275  m_firedIjk->clear();
276  m_firedChan->clear();
277  m_firedOvl->clear();
278  m_firedThr->clear();
279  m_sdoID->clear();
280  m_sdoWord->clear();
281  m_xPos->clear();
282  m_yPos->clear();
283  m_zPos->clear();
284  m_barcode->clear();
285  m_eventIndex->clear();
286  m_radius->clear();
287  m_localZ->clear();
288  m_barcode_vec->clear();
289  m_eventIndex_vec->clear();
290  m_radius_vec->clear();
291  m_localZ_vec->clear();
292 
293  // RPC Pad
295  if(p_RPCpadCont.isValid()) {
296  // loop over RPC pad container
297  RpcPadContainer::const_iterator rpc_itr(p_RPCpadCont->begin());
298  const RpcPadContainer::const_iterator rpc_end(p_RPCpadCont->end());
299  for ( ; rpc_itr != rpc_end; ++rpc_itr ) {
300  const Identifier rpcID((*rpc_itr)->identify());
301  const unsigned short int padStat((*rpc_itr)->status());
302  const unsigned short int padErr((*rpc_itr)->errorCode());
303  const unsigned short int padOnID((*rpc_itr)->onlineId());
304  const unsigned short int padLVL1ID((*rpc_itr)->lvl1Id());
305  const unsigned short int padBCID((*rpc_itr)->bcId());
306  const int padSec((*rpc_itr)->sector());
307 
308  const unsigned long long rpcID_int = rpcID.get_compact();
309  m_rpcID->push_back(rpcID_int);
310  m_status->push_back(padStat);
311  m_err->push_back(padErr);
312  m_onlineID->push_back(padOnID);
313  m_lvl1ID->push_back(padLVL1ID);
314  m_bcID->push_back(padBCID);
315  m_sector->push_back(padSec);
316 
317  m_h_rpcID->Fill(rpcID_int);
318  m_h_status->Fill(padStat);
319  m_h_err->Fill(padErr);
320  m_h_onlineID->Fill(padOnID);
321  m_h_lvl1ID->Fill(padLVL1ID);
322  m_h_bcID->Fill(padBCID);
323  m_h_sector->Fill(padSec);
324 
325  // RPC Coincidence Matrix
326  const RpcPad* p_rpcCoin(*rpc_itr);
327  RpcPad::const_iterator rpcCoin_itr(p_rpcCoin->begin());
328  const RpcPad::const_iterator rpcCoin_end(p_rpcCoin->end());
329  for ( ; rpcCoin_itr != rpcCoin_end; ++rpcCoin_itr ) {
330  const Identifier coinRpcID((*rpcCoin_itr)->identify());
331  const unsigned short int coinOnID((*rpcCoin_itr)->onlineId());
332  const unsigned short int coinCrc((*rpcCoin_itr)->crc());
333  const unsigned short int coinFel1ID((*rpcCoin_itr)->fel1Id());
334  const unsigned short int coinFebcID((*rpcCoin_itr)->febcId());
335 
336  const unsigned long long coinRpcID_int = coinRpcID.get_compact();
337  m_coinRpcID->push_back(coinRpcID_int);
338  m_coinOnID->push_back(coinOnID);
339  m_coinCrc->push_back(coinCrc);
340  m_coinFel1ID->push_back(coinFel1ID);
341  m_coinFebcID->push_back(coinFebcID);
342 
343  m_h_coinRpcID->Fill(coinRpcID_int);
344  m_h_coinOnID->Fill(coinOnID);
345  m_h_coinCrc->Fill(coinCrc);
346  m_h_coinFel1ID->Fill(coinFel1ID);
347  m_h_coinFebcID->Fill(coinFebcID);
348 
349  // RPC Fired Channel
350  const RpcCoinMatrix *p_rpcFired(*rpcCoin_itr);
351  RpcCoinMatrix::const_iterator rpcFired_itr(p_rpcFired->begin());
352  const RpcCoinMatrix::const_iterator rpcFired_end(p_rpcFired->end());
353  for ( ; rpcFired_itr != rpcFired_end; ++rpcFired_itr ) {
354  const unsigned short int firedBcID((*rpcFired_itr)->bcid());
355  const unsigned short int firedTime((*rpcFired_itr)->time());
356  const unsigned short int firedIjk((*rpcFired_itr)->ijk());
357  const unsigned short int firedChan((*rpcFired_itr)->channel());
358  const unsigned short int firedOvl((*rpcFired_itr)->ovl());
359  const unsigned short int firedThr((*rpcFired_itr)->thr());
360 
361  m_firedBcID->push_back(firedBcID);
362  m_firedTime->push_back(firedTime);
363  m_firedIjk->push_back(firedIjk);
364  m_firedChan->push_back(firedChan);
365  m_firedOvl->push_back(firedOvl);
366  m_firedThr->push_back(firedThr);
367 
368  m_h_firedBcID->Fill(firedBcID);
369  m_h_firedTime->Fill(firedTime);
370  m_h_firedIjk->Fill(firedIjk);
371  m_h_firedChan->Fill(firedChan);
372  m_h_firedOvl->Fill(firedOvl);
373  m_h_firedThr->Fill(firedThr);
374 
375  }
376  }
377  }
378  }
379 
380  // SimData
382  if(simDataMapRPC.isValid()) {
383  MuonSimDataCollection::const_iterator sdo_itr(simDataMapRPC->begin());
384  const MuonSimDataCollection::const_iterator sdo_end(simDataMapRPC->end());
385 
386  std::vector<int> barcode_vec;
387  std::vector<int> eventIndex_vec;
388  std::vector<double> radius_vec;
389  std::vector<float> localZ_vec;
390  for ( ; sdo_itr != sdo_end; ++sdo_itr ) {
391  const Identifier sdoID((*sdo_itr).first);
392  const MuonSimData& sdo((*sdo_itr).second);
393 
394  const unsigned long long sdoID_int = sdoID.get_compact();
395  const int sdoWord(sdo.word());
396  const Amg::Vector3D gPos(sdo.globalPosition());
397  const float xPos(gPos.x());
398  const float yPos(gPos.y());
399  const float zPos(gPos.z());
400 
401  m_sdoID->push_back(sdoID_int);
402  m_sdoWord->push_back(sdoWord);
403  m_xPos->push_back(xPos);
404  m_yPos->push_back(yPos);
405  m_zPos->push_back(zPos);
406 
407  m_h_sdoID->Fill(sdoID_int);
408  m_h_sdoWord->Fill(sdoWord);
409  m_h_xPos->Fill(xPos);
410  m_h_yPos->Fill(yPos);
411  m_h_zPos->Fill(zPos);
412 
413  // loop over deposits
414  const std::vector<MuonSimData::Deposit>& deposits = sdo.getdeposits();
415  std::vector<MuonSimData::Deposit>::const_iterator dep_itr(deposits.begin());
416  const std::vector<MuonSimData::Deposit>::const_iterator dep_end(deposits.end());
417  for ( ; dep_itr != dep_end; ++dep_itr ) {
418  const HepMcParticleLink& particleLink = (*dep_itr).first;
419  const int bar(HepMC::barcode(particleLink)); // FIXME barcode-based
420  const int eventIx(particleLink.eventIndex());
421  const MuonMCData& data = (*dep_itr).second;
422  const double radius(data.firstEntry());
423  const float localZ(data.secondEntry());
424 
425  m_barcode->push_back(bar);
426  m_eventIndex->push_back(eventIx);
427  m_radius->push_back(radius);
428  m_localZ->push_back(localZ);
429 
430  m_h_barcode->Fill(bar);
431  m_h_eventIndex->Fill(eventIx);
433  m_h_localZ->Fill(localZ);
434 
435  barcode_vec.push_back(bar);
436  eventIndex_vec.push_back(eventIx);
437  radius_vec.push_back(radius);
438  localZ_vec.push_back(localZ);
439  }
440  m_barcode_vec->push_back(barcode_vec);
441  m_eventIndex_vec->push_back(eventIndex_vec);
442  m_radius_vec->push_back(radius_vec);
443  m_localZ_vec->push_back(localZ_vec);
444  barcode_vec.clear();
445  eventIndex_vec.clear();
446  radius_vec.clear();
447  localZ_vec.clear();
448  }
449  }
450 
451  if (m_tree) {
452  m_tree->Fill();
453  }
454 
455  return StatusCode::SUCCESS;
456 }

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< 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 & 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.

51 {
52  // If we didn't find any symlinks to add, just return the collection
53  // from the base class. Otherwise, return the extended collection.
54  if (!m_extendedExtraObjects.empty()) {
56  }
57  return Algorithm::extraOutputDeps();
58 }

◆ finalize()

StatusCode RPC_RDOAnalysis::finalize ( )
finaloverridevirtual

Definition at line 458 of file RPC_RDOAnalysis.cxx.

458  {
459  return StatusCode::SUCCESS;
460 }

◆ initialize()

StatusCode RPC_RDOAnalysis::initialize ( )
finaloverridevirtual

Definition at line 96 of file RPC_RDOAnalysis.cxx.

96  {
97  ATH_MSG_DEBUG( "Initializing RPC_RDOAnalysis" );
98 
99  // This will check that the properties were initialized
100  // properly by job configuration.
103 
104  ATH_CHECK(m_thistSvc.retrieve());
105 
106  m_tree = new TTree(TString(m_ntupleTreeName), "RPC_RDOAna");
107  std::string fullNtupleName = m_ntupleFileName + m_ntupleDirName + m_ntupleTreeName;
108  ATH_CHECK(m_thistSvc->regTree(fullNtupleName, m_tree));
109  if (m_tree) {
110  m_tree->Branch("rpcID", &m_rpcID);
111  m_tree->Branch("status", &m_status);
112  m_tree->Branch("err", &m_err);
113  m_tree->Branch("onlineID", &m_onlineID);
114  m_tree->Branch("lvl1ID", &m_lvl1ID);
115  m_tree->Branch("bcID", &m_bcID);
116  m_tree->Branch("sector", &m_sector);
117  m_tree->Branch("coinRpcID", &m_coinRpcID);
118  m_tree->Branch("coinOnID", &m_coinOnID);
119  m_tree->Branch("coinCrc", &m_coinCrc);
120  m_tree->Branch("coinFel1ID", &m_coinFel1ID);
121  m_tree->Branch("coinFebcID", &m_coinFebcID);
122  m_tree->Branch("firedBcID", &m_firedBcID);
123  m_tree->Branch("firedTime", &m_firedTime);
124  m_tree->Branch("firedIjk", &m_firedIjk);
125  m_tree->Branch("firedChan", &m_firedChan);
126  m_tree->Branch("firedOvl", &m_firedOvl);
127  m_tree->Branch("firedThr", &m_firedThr);
128  m_tree->Branch("sdoID", &m_sdoID);
129  m_tree->Branch("sdoWord", &m_sdoWord);
130  m_tree->Branch("xPos", &m_xPos);
131  m_tree->Branch("yPos", &m_yPos);
132  m_tree->Branch("zPos", &m_zPos);
133  m_tree->Branch("barcode", &m_barcode);
134  m_tree->Branch("eventIndex", &m_eventIndex);
135  m_tree->Branch("radius", &m_radius);
136  m_tree->Branch("localZ", &m_localZ);
137  m_tree->Branch("barcode_vec", &m_barcode_vec);
138  m_tree->Branch("eventIndex_vec", &m_eventIndex_vec);
139  m_tree->Branch("radius_vec", &m_radius_vec);
140  m_tree->Branch("localZ_vec", &m_localZ_vec);
141  }
142  else {
143  ATH_MSG_ERROR("No tree found!");
144  }
145 
146  // HISTOGRAMS
147  m_h_rpcID = new TH1F("h_rpcID", "RPC Pad ID", 100, 0, 1e19);
148  m_h_rpcID->StatOverflows();
149  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_rpcID->GetName(), m_h_rpcID));
150 
151  m_h_status = new TH1F("h_status", "RPC Pad Status", 100, 0, 10);
152  m_h_status->StatOverflows();
153  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_status->GetName(), m_h_status));
154 
155  m_h_err = new TH1F("h_err", "RPC Pad error code", 100, 0, 10);
156  m_h_err->StatOverflows();
157  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_err->GetName(), m_h_err));
158 
159  m_h_onlineID = new TH1F("h_onlineID", "RPC Pad online ID", 100, 0, 10);
160  m_h_onlineID->StatOverflows();
161  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_onlineID->GetName(), m_h_onlineID));
162 
163  m_h_lvl1ID = new TH1F("h_lvl1ID", "RPC Pad LVL1 ID", 100, 0, 10);
164  m_h_lvl1ID->StatOverflows();
165  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_lvl1ID->GetName(), m_h_lvl1ID));
166 
167  m_h_bcID = new TH1F("h_bcID", "RPC Pad BCID", 100, 0, 10);
168  m_h_bcID->StatOverflows();
169  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_bcID->GetName(), m_h_bcID));
170 
171  m_h_sector = new TH1F("h_sector", "RPC Pad Sector", 100, 0, 75);
172  m_h_sector->StatOverflows();
173  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_sector->GetName(), m_h_sector));
174 
175  m_h_coinRpcID = new TH1F("h_coinRpcID", "CM Pad ID", 100, 0, 1e19);
176  m_h_coinRpcID->StatOverflows();
177  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_coinRpcID->GetName(), m_h_coinRpcID));
178 
179  m_h_coinOnID = new TH1F("h_coinOnID", "CM Online ID", 100, 0, 10);
180  m_h_coinOnID->StatOverflows();
181  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_coinOnID->GetName(), m_h_coinOnID));
182 
183  m_h_coinCrc = new TH1F("h_coinCrc", "CM CRC", 100, 0, 300);
184  m_h_coinCrc->StatOverflows();
185  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_coinCrc->GetName(), m_h_coinCrc));
186 
187  m_h_coinFel1ID = new TH1F("h_coinFel1ID", "CM FEL1ID", 100, 0, 10);
188  m_h_coinFel1ID->StatOverflows();
189  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_coinFel1ID->GetName(), m_h_coinFel1ID));
190 
191  m_h_coinFebcID = new TH1F("h_coinFebcID", "CM FEBCID", 100, 0, 10);
192  m_h_coinFebcID->StatOverflows();
193  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_coinFebcID->GetName(), m_h_coinFebcID));
194 
195  m_h_firedBcID = new TH1F("h_firedBcID", "Fired Channel BCID", 100, 0, 10);
196  m_h_firedBcID->StatOverflows();
197  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_firedBcID->GetName(), m_h_firedBcID));
198 
199  m_h_firedTime = new TH1F("h_firedTime", "Fired Channel time", 100, 0, 10);
200  m_h_firedTime->StatOverflows();
201  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_firedTime->GetName(), m_h_firedTime));
202 
203  m_h_firedIjk = new TH1F("h_firedIjk", "Fired Channel ijk", 100, 0, 10);
204  m_h_firedIjk->StatOverflows();
205  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_firedIjk->GetName(), m_h_firedIjk));
206 
207  m_h_firedChan = new TH1F("h_firedChan", "Fired Channel number", 100, 0, 35);
208  m_h_firedChan->StatOverflows();
209  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_firedChan->GetName(), m_h_firedChan));
210 
211  m_h_firedOvl = new TH1F("h_firedOvl", "Fired Channel overlap", 100, 0, 10);
212  m_h_firedOvl->StatOverflows();
213  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_firedOvl->GetName(), m_h_firedOvl));
214 
215  m_h_firedThr = new TH1F("h_firedThr", "Fired Channel threshold", 100, 0, 5);
216  m_h_firedThr->StatOverflows();
217  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_firedThr->GetName(), m_h_firedThr));
218 
219  m_h_sdoID = new TH1F("h_sdoID", "sdoID", 100, 0, 1e19);
220  m_h_sdoID->StatOverflows();
221  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_sdoID->GetName(), m_h_sdoID));
222 
223  m_h_sdoWord = new TH1F("h_sdoWord", "sdoWord", 100, 0, 10);
224  m_h_sdoWord->StatOverflows();
225  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_sdoWord->GetName(), m_h_sdoWord));
226 
227  m_h_xPos = new TH1F("h_xPos", "Global x-position (SDO)", 100, -15000, 15000);
228  m_h_xPos->StatOverflows();
229  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_xPos->GetName(), m_h_xPos));
230 
231  m_h_yPos = new TH1F("h_yPos", "Global y-position (SDO)", 100, -15000, 15000);
232  m_h_yPos->StatOverflows();
233  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_yPos->GetName(), m_h_yPos));
234 
235  m_h_zPos = new TH1F("h_zPos", "Global z-position (SDO)", 100, -15000, 15000);
236  m_h_zPos->StatOverflows();
237  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_zPos->GetName(), m_h_zPos));
238 
239  m_h_barcode = new TH1F("h_barcode", "Barcode (SDO)", 100, 0, 2.2e9);
240  m_h_barcode->StatOverflows();
241  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_barcode->GetName(), m_h_barcode));
242 
243  m_h_eventIndex = new TH1F("h_eventIndex", "Event index (SDO)", 100, 0, 1000);
244  m_h_eventIndex->StatOverflows();
245  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_eventIndex->GetName(), m_h_eventIndex));
246 
247  m_h_radius = new TH1F("h_radius", "Radius (SDO)", 100, 0, 1);
248  m_h_radius->StatOverflows();
249  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_radius->GetName(), m_h_radius));
250 
251  m_h_localZ = new TH1F("h_localZ", "Local z-position (SDO)", 100, -250, 250);
252  m_h_localZ->StatOverflows();
253  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_localZ->GetName(), m_h_localZ));
254 
255  return StatusCode::SUCCESS;
256 }

◆ inputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< 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.

◆ msg() [1/2]

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

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

MsgStream& AthCommonMsg< Algorithm >::msg ( const MSG::Level  lvl) const
inlineinherited

Definition at line 27 of file AthCommonMsg.h.

27  {
28  return this->msgStream(lvl);
29  }

◆ msgLvl()

bool AthCommonMsg< 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< 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< Algorithm > >::renounce ( T &  h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381  {
382  h.renounce();
383  PBASE::renounce (h);
384  }

◆ renounceArray()

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

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364  {
365  handlesArray.renounce();
366  }

◆ sysInitialize()

StatusCode AthAlgorithm::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< Algorithm > >.

Reimplemented in AthAnalysisAlgorithm, AthFilterAlgorithm, PyAthena::Alg, and AthHistogramAlgorithm.

Definition at line 66 of file AthAlgorithm.cxx.

66  {
68 
69  if (sc.isFailure()) {
70  return sc;
71  }
72  ServiceHandle<ICondSvc> cs("CondSvc",name());
73  for (auto h : outputHandles()) {
74  if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
75  // do this inside the loop so we don't create the CondSvc until needed
76  if ( cs.retrieve().isFailure() ) {
77  ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
78  return StatusCode::SUCCESS;
79  }
80  if (cs->regHandle(this,*h).isFailure()) {
81  sc = StatusCode::FAILURE;
82  ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
83  << " with CondSvc");
84  }
85  }
86  }
87  return sc;
88 }

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< 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< Algorithm > >::updateVHKA ( Gaudi::Details::PropertyBase &  )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308  {
309  // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310  // << " size: " << m_vhka.size() << endmsg;
311  for (auto &a : m_vhka) {
312  std::vector<SG::VarHandleKey*> keys = a->keys();
313  for (auto k : keys) {
314  k->setOwner(this);
315  }
316  }
317  }

Member Data Documentation

◆ m_barcode

std::vector<int>* RPC_RDOAnalysis::m_barcode
private

Definition at line 65 of file RPC_RDOAnalysis.h.

◆ m_barcode_vec

std::vector< std::vector<int> >* RPC_RDOAnalysis::m_barcode_vec
private

Definition at line 69 of file RPC_RDOAnalysis.h.

◆ m_bcID

std::vector<unsigned short int>* RPC_RDOAnalysis::m_bcID
private

Definition at line 42 of file RPC_RDOAnalysis.h.

◆ m_coinCrc

std::vector<unsigned short int>* RPC_RDOAnalysis::m_coinCrc
private

Definition at line 47 of file RPC_RDOAnalysis.h.

◆ m_coinFebcID

std::vector<unsigned short int>* RPC_RDOAnalysis::m_coinFebcID
private

Definition at line 49 of file RPC_RDOAnalysis.h.

◆ m_coinFel1ID

std::vector<unsigned short int>* RPC_RDOAnalysis::m_coinFel1ID
private

Definition at line 48 of file RPC_RDOAnalysis.h.

◆ m_coinOnID

std::vector<unsigned short int>* RPC_RDOAnalysis::m_coinOnID
private

Definition at line 46 of file RPC_RDOAnalysis.h.

◆ m_coinRpcID

std::vector<unsigned long long>* RPC_RDOAnalysis::m_coinRpcID
private

Definition at line 45 of file RPC_RDOAnalysis.h.

◆ m_detStore

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

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_err

std::vector<unsigned short int>* RPC_RDOAnalysis::m_err
private

Definition at line 39 of file RPC_RDOAnalysis.h.

◆ m_eventIndex

std::vector<int>* RPC_RDOAnalysis::m_eventIndex
private

Definition at line 66 of file RPC_RDOAnalysis.h.

◆ m_eventIndex_vec

std::vector< std::vector<int> >* RPC_RDOAnalysis::m_eventIndex_vec
private

Definition at line 70 of file RPC_RDOAnalysis.h.

◆ m_evtStore

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

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthAlgorithm::m_extendedExtraObjects
privateinherited

Definition at line 79 of file AthAlgorithm.h.

◆ m_firedBcID

std::vector<unsigned short int>* RPC_RDOAnalysis::m_firedBcID
private

Definition at line 51 of file RPC_RDOAnalysis.h.

◆ m_firedChan

std::vector<unsigned short int>* RPC_RDOAnalysis::m_firedChan
private

Definition at line 54 of file RPC_RDOAnalysis.h.

◆ m_firedIjk

std::vector<unsigned short int>* RPC_RDOAnalysis::m_firedIjk
private

Definition at line 53 of file RPC_RDOAnalysis.h.

◆ m_firedOvl

std::vector<unsigned short int>* RPC_RDOAnalysis::m_firedOvl
private

Definition at line 55 of file RPC_RDOAnalysis.h.

◆ m_firedThr

std::vector<unsigned short int>* RPC_RDOAnalysis::m_firedThr
private

Definition at line 56 of file RPC_RDOAnalysis.h.

◆ m_firedTime

std::vector<unsigned short int>* RPC_RDOAnalysis::m_firedTime
private

Definition at line 52 of file RPC_RDOAnalysis.h.

◆ m_h_barcode

TH1* RPC_RDOAnalysis::m_h_barcode
private

Definition at line 100 of file RPC_RDOAnalysis.h.

◆ m_h_bcID

TH1* RPC_RDOAnalysis::m_h_bcID
private

Definition at line 79 of file RPC_RDOAnalysis.h.

◆ m_h_coinCrc

TH1* RPC_RDOAnalysis::m_h_coinCrc
private

Definition at line 84 of file RPC_RDOAnalysis.h.

◆ m_h_coinFebcID

TH1* RPC_RDOAnalysis::m_h_coinFebcID
private

Definition at line 86 of file RPC_RDOAnalysis.h.

◆ m_h_coinFel1ID

TH1* RPC_RDOAnalysis::m_h_coinFel1ID
private

Definition at line 85 of file RPC_RDOAnalysis.h.

◆ m_h_coinOnID

TH1* RPC_RDOAnalysis::m_h_coinOnID
private

Definition at line 83 of file RPC_RDOAnalysis.h.

◆ m_h_coinRpcID

TH1* RPC_RDOAnalysis::m_h_coinRpcID
private

Definition at line 82 of file RPC_RDOAnalysis.h.

◆ m_h_err

TH1* RPC_RDOAnalysis::m_h_err
private

Definition at line 76 of file RPC_RDOAnalysis.h.

◆ m_h_eventIndex

TH1* RPC_RDOAnalysis::m_h_eventIndex
private

Definition at line 101 of file RPC_RDOAnalysis.h.

◆ m_h_firedBcID

TH1* RPC_RDOAnalysis::m_h_firedBcID
private

Definition at line 88 of file RPC_RDOAnalysis.h.

◆ m_h_firedChan

TH1* RPC_RDOAnalysis::m_h_firedChan
private

Definition at line 91 of file RPC_RDOAnalysis.h.

◆ m_h_firedIjk

TH1* RPC_RDOAnalysis::m_h_firedIjk
private

Definition at line 90 of file RPC_RDOAnalysis.h.

◆ m_h_firedOvl

TH1* RPC_RDOAnalysis::m_h_firedOvl
private

Definition at line 92 of file RPC_RDOAnalysis.h.

◆ m_h_firedThr

TH1* RPC_RDOAnalysis::m_h_firedThr
private

Definition at line 93 of file RPC_RDOAnalysis.h.

◆ m_h_firedTime

TH1* RPC_RDOAnalysis::m_h_firedTime
private

Definition at line 89 of file RPC_RDOAnalysis.h.

◆ m_h_localZ

TH1* RPC_RDOAnalysis::m_h_localZ
private

Definition at line 103 of file RPC_RDOAnalysis.h.

◆ m_h_lvl1ID

TH1* RPC_RDOAnalysis::m_h_lvl1ID
private

Definition at line 78 of file RPC_RDOAnalysis.h.

◆ m_h_onlineID

TH1* RPC_RDOAnalysis::m_h_onlineID
private

Definition at line 77 of file RPC_RDOAnalysis.h.

◆ m_h_radius

TH1* RPC_RDOAnalysis::m_h_radius
private

Definition at line 102 of file RPC_RDOAnalysis.h.

◆ m_h_rpcID

TH1* RPC_RDOAnalysis::m_h_rpcID
private

Definition at line 74 of file RPC_RDOAnalysis.h.

◆ m_h_sdoID

TH1* RPC_RDOAnalysis::m_h_sdoID
private

Definition at line 95 of file RPC_RDOAnalysis.h.

◆ m_h_sdoWord

TH1* RPC_RDOAnalysis::m_h_sdoWord
private

Definition at line 96 of file RPC_RDOAnalysis.h.

◆ m_h_sector

TH1* RPC_RDOAnalysis::m_h_sector
private

Definition at line 80 of file RPC_RDOAnalysis.h.

◆ m_h_status

TH1* RPC_RDOAnalysis::m_h_status
private

Definition at line 75 of file RPC_RDOAnalysis.h.

◆ m_h_xPos

TH1* RPC_RDOAnalysis::m_h_xPos
private

Definition at line 97 of file RPC_RDOAnalysis.h.

◆ m_h_yPos

TH1* RPC_RDOAnalysis::m_h_yPos
private

Definition at line 98 of file RPC_RDOAnalysis.h.

◆ m_h_zPos

TH1* RPC_RDOAnalysis::m_h_zPos
private

Definition at line 99 of file RPC_RDOAnalysis.h.

◆ m_inputKey

SG::ReadHandleKey<RpcPadContainer> RPC_RDOAnalysis::m_inputKey
private

Definition at line 35 of file RPC_RDOAnalysis.h.

◆ m_inputTruthKey

SG::ReadHandleKey<MuonSimDataCollection> RPC_RDOAnalysis::m_inputTruthKey
private

Definition at line 36 of file RPC_RDOAnalysis.h.

◆ m_localZ

std::vector<float>* RPC_RDOAnalysis::m_localZ
private

Definition at line 68 of file RPC_RDOAnalysis.h.

◆ m_localZ_vec

std::vector< std::vector<float> >* RPC_RDOAnalysis::m_localZ_vec
private

Definition at line 72 of file RPC_RDOAnalysis.h.

◆ m_lvl1ID

std::vector<unsigned short int>* RPC_RDOAnalysis::m_lvl1ID
private

Definition at line 41 of file RPC_RDOAnalysis.h.

◆ m_ntupleDirName

std::string RPC_RDOAnalysis::m_ntupleDirName
private

Definition at line 107 of file RPC_RDOAnalysis.h.

◆ m_ntupleFileName

std::string RPC_RDOAnalysis::m_ntupleFileName
private

Definition at line 106 of file RPC_RDOAnalysis.h.

◆ m_ntupleTreeName

std::string RPC_RDOAnalysis::m_ntupleTreeName
private

Definition at line 108 of file RPC_RDOAnalysis.h.

◆ m_onlineID

std::vector<unsigned short int>* RPC_RDOAnalysis::m_onlineID
private

Definition at line 40 of file RPC_RDOAnalysis.h.

◆ m_path

std::string RPC_RDOAnalysis::m_path
private

Definition at line 109 of file RPC_RDOAnalysis.h.

◆ m_radius

std::vector<double>* RPC_RDOAnalysis::m_radius
private

Definition at line 67 of file RPC_RDOAnalysis.h.

◆ m_radius_vec

std::vector< std::vector<double> >* RPC_RDOAnalysis::m_radius_vec
private

Definition at line 71 of file RPC_RDOAnalysis.h.

◆ m_rpcID

std::vector<unsigned long long>* RPC_RDOAnalysis::m_rpcID
private

Definition at line 37 of file RPC_RDOAnalysis.h.

◆ m_sdoID

std::vector<unsigned long long>* RPC_RDOAnalysis::m_sdoID
private

Definition at line 59 of file RPC_RDOAnalysis.h.

◆ m_sdoWord

std::vector<int>* RPC_RDOAnalysis::m_sdoWord
private

Definition at line 60 of file RPC_RDOAnalysis.h.

◆ m_sector

std::vector<int>* RPC_RDOAnalysis::m_sector
private

Definition at line 43 of file RPC_RDOAnalysis.h.

◆ m_status

std::vector<unsigned short int>* RPC_RDOAnalysis::m_status
private

Definition at line 38 of file RPC_RDOAnalysis.h.

◆ m_thistSvc

ServiceHandle<ITHistSvc> RPC_RDOAnalysis::m_thistSvc
private

Definition at line 110 of file RPC_RDOAnalysis.h.

◆ m_tree

TTree* RPC_RDOAnalysis::m_tree
private

Definition at line 105 of file RPC_RDOAnalysis.h.

◆ m_varHandleArraysDeclared

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

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

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

Definition at line 398 of file AthCommonDataStore.h.

◆ m_xPos

std::vector<float>* RPC_RDOAnalysis::m_xPos
private

Definition at line 61 of file RPC_RDOAnalysis.h.

◆ m_yPos

std::vector<float>* RPC_RDOAnalysis::m_yPos
private

Definition at line 62 of file RPC_RDOAnalysis.h.

◆ m_zPos

std::vector<float>* RPC_RDOAnalysis::m_zPos
private

Definition at line 63 of file RPC_RDOAnalysis.h.


The documentation for this class was generated from the following files:
RPC_RDOAnalysis::m_firedChan
std::vector< unsigned short int > * m_firedChan
Definition: RPC_RDOAnalysis.h:54
RPC_RDOAnalysis::m_bcID
std::vector< unsigned short int > * m_bcID
Definition: RPC_RDOAnalysis.h:42
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
RPC_RDOAnalysis::m_zPos
std::vector< float > * m_zPos
Definition: RPC_RDOAnalysis.h:63
RPC_RDOAnalysis::m_h_coinCrc
TH1 * m_h_coinCrc
Definition: RPC_RDOAnalysis.h:84
RPC_RDOAnalysis::m_h_coinOnID
TH1 * m_h_coinOnID
Definition: RPC_RDOAnalysis.h:83
DataModel_detail::const_iterator
Const iterator class for DataVector/DataList.
Definition: DVLIterator.h:82
RPC_RDOAnalysis::m_h_firedBcID
TH1 * m_h_firedBcID
Definition: RPC_RDOAnalysis.h:88
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
RPC_RDOAnalysis::m_h_status
TH1 * m_h_status
Definition: RPC_RDOAnalysis.h:75
RPC_RDOAnalysis::m_path
std::string m_path
Definition: RPC_RDOAnalysis.h:109
RPC_RDOAnalysis::m_sector
std::vector< int > * m_sector
Definition: RPC_RDOAnalysis.h:43
RPC_RDOAnalysis::m_barcode
std::vector< int > * m_barcode
Definition: RPC_RDOAnalysis.h:65
RPC_RDOAnalysis::m_h_firedThr
TH1 * m_h_firedThr
Definition: RPC_RDOAnalysis.h:93
RPC_RDOAnalysis::m_localZ_vec
std::vector< std::vector< float > > * m_localZ_vec
Definition: RPC_RDOAnalysis.h:72
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:70
AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
RPC_RDOAnalysis::m_ntupleTreeName
std::string m_ntupleTreeName
Definition: RPC_RDOAnalysis.h:108
RPC_RDOAnalysis::m_h_barcode
TH1 * m_h_barcode
Definition: RPC_RDOAnalysis.h:100
RPC_RDOAnalysis::m_coinFel1ID
std::vector< unsigned short int > * m_coinFel1ID
Definition: RPC_RDOAnalysis.h:48
RPC_RDOAnalysis::m_h_err
TH1 * m_h_err
Definition: RPC_RDOAnalysis.h:76
RPC_RDOAnalysis::m_h_yPos
TH1 * m_h_yPos
Definition: RPC_RDOAnalysis.h:98
AthCommonDataStore< AthCommonMsg< Algorithm > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
RPC_RDOAnalysis::m_eventIndex_vec
std::vector< std::vector< int > > * m_eventIndex_vec
Definition: RPC_RDOAnalysis.h:70
AthCommonDataStore< AthCommonMsg< Algorithm > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
RPC_RDOAnalysis::m_h_coinFel1ID
TH1 * m_h_coinFel1ID
Definition: RPC_RDOAnalysis.h:85
RPC_RDOAnalysis::m_thistSvc
ServiceHandle< ITHistSvc > m_thistSvc
Definition: RPC_RDOAnalysis.h:110
RPC_RDOAnalysis::m_err
std::vector< unsigned short int > * m_err
Definition: RPC_RDOAnalysis.h:39
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
RpcCoinMatrix
Definition: RpcCoinMatrix.h:20
RPC_RDOAnalysis::m_h_radius
TH1 * m_h_radius
Definition: RPC_RDOAnalysis.h:102
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
RPC_RDOAnalysis::m_eventIndex
std::vector< int > * m_eventIndex
Definition: RPC_RDOAnalysis.h:66
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
RPC_RDOAnalysis::m_status
std::vector< unsigned short int > * m_status
Definition: RPC_RDOAnalysis.h:38
RPC_RDOAnalysis::m_h_firedOvl
TH1 * m_h_firedOvl
Definition: RPC_RDOAnalysis.h:92
RPC_RDOAnalysis::m_h_onlineID
TH1 * m_h_onlineID
Definition: RPC_RDOAnalysis.h:77
RPC_RDOAnalysis::m_ntupleDirName
std::string m_ntupleDirName
Definition: RPC_RDOAnalysis.h:107
RPC_RDOAnalysis::m_tree
TTree * m_tree
Definition: RPC_RDOAnalysis.h:105
RPC_RDOAnalysis::m_sdoWord
std::vector< int > * m_sdoWord
Definition: RPC_RDOAnalysis.h:60
AthCommonDataStore
Definition: AthCommonDataStore.h:52
AthAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthAlgorithm.cxx:66
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
RPC_RDOAnalysis::m_firedThr
std::vector< unsigned short int > * m_firedThr
Definition: RPC_RDOAnalysis.h:56
RPC_RDOAnalysis::m_h_firedChan
TH1 * m_h_firedChan
Definition: RPC_RDOAnalysis.h:91
AthCommonDataStore< AthCommonMsg< Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
RPC_RDOAnalysis::m_firedBcID
std::vector< unsigned short int > * m_firedBcID
Definition: RPC_RDOAnalysis.h:51
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
RPC_RDOAnalysis::m_yPos
std::vector< float > * m_yPos
Definition: RPC_RDOAnalysis.h:62
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
HepMC::barcode
int barcode(const T *p)
Definition: Barcode.h:16
RPC_RDOAnalysis::m_ntupleFileName
std::string m_ntupleFileName
Definition: RPC_RDOAnalysis.h:106
RPC_RDOAnalysis::m_h_firedIjk
TH1 * m_h_firedIjk
Definition: RPC_RDOAnalysis.h:90
RPC_RDOAnalysis::m_sdoID
std::vector< unsigned long long > * m_sdoID
Definition: RPC_RDOAnalysis.h:59
RPC_RDOAnalysis::m_coinCrc
std::vector< unsigned short int > * m_coinCrc
Definition: RPC_RDOAnalysis.h:47
RPC_RDOAnalysis::m_h_lvl1ID
TH1 * m_h_lvl1ID
Definition: RPC_RDOAnalysis.h:78
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
RPC_RDOAnalysis::m_h_rpcID
TH1 * m_h_rpcID
Definition: RPC_RDOAnalysis.h:74
IdentifiableContainerMT::const_iterator
Definition: IdentifiableContainerMT.h:82
AthCommonDataStore< AthCommonMsg< Algorithm > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
SG::VarHandleKey::initialize
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:103
RPC_RDOAnalysis::m_coinRpcID
std::vector< unsigned long long > * m_coinRpcID
Definition: RPC_RDOAnalysis.h:45
TH1::Fill
int Fill(double)
Definition: rootspy.cxx:285
RPC_RDOAnalysis::m_h_firedTime
TH1 * m_h_firedTime
Definition: RPC_RDOAnalysis.h:89
RPC_RDOAnalysis::m_firedTime
std::vector< unsigned short int > * m_firedTime
Definition: RPC_RDOAnalysis.h:52
RPC_RDOAnalysis::m_h_coinFebcID
TH1 * m_h_coinFebcID
Definition: RPC_RDOAnalysis.h:86
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
RPC_RDOAnalysis::m_inputKey
SG::ReadHandleKey< RpcPadContainer > m_inputKey
Definition: RPC_RDOAnalysis.h:35
python.SystemOfUnits.bar
int bar
Definition: SystemOfUnits.py:188
RPC_RDOAnalysis::m_h_sdoWord
TH1 * m_h_sdoWord
Definition: RPC_RDOAnalysis.h:96
RPC_RDOAnalysis::m_h_xPos
TH1 * m_h_xPos
Definition: RPC_RDOAnalysis.h:97
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
RPC_RDOAnalysis::m_h_localZ
TH1 * m_h_localZ
Definition: RPC_RDOAnalysis.h:103
RPC_RDOAnalysis::m_radius_vec
std::vector< std::vector< double > > * m_radius_vec
Definition: RPC_RDOAnalysis.h:71
RPC_RDOAnalysis::m_coinFebcID
std::vector< unsigned short int > * m_coinFebcID
Definition: RPC_RDOAnalysis.h:49
MuonSimData
Definition: MuonSimData.h:62
RPC_RDOAnalysis::m_firedOvl
std::vector< unsigned short int > * m_firedOvl
Definition: RPC_RDOAnalysis.h:55
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
ParticleGun_SamplingFraction.radius
radius
Definition: ParticleGun_SamplingFraction.py:96
RpcPad
Definition: RpcPad.h:21
RPC_RDOAnalysis::m_onlineID
std::vector< unsigned short int > * m_onlineID
Definition: RPC_RDOAnalysis.h:40
AthAlgorithm::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Definition: AthAlgorithm.h:79
RPC_RDOAnalysis::m_h_coinRpcID
TH1 * m_h_coinRpcID
Definition: RPC_RDOAnalysis.h:82
a
TList * a
Definition: liststreamerinfos.cxx:10
h
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:616
declareProperty
#define declareProperty(n, p, h)
Definition: BaseFakeBkgTool.cxx:15
RPC_RDOAnalysis::m_firedIjk
std::vector< unsigned short int > * m_firedIjk
Definition: RPC_RDOAnalysis.h:53
LVL1::gFEXPos
Definition: gFexPos.h:11
RPC_RDOAnalysis::m_h_sdoID
TH1 * m_h_sdoID
Definition: RPC_RDOAnalysis.h:95
AthAlgorithm::AthAlgorithm
AthAlgorithm()
Default constructor:
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:790
RPC_RDOAnalysis::m_rpcID
std::vector< unsigned long long > * m_rpcID
Definition: RPC_RDOAnalysis.h:37
python.TrigEgammaMonitorHelper.TH1F
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
Definition: TrigEgammaMonitorHelper.py:24
RPC_RDOAnalysis::m_h_sector
TH1 * m_h_sector
Definition: RPC_RDOAnalysis.h:80
RPC_RDOAnalysis::m_barcode_vec
std::vector< std::vector< int > > * m_barcode_vec
Definition: RPC_RDOAnalysis.h:69
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
RPC_RDOAnalysis::m_h_eventIndex
TH1 * m_h_eventIndex
Definition: RPC_RDOAnalysis.h:101
RPC_RDOAnalysis::m_lvl1ID
std::vector< unsigned short int > * m_lvl1ID
Definition: RPC_RDOAnalysis.h:41
RPC_RDOAnalysis::m_coinOnID
std::vector< unsigned short int > * m_coinOnID
Definition: RPC_RDOAnalysis.h:46
RPC_RDOAnalysis::m_h_zPos
TH1 * m_h_zPos
Definition: RPC_RDOAnalysis.h:99
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
RPC_RDOAnalysis::m_h_bcID
TH1 * m_h_bcID
Definition: RPC_RDOAnalysis.h:79
RPC_RDOAnalysis::m_inputTruthKey
SG::ReadHandleKey< MuonSimDataCollection > m_inputTruthKey
Definition: RPC_RDOAnalysis.h:36
RPC_RDOAnalysis::m_localZ
std::vector< float > * m_localZ
Definition: RPC_RDOAnalysis.h:68
RPC_RDOAnalysis::m_radius
std::vector< double > * m_radius
Definition: RPC_RDOAnalysis.h:67
MuonMCData
Definition: MuonSimData.h:42
fitman.k
k
Definition: fitman.py:528
ServiceHandle< ICondSvc >
RPC_RDOAnalysis::m_xPos
std::vector< float > * m_xPos
Definition: RPC_RDOAnalysis.h:61