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

#include <CBNTAA_BeamInstrumentation.h>

Inheritance diagram for CBNTAA_BeamInstrumentation:
Collaboration diagram for CBNTAA_BeamInstrumentation:

Public Member Functions

 CBNTAA_BeamInstrumentation (const std::string &name, ISvcLocator *pSvcLocator)
 
virtual ~CBNTAA_BeamInstrumentation ()
 
virtual StatusCode CBNT_initialize () override
 
virtual StatusCode CBNT_execute () override
 
virtual StatusCode CBNT_finalize () override
 
virtual StatusCode initialize () override
 
virtual StatusCode execute () override
 
virtual StatusCode finalize () override
 
virtual StatusCode pre_execute ()
 
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 Types

enum  { NOT_VALID = -999 }
 

Protected Member Functions

template<class T >
void addBranch (const std::string &branchname, T &obj, const std::string &leaflist)
 
template<class T >
void addBranch (const std::string &branchname, T *&obj)
 
template<class T >
void addBranch (const std::string &branchname, T *&obj, int bufferSize, int splitLevel)
 
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...
 

Protected Attributes

std::string m_ntpath
 
std::string m_ntTitle
 
TTree * m_nt
 
MsgStream * m_log
 
const LArEM_IDm_emId
 
const LArHEC_IDm_hecId
 
const LArFCAL_IDm_fcalId
 
const LArOnlineIDm_onlineId
 

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

std::string add_name (const char *base, const std::string &extension)
 
virtual StatusCode CBNT_clear () override
 
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

bool m_neverReturnFailure
 
std::string m_containerKey1
 
std::string m_containerKey2
 
std::string m_containerKey3
 
std::string m_containerKey4
 
std::string m_containerKey5
 
std::vector< std::string > m_scint_names
 
std::vector< std::string > m_bpc_names
 
std::vector< std::string > * m_scint_ntnames
 
std::vector< std::string > * m_bpc_ntnames
 
std::vector< float > * m_scint_adc
 
std::vector< float > * m_scint_tdc
 
std::vector< float > * m_bpc_x
 
std::vector< float > * m_bpc_y
 
long m_trig
 
float m_clock
 
bool m_bpc_raw
 
std::vector< float > * m_bpc_up
 
std::vector< float > * m_bpc_down
 
std::vector< float > * m_bpc_left
 
std::vector< float > * m_bpc_right
 
std::vector< float > * m_bpc_adc_hor
 
std::vector< float > * m_bpc_adc_ver
 
bool m_trig_array
 
std::vector< unsigned int > m_triggflag
 
long m_trig_id
 
std::vector< long > * m_trig_sel
 
bool m_initialized
 
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 14 of file CBNTAA_BeamInstrumentation.h.

Member Typedef Documentation

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protectedinherited
Enumerator
NOT_VALID 

Definition at line 56 of file CBNT_TBRecBase.h.

56 {NOT_VALID = -999};

Constructor & Destructor Documentation

◆ CBNTAA_BeamInstrumentation()

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

Definition at line 14 of file CBNTAA_BeamInstrumentation.cxx.

14  : CBNT_TBRecBase(name, pSvcLocator)
15 {
16  declareProperty("ContainerKey1",m_containerKey1="ScintillatorCont");
17  declareProperty("ContainerKey2",m_containerKey2="BPCCont");
18  declareProperty("ContainerKey3",m_containerKey3="BPCRawCont");
19  declareProperty("ContainerKey4",m_containerKey4="TBPhase");
20  declareProperty("ContainerKey5",m_containerKey5="TBTrigPat");
21  declareProperty("BPCRAW", m_bpc_raw=false);
22  declareProperty("BPCnames",m_bpc_names);
23  declareProperty("Scintnames",m_scint_names);
24  declareProperty("TrigArray",m_trig_array=false);
25  declareProperty("TrigPattern",m_triggflag);
26  declareProperty("NeverReturnFailure", m_neverReturnFailure=false);
27  m_scint_adc=NULL;
28  m_scint_tdc=NULL;
29  m_bpc_x=NULL;
30  m_bpc_y=NULL;
31  m_bpc_up=NULL;
32  m_bpc_down=NULL;
33  m_bpc_left=NULL;
34  m_bpc_right=NULL;
35  m_bpc_adc_hor=NULL;
36  m_bpc_adc_ver=NULL;
37  m_trig_sel=NULL;
38  m_bpc_ntnames=NULL;
39  m_scint_ntnames=NULL;
40  m_clock = 0;
41  m_trig = 0;
42  m_trig_id = 0;
43 }

◆ ~CBNTAA_BeamInstrumentation()

CBNTAA_BeamInstrumentation::~CBNTAA_BeamInstrumentation ( )
virtual

Definition at line 45 of file CBNTAA_BeamInstrumentation.cxx.

46 {//Clean up arrays of ntuple entries (if they have been booked)
47  if (m_scint_adc)
48  delete m_scint_adc;
49  if (m_scint_tdc)
50  delete m_scint_tdc;
51  if ( m_bpc_x)
52  delete m_bpc_x;
53  if ( m_bpc_y)
54  delete m_bpc_y;
55  if (m_bpc_up)
56  delete m_bpc_up;
57  if (m_bpc_down)
58  delete m_bpc_down;
59  if (m_bpc_right)
60  delete m_bpc_right;
61  if (m_bpc_left)
62  delete m_bpc_left;
63  if (m_bpc_adc_ver)
64  delete m_bpc_adc_ver;
65  if (m_bpc_adc_hor)
66  delete m_bpc_adc_hor;
67  if (m_trig_sel)
68  delete m_trig_sel;
69 }

Member Function Documentation

◆ add_name()

std::string CBNTAA_BeamInstrumentation::add_name ( const char *  base,
const std::string &  extension 
)
private

Definition at line 314 of file CBNTAA_BeamInstrumentation.cxx.

314  {
315  std::string retval(base);
316  for (unsigned i=0;i<extension.size();i++) {
317  const char& ch=extension[i];
318  if (ch=='=' || ch==':' || ch=='/')
319  continue; //Inore these characters
320  else if (ch=='-')
321  retval.append("m");//replace by letter m
322  else if (ch=='+')
323  retval.append("p");//replace by letter p
324  else
325  retval.append(1,ch);
326  }
327  return retval;
328 }

◆ addBranch() [1/3]

template<class T >
void CBNT_TBRecBase::addBranch ( const std::string &  branchname,
T &  obj,
const std::string &  leaflist 
)
inlineprotectedinherited

Definition at line 44 of file CBNT_TBRecBase.h.

44  {
45  m_nt->Branch(branchname.c_str(), &obj, leaflist.c_str());
46  }

◆ addBranch() [2/3]

template<class T >
void CBNT_TBRecBase::addBranch ( const std::string &  branchname,
T *&  obj 
)
inlineprotectedinherited

Definition at line 47 of file CBNT_TBRecBase.h.

47  {
48  obj = new T();
49  m_nt->Branch(branchname.c_str(), &obj);
50  }

◆ addBranch() [3/3]

template<class T >
void CBNT_TBRecBase::addBranch ( const std::string &  branchname,
T *&  obj,
int  bufferSize,
int  splitLevel 
)
inlineprotectedinherited

Definition at line 51 of file CBNT_TBRecBase.h.

51  {
52  obj = new T();
53  m_nt->Branch(branchname.c_str(), &obj, bufferSize, splitLevel);
54  }

◆ CBNT_clear()

StatusCode CBNTAA_BeamInstrumentation::CBNT_clear ( )
overrideprivatevirtual

Reimplemented from CBNT_TBRecBase.

Definition at line 280 of file CBNTAA_BeamInstrumentation.cxx.

281 {
282  if (m_scint_adc)
283  m_scint_adc->clear();
284  if (m_scint_tdc)
285  m_scint_tdc->clear();
286  if ( m_bpc_x)
287  m_bpc_x->clear();
288  if ( m_bpc_y)
289  m_bpc_y->clear();
290  if (m_bpc_up)
291  m_bpc_up->clear();
292  if (m_bpc_down)
293  m_bpc_down->clear();
294  if (m_bpc_right)
295  m_bpc_right->clear();
296  if (m_bpc_left)
297  m_bpc_left->clear();
298  if (m_bpc_adc_ver)
299  m_bpc_adc_ver->clear();
300  if (m_bpc_adc_hor)
301  m_bpc_adc_hor->clear();
302  if (m_trig_sel)
303  m_trig_sel->clear();
304 
305  return StatusCode::SUCCESS;
306 }

◆ CBNT_execute()

StatusCode CBNTAA_BeamInstrumentation::CBNT_execute ( )
overridevirtual

Reimplemented from CBNT_TBRecBase.

Definition at line 122 of file CBNTAA_BeamInstrumentation.cxx.

123 {
124  const TBScintillatorCont * scintc = nullptr;
125  StatusCode sc = evtStore()->retrieve(scintc,m_containerKey1);
126  if (sc.isFailure())
127  {
128  ATH_MSG_ERROR ( " Cannot read TBScintillatorCont from StoreGate! key= " << m_containerKey1 );
129  if (m_neverReturnFailure) {
130  return StatusCode::SUCCESS;
131  } else {
132  return StatusCode::FAILURE;
133  }
134  }
135  else
136  {
137  const unsigned nScint=m_scint_names.size();
138  ATH_MSG_DEBUG ( "Filling for "<<nScint<<" scintilators");
139 // m_scint_adc->reserve(nScint);
140 // m_scint_tdc->reserve(nScint);
141  m_scint_adc->resize(nScint);
142  m_scint_tdc->resize(nScint);
143  for (const TBScintillator * scint : *scintc) {
144  const std::string name = scint->getDetectorName();
145  //In the initialize method we build the vectors of ntuple-items for ADCs and BPCs that
146  //the same scintillators have the same index. We search the name-vector and use the index
147  //for m_scint_adc and m_scint_tdc
148  unsigned NtupleVectorIndex;
149  for ( NtupleVectorIndex=0; NtupleVectorIndex!=nScint; NtupleVectorIndex++)
150  if (name==m_scint_names[NtupleVectorIndex]) {
151  // log << MSG::DEBUG << "Scintillator '" << name << "' not found." << endmsg;
152  break;
153  }
154  if (NtupleVectorIndex==nScint) {
155  ATH_MSG_DEBUG ( "Not found a scint name: "<<name);
156  continue; //Name not found for this event
157  }
158  //Otherwise: Fill nutple
159  (*m_scint_adc)[NtupleVectorIndex] = scint->getSignal();
160  (*m_scint_tdc)[NtupleVectorIndex] = scint->getTimeSignal();
161  } //end loop over scintillator-container
162  }
163 
164  const TBBPCCont * bpcc = nullptr;
165  sc = evtStore()->retrieve(bpcc,m_containerKey2);
166  if (sc.isFailure())
167  {
168  ATH_MSG_ERROR ( " Cannot read TBBPCCont from StoreGate! key= " << m_containerKey2 );
169  if (m_neverReturnFailure) {
170  return StatusCode::SUCCESS;
171  } else {
172  return StatusCode::FAILURE;
173  }
174  }
175  else
176  {
177  const unsigned nBPCs=m_bpc_names.size();
178  m_bpc_x->reserve(nBPCs);
179  m_bpc_y->reserve(nBPCs);
180  for (const TBBPC * bpc : *bpcc) {
181  std::string name = bpc->getDetectorName();
182  unsigned NtupleVectorIndex;
183  for ( NtupleVectorIndex=0; NtupleVectorIndex!=nBPCs; NtupleVectorIndex++)
184  if (name==m_bpc_names[NtupleVectorIndex])
185  break;
186  if (NtupleVectorIndex==nBPCs)
187  continue; //Name not found for this event
188  //Otherwise: Fill nutple
189  (*m_bpc_x)[NtupleVectorIndex] = bpc->getXPos();
190  (*m_bpc_y)[NtupleVectorIndex] = bpc->getYPos();
191  } //end loop over scintillator container
192  }
193 
194  if (m_bpc_raw==true) { //bpc raw
195  TBBPCRawCont * bpccr = nullptr;
196  sc = evtStore()->retrieve(bpccr, m_containerKey3);
197  if (sc.isFailure()){
198  ATH_MSG_ERROR ( " Cannot read TBBPCRawCont from StoreGate! key= " <<m_containerKey3);
199  } else {
200  const unsigned nBPCs=m_bpc_names.size();
201  m_bpc_up->reserve(nBPCs);
202  m_bpc_down->reserve(nBPCs);
203  m_bpc_right->reserve(nBPCs);
204  m_bpc_left->reserve(nBPCs);
205  m_bpc_adc_hor->reserve(nBPCs);
206  m_bpc_adc_ver->reserve(nBPCs);
207  for (const TBBPCRaw * bpcr : *bpccr) {
208  std::string name = bpcr->getDetectorName();
209  unsigned NtupleVectorIndex;
210  for ( NtupleVectorIndex=0; NtupleVectorIndex!=nBPCs; NtupleVectorIndex++){
211  ATH_MSG_DEBUG (" loading 1");
212  if (name==m_bpc_names[NtupleVectorIndex]){
213  ATH_MSG_DEBUG (" Ntuple Vector"<<NtupleVectorIndex);
214  (*m_bpc_up)[NtupleVectorIndex] = bpcr->getTDCUp();
215  (*m_bpc_down)[NtupleVectorIndex] = bpcr->getTDCDown();
216  (*m_bpc_right)[NtupleVectorIndex] = bpcr->getTDCRight();
217  (*m_bpc_left)[NtupleVectorIndex] = bpcr->getTDCLeft();
218  (*m_bpc_adc_hor)[NtupleVectorIndex] = bpcr->getADCHorizontal();
219  (*m_bpc_adc_ver)[NtupleVectorIndex] = bpcr->getADCVertical();
220  }
221  }
222  }
223  }
224  } //bpcraw
225 
226  const TBPhase * phase = nullptr;
227  sc = evtStore()->retrieve(phase,m_containerKey4);
228  if (sc.isFailure())
229  {
230  ATH_MSG_ERROR ( " Cannot read TBPhase from StoreGate! key= " << m_containerKey4 );
231  if (m_neverReturnFailure) {
232  return StatusCode::SUCCESS;
233  } else {
234  return StatusCode::FAILURE;
235  }
236  }
237  else
238  {
239  m_clock = phase->getPhase();
240  }
241 
242  const TBTriggerPatternUnit * trig = nullptr;
243  sc = evtStore()->retrieve(trig,m_containerKey5);
244  if (sc.isFailure())
245  {
246  ATH_MSG_ERROR ( " Cannot read TBTriggerPatternUnit from StoreGate! key= " << m_containerKey5 );
247  if (m_neverReturnFailure) {
248  return StatusCode::SUCCESS;
249  } else {
250  return StatusCode::FAILURE;
251  }
252  }
253  else
254  {
255  m_trig = trig->getTriggerWord();
256  }
257 
258 
259  //Trigger Array, returns array of triggers with corresponding 0 or 1 for each event
260 
261  if (m_trig_array==true) {
262  unsigned int word =trig->getTriggerWord();
263 
264  // Checking if objects in triggflag triggered
265  ATH_MSG_DEBUG(m_triggflag.size());
266  m_trig_sel->reserve(m_triggflag.size()+1);
267  for(int unsigned i=0;i<m_triggflag.size()+1;i++){
268  bool triggbol=0;
269  m_trig_id=i;
270  triggbol=((word & m_triggflag[i])!=0);
271  if(triggbol){
272  (*m_trig_sel)[i]=1;
273  }
274  }
275  }
276 
277  return StatusCode::SUCCESS;
278 }

◆ CBNT_finalize()

StatusCode CBNTAA_BeamInstrumentation::CBNT_finalize ( )
overridevirtual

Reimplemented from CBNT_TBRecBase.

Definition at line 308 of file CBNTAA_BeamInstrumentation.cxx.

309 {
310  ATH_MSG_DEBUG ( "in finalize()" );
311  return StatusCode::SUCCESS;
312 }

◆ CBNT_initialize()

StatusCode CBNTAA_BeamInstrumentation::CBNT_initialize ( )
overridevirtual

Reimplemented from CBNT_TBRecBase.

Definition at line 71 of file CBNTAA_BeamInstrumentation.cxx.

72 {
73  ATH_MSG_DEBUG ( "in initialize()" );
74 
75  const unsigned nScint=m_scint_names.size();
76  addBranch("Beam_sNames",m_scint_ntnames);
77  for (unsigned i=0;i<nScint;i++) {
78  const std::string ADCItemName=add_name("scint_",m_scint_names[i]);
79  m_scint_ntnames->push_back(ADCItemName);
80  }
81  addBranch("Beam_sADC",m_scint_adc);
82  addBranch("Beam_sTDC",m_scint_tdc);
83 
84  const unsigned nBPCs=m_bpc_names.size();
85  addBranch("Beam_bNames",m_bpc_ntnames);
86  for (unsigned i=0;i<nBPCs;i++) {
87  const std::string BPCName=add_name("bpc_",m_bpc_names[i]);
88  m_bpc_ntnames->push_back(BPCName);
89  }
90  addBranch("Beam_bpcX",m_bpc_x);
91  addBranch("Beam_bpcY",m_bpc_y);
92 
93  // BPC RAW, set to false by default
94  if(m_bpc_raw==true) {// bpc raw
95 
96  addBranch("Beam_bpcUp",m_bpc_up);
97  addBranch("Beam_bpcDown",m_bpc_down);
98  addBranch("Beam_bpcRight",m_bpc_right);
99  addBranch("Beam_bpcLeft",m_bpc_left);
100  addBranch("Beam_bpcADCHor",m_bpc_adc_hor);
101  addBranch("Beam_bpcADCVer",m_bpc_adc_ver);
102 
103  } //bpcraw
104 
105  addBranch("Beam_Trigger",m_trig,"Trigger/l");
106  // trigger array
107  ATH_MSG_DEBUG (" m_trig_array"<<m_trig_array);
108  if (m_trig_array==true) {
109 
110  ATH_MSG_DEBUG (" loading array ntuple");
111  addBranch("Beam_NTrig",m_trig_id,"/l");
112 
113  addBranch("Beam_Trig_Array",m_trig_sel);
114  }
115 
116  addBranch ("Beam_Clock",m_clock,"Clock/f");
117 
118  return StatusCode::SUCCESS;
119 
120 }

◆ 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 CBNT_TBRecBase::execute ( )
overridevirtualinherited

Definition at line 157 of file CBNT_TBRecBase.cxx.

157  {
158 
159  StatusCode sc;
160 
161  // run pre-execution
162  try {
163  sc = this->pre_execute();
164  }
165 
166  catch( const std::exception& Exception ) {
167  *m_log << MSG::ERROR << " Standard exception "
168  << Exception.what()
169  << " caught from sub-algorithm::CBNT_pre_execute (). Disable !" << endmsg ;
170  sc = this->setProperty(BooleanProperty( "Enable",false ) );
171  return StatusCode::FAILURE;
172 
173  }
174  catch (...) {
175  *m_log << MSG::ERROR << " Unknown exception "
176  << " caught from sub-algorithm::CBNT_pre_execute (). Disable !" << endmsg ;
177  sc = this->setProperty(BooleanProperty( "Enable",false ) );
178  return StatusCode::FAILURE;
179  }
180 
181  if (sc.isFailure()) {
182  *m_log << MSG::ERROR << "CBNT_pre_execute() failed. Disable !" << endmsg;
183  sc = this->setProperty(BooleanProperty( "Enable",false ) );
184  return sc;
185  }
186 
187  // now subalgorithm execution
188  try {
189  sc = this->CBNT_execute();
190  }
191 
192  catch( const std::exception& Exception ) {
193  *m_log << MSG::ERROR << " Standard exception "
194  << Exception.what()
195  << " caught from sub-algorithm::CBNT_execute () :" << endmsg ;
196  return StatusCode::FAILURE;
197  }
198  catch (...) {
199  *m_log << MSG::ERROR << " Unknown exception "
200  << " caught from sub-algorithm::CBNT_execute () :" << endmsg ;
201  return StatusCode::FAILURE;
202  }
203 
204  return sc;
205 }

◆ 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 CBNT_TBRecBase::finalize ( )
overridevirtualinherited

Definition at line 208 of file CBNT_TBRecBase.cxx.

208  {
209 
210  StatusCode sc;
211 
212  //now subalgorithm finalisation
213  try {
214  sc = this->CBNT_finalize();
215  }
216  catch( const std::exception& Exception ) {
217  *m_log << MSG::ERROR << " Standard exception "
218  << Exception.what()
219  << " caught from sub-algorithm::CBNT_finalize () :" << endmsg ;
220  }
221  catch (...) {
222  *m_log << MSG::ERROR << " Unknown exception "
223  << " caught from sub-algorithm::CBNT_finalize () :" << endmsg ;
224  }
225 
226  return sc;
227 }

◆ initialize()

StatusCode CBNT_TBRecBase::initialize ( )
overridevirtualinherited

Definition at line 22 of file CBNT_TBRecBase.cxx.

22  {
23  m_log=new MsgStream(msgSvc(), name());
24 
25  *m_log << MSG::DEBUG << "Initializing CBNT_TBRecBase base class" << endmsg;
26 
27  const CaloCell_ID* idHelper = nullptr;
28  ATH_CHECK( detStore()->retrieve (idHelper, "CaloCell_ID") );
29  m_emId=idHelper->em_idHelper();
30  m_fcalId=idHelper->fcal_idHelper();
31  m_hecId=idHelper->hec_idHelper();
32 
33 
34  if (!m_emId) {
35  (*m_log) << MSG::ERROR << "Could not access lar EM ID helper" << endmsg;
36  return StatusCode::FAILURE;
37  }
38  if (!m_fcalId) {
39  (*m_log) << MSG::ERROR << "Could not access lar FCAL ID helper" << endmsg;
40  return StatusCode::FAILURE;
41  }
42  if (!m_hecId) {
43  (*m_log) << MSG::ERROR << "Could not access lar HEC ID helper" << endmsg;
44  return StatusCode::FAILURE;
45  }
46 
47  StatusCode sc = detStore()->retrieve(m_onlineId, "LArOnlineID");
48  if (sc.isFailure()) {
49  (*m_log) << MSG::ERROR << "Could not get LArOnlineID helper !" << endmsg;
50  return StatusCode::FAILURE;
51  }
52  else {
53  (*m_log) << MSG::DEBUG << " Found the LArOnlineID helper. " << endmsg;
54  }
55 
56 
57  m_initialized=true;
58  return StatusCode::SUCCESS;
59 }

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

◆ pre_execute()

StatusCode CBNT_TBRecBase::pre_execute ( )
virtualinherited

Definition at line 61 of file CBNT_TBRecBase.cxx.

61  {
62 
63  StatusCode sc;
64 
65  if(!m_initialized) {
66 
67  if (m_ntpath.size()==0 || m_ntTitle.size()==0) {
68  *m_log << MSG::ERROR << "Need to set variable 'm_ntpath' and 'm_ntTitle' in constructor of deriving class!" << endmsg;
69  return StatusCode::FAILURE;
70  }
71 
72  size_t i=m_ntpath.rfind('/');
73  if (i==std::string::npos) {
74  *m_log << MSG::ERROR << "Expected at least on '/' in path " << m_ntpath << endmsg;
75  return StatusCode::FAILURE;
76  }
77  std::string basepath(m_ntpath.begin(),m_ntpath.begin()+i);
78  //std::cout << "Basepath" << basepath << std::endl;
79 
80  // retrive pointer to THistSvc
81  ITHistSvc * tHistSvc = 0;
82  sc = Gaudi::svcLocator()->service("THistSvc", tHistSvc);
83  if (sc.isFailure()) {
84  *m_log << MSG::ERROR << "Unable to retrieve pointer to THistSvc" << endmsg;
85  return sc;
86  }
87  // get TTree
88  sc = tHistSvc->getTree(m_ntpath,m_nt);
89  if (sc.isFailure()) {
90  *m_log << MSG::ERROR << "Unable to retrieve TTree : " << m_ntpath << endmsg;
91  return sc;
92  }
93  /*
94  NTupleFilePtr file1(ntupleSvc(),basepath);
95  if (!file1){
96  (*m_log) << MSG::ERROR << "Could not get NTupleFilePtr with path " << basepath << " failed" << endmsg;
97  return StatusCode::FAILURE;
98  }
99  NTuplePtr nt(ntupleSvc(),m_ntpath);
100  if (!nt) {
101  nt=ntupleSvc()->book(m_ntpath,CLID_ColumnWiseTuple,m_ntTitle);
102  }
103  if (!nt){
104  (*m_log) << MSG::ERROR << "Booking of NTuple at "<< m_ntpath << " and name " << m_ntTitle << " failed" << endmsg;
105  return StatusCode::FAILURE;
106  }
107  m_nt=nt;
108  */
109  //std::cout << "Ntuple ptr:" << m_nt << std::endl;
110 
111  // subalgorithm initialisation
112  try {
113  sc = this->CBNT_initialize();
114  }
115  catch( const std::exception& Exception ) {
116  *m_log << MSG::ERROR << " Standard exception "
117  << Exception.what()
118  << " caught from sub-algorithm::CBNT_initialize () :" << endmsg ;
119  }
120  catch (...) {
121  *m_log << MSG::ERROR << " Unknown exception "
122  << " caught from sub-algorithm::CBNT_initialize () :" << endmsg ;
123  }
124 
125  if (sc.isFailure())
126  {
127  *m_log << MSG::ERROR << "CBNT_initialize() failed" << endmsg;
128  return sc;
129  }
130 
131  m_initialized=true;
132  }
133 
134  // clear data members
135  try {
136  sc = this->CBNT_clear();
137  }
138  catch( const std::exception& Exception ) {
139  *m_log << MSG::ERROR << " Standard exception "
140  << Exception.what()
141  << " caught from sub-algorithm::CBNT_clear () :" << endmsg ;
142  }
143  catch (...) {
144  *m_log << MSG::ERROR << " Unknown exception "
145  << " caught from sub-algorithm::CBNT_clear () :" << endmsg ;
146  }
147 
148  if (sc.isFailure()) {
149  *m_log << MSG::ERROR << "CBNT_clear() failed" << endmsg;
150  return sc;
151  }
152 
153  return StatusCode::SUCCESS ;
154 }

◆ 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_bpc_adc_hor

std::vector<float> * CBNTAA_BeamInstrumentation::m_bpc_adc_hor
private

Definition at line 45 of file CBNTAA_BeamInstrumentation.h.

◆ m_bpc_adc_ver

std::vector<float> * CBNTAA_BeamInstrumentation::m_bpc_adc_ver
private

Definition at line 45 of file CBNTAA_BeamInstrumentation.h.

◆ m_bpc_down

std::vector<float> * CBNTAA_BeamInstrumentation::m_bpc_down
private

Definition at line 45 of file CBNTAA_BeamInstrumentation.h.

◆ m_bpc_left

std::vector<float> * CBNTAA_BeamInstrumentation::m_bpc_left
private

Definition at line 45 of file CBNTAA_BeamInstrumentation.h.

◆ m_bpc_names

std::vector<std::string> CBNTAA_BeamInstrumentation::m_bpc_names
private

Definition at line 36 of file CBNTAA_BeamInstrumentation.h.

◆ m_bpc_ntnames

std::vector<std::string> * CBNTAA_BeamInstrumentation::m_bpc_ntnames
private

Definition at line 38 of file CBNTAA_BeamInstrumentation.h.

◆ m_bpc_raw

bool CBNTAA_BeamInstrumentation::m_bpc_raw
private

Definition at line 44 of file CBNTAA_BeamInstrumentation.h.

◆ m_bpc_right

std::vector<float> * CBNTAA_BeamInstrumentation::m_bpc_right
private

Definition at line 45 of file CBNTAA_BeamInstrumentation.h.

◆ m_bpc_up

std::vector<float>* CBNTAA_BeamInstrumentation::m_bpc_up
private

Definition at line 45 of file CBNTAA_BeamInstrumentation.h.

◆ m_bpc_x

std::vector<float> * CBNTAA_BeamInstrumentation::m_bpc_x
private

Definition at line 39 of file CBNTAA_BeamInstrumentation.h.

◆ m_bpc_y

std::vector<float> * CBNTAA_BeamInstrumentation::m_bpc_y
private

Definition at line 39 of file CBNTAA_BeamInstrumentation.h.

◆ m_clock

float CBNTAA_BeamInstrumentation::m_clock
private

Definition at line 41 of file CBNTAA_BeamInstrumentation.h.

◆ m_containerKey1

std::string CBNTAA_BeamInstrumentation::m_containerKey1
private

Definition at line 30 of file CBNTAA_BeamInstrumentation.h.

◆ m_containerKey2

std::string CBNTAA_BeamInstrumentation::m_containerKey2
private

Definition at line 31 of file CBNTAA_BeamInstrumentation.h.

◆ m_containerKey3

std::string CBNTAA_BeamInstrumentation::m_containerKey3
private

Definition at line 32 of file CBNTAA_BeamInstrumentation.h.

◆ m_containerKey4

std::string CBNTAA_BeamInstrumentation::m_containerKey4
private

Definition at line 33 of file CBNTAA_BeamInstrumentation.h.

◆ m_containerKey5

std::string CBNTAA_BeamInstrumentation::m_containerKey5
private

Definition at line 34 of file CBNTAA_BeamInstrumentation.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_emId

const LArEM_ID* CBNT_TBRecBase::m_emId
protectedinherited

Definition at line 65 of file CBNT_TBRecBase.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_fcalId

const LArFCAL_ID* CBNT_TBRecBase::m_fcalId
protectedinherited

Definition at line 67 of file CBNT_TBRecBase.h.

◆ m_hecId

const LArHEC_ID* CBNT_TBRecBase::m_hecId
protectedinherited

Definition at line 66 of file CBNT_TBRecBase.h.

◆ m_initialized

bool CBNT_TBRecBase::m_initialized
privateinherited

Definition at line 40 of file CBNT_TBRecBase.h.

◆ m_log

MsgStream* CBNT_TBRecBase::m_log
protectedinherited

Definition at line 63 of file CBNT_TBRecBase.h.

◆ m_neverReturnFailure

bool CBNTAA_BeamInstrumentation::m_neverReturnFailure
private

Definition at line 28 of file CBNTAA_BeamInstrumentation.h.

◆ m_nt

TTree* CBNT_TBRecBase::m_nt
protectedinherited

Definition at line 61 of file CBNT_TBRecBase.h.

◆ m_ntpath

std::string CBNT_TBRecBase::m_ntpath
protectedinherited

Definition at line 58 of file CBNT_TBRecBase.h.

◆ m_ntTitle

std::string CBNT_TBRecBase::m_ntTitle
protectedinherited

Definition at line 58 of file CBNT_TBRecBase.h.

◆ m_onlineId

const LArOnlineID* CBNT_TBRecBase::m_onlineId
protectedinherited

Definition at line 68 of file CBNT_TBRecBase.h.

◆ m_scint_adc

std::vector<float>* CBNTAA_BeamInstrumentation::m_scint_adc
private

Definition at line 39 of file CBNTAA_BeamInstrumentation.h.

◆ m_scint_names

std::vector<std::string> CBNTAA_BeamInstrumentation::m_scint_names
private

Definition at line 35 of file CBNTAA_BeamInstrumentation.h.

◆ m_scint_ntnames

std::vector<std::string>* CBNTAA_BeamInstrumentation::m_scint_ntnames
private

Definition at line 38 of file CBNTAA_BeamInstrumentation.h.

◆ m_scint_tdc

std::vector<float> * CBNTAA_BeamInstrumentation::m_scint_tdc
private

Definition at line 39 of file CBNTAA_BeamInstrumentation.h.

◆ m_trig

long CBNTAA_BeamInstrumentation::m_trig
private

Definition at line 40 of file CBNTAA_BeamInstrumentation.h.

◆ m_trig_array

bool CBNTAA_BeamInstrumentation::m_trig_array
private

Definition at line 48 of file CBNTAA_BeamInstrumentation.h.

◆ m_trig_id

long CBNTAA_BeamInstrumentation::m_trig_id
private

Definition at line 51 of file CBNTAA_BeamInstrumentation.h.

◆ m_trig_sel

std::vector<long>* CBNTAA_BeamInstrumentation::m_trig_sel
private

Definition at line 52 of file CBNTAA_BeamInstrumentation.h.

◆ m_triggflag

std::vector<unsigned int> CBNTAA_BeamInstrumentation::m_triggflag
private

Definition at line 49 of file CBNTAA_BeamInstrumentation.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.


The documentation for this class was generated from the following files:
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
base
std::string base
Definition: hcg.cxx:78
ReadOfcFromCool.phase
phase
Definition: ReadOfcFromCool.py:127
sendEI_SPB.ch
ch
Definition: sendEI_SPB.py:35
CBNT_TBRecBase::CBNT_finalize
virtual StatusCode CBNT_finalize()
Definition: CBNT_TBRecBase.h:36
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
CBNT_TBRecBase::m_nt
TTree * m_nt
Definition: CBNT_TBRecBase.h:61
CBNTAA_BeamInstrumentation::m_bpc_down
std::vector< float > * m_bpc_down
Definition: CBNTAA_BeamInstrumentation.h:45
TBBPCRaw
raw data class for BPC measurement
Definition: TBBPCRaw.h:33
CBNT_TBRecBase::m_initialized
bool m_initialized
Definition: CBNT_TBRecBase.h:40
CBNTAA_BeamInstrumentation::m_bpc_ntnames
std::vector< std::string > * m_bpc_ntnames
Definition: CBNTAA_BeamInstrumentation.h:38
CaloCell_ID::em_idHelper
const LArEM_ID * em_idHelper() const
access to EM idHelper
Definition: CaloCell_ID.h:63
CBNTAA_BeamInstrumentation::m_bpc_x
std::vector< float > * m_bpc_x
Definition: CBNTAA_BeamInstrumentation.h:39
AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
CBNT_TBRecBase::m_onlineId
const LArOnlineID * m_onlineId
Definition: CBNT_TBRecBase.h:68
TBBPC
Definition: TBBPC.h:23
CBNTAA_BeamInstrumentation::m_bpc_up
std::vector< float > * m_bpc_up
Definition: CBNTAA_BeamInstrumentation.h:45
CBNTAA_BeamInstrumentation::m_trig
long m_trig
Definition: CBNTAA_BeamInstrumentation.h:40
CBNT_TBRecBase::CBNT_clear
virtual StatusCode CBNT_clear()
Definition: CBNT_TBRecBase.h:37
CBNT_TBRecBase::CBNT_initialize
virtual StatusCode CBNT_initialize()
Definition: CBNT_TBRecBase.h:34
CBNTAA_BeamInstrumentation::m_triggflag
std::vector< unsigned int > m_triggflag
Definition: CBNTAA_BeamInstrumentation.h:49
CBNT_TBRecBase::CBNT_execute
virtual StatusCode CBNT_execute()
Definition: CBNT_TBRecBase.h:35
CBNTAA_BeamInstrumentation::m_trig_id
long m_trig_id
Definition: CBNTAA_BeamInstrumentation.h:51
CBNTAA_BeamInstrumentation::add_name
std::string add_name(const char *base, const std::string &extension)
Definition: CBNTAA_BeamInstrumentation.cxx:314
AthCommonDataStore< AthCommonMsg< Algorithm > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
TBScintillatorCont
Definition: TBScintillatorCont.h:19
AthCommonDataStore< AthCommonMsg< Algorithm > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
CBNTAA_BeamInstrumentation::m_bpc_adc_hor
std::vector< float > * m_bpc_adc_hor
Definition: CBNTAA_BeamInstrumentation.h:45
CBNTAA_BeamInstrumentation::m_trig_sel
std::vector< long > * m_trig_sel
Definition: CBNTAA_BeamInstrumentation.h:52
CBNTAA_BeamInstrumentation::m_containerKey4
std::string m_containerKey4
Definition: CBNTAA_BeamInstrumentation.h:33
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
CBNTAA_BeamInstrumentation::m_scint_adc
std::vector< float > * m_scint_adc
Definition: CBNTAA_BeamInstrumentation.h:39
TBTriggerPatternUnit::getTriggerWord
unsigned int getTriggerWord() const
Definition: TBTriggerPatternUnit.h:50
CBNTAA_BeamInstrumentation::m_bpc_names
std::vector< std::string > m_bpc_names
Definition: CBNTAA_BeamInstrumentation.h:36
CBNT_TBRecBase::NOT_VALID
@ NOT_VALID
Definition: CBNT_TBRecBase.h:56
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
CaloCell_ID::hec_idHelper
const LArHEC_ID * hec_idHelper() const
access to HEC idHelper
Definition: CaloCell_ID.h:69
AthCommonDataStore< AthCommonMsg< Algorithm > >::detStore
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:95
RTTAlgmain.branchname
string branchname
Definition: RTTAlgmain.py:60
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
LArCellBinning_test.retval
def retval
Definition: LArCellBinning_test.py:112
AthCommonDataStore< AthCommonMsg< Algorithm > >::evtStore
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:85
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
CBNT_TBRecBase::m_emId
const LArEM_ID * m_emId
Definition: CBNT_TBRecBase.h:65
CBNT_TBRecBase::m_fcalId
const LArFCAL_ID * m_fcalId
Definition: CBNT_TBRecBase.h:67
AthCommonDataStore< AthCommonMsg< Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
StdJOSetup.msgSvc
msgSvc
Provide convenience handles for various services.
Definition: StdJOSetup.py:36
CBNTAA_BeamInstrumentation::m_scint_ntnames
std::vector< std::string > * m_scint_ntnames
Definition: CBNTAA_BeamInstrumentation.h:38
lumiFormat.i
int i
Definition: lumiFormat.py:92
CBNT_TBRecBase::m_log
MsgStream * m_log
Definition: CBNT_TBRecBase.h:63
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
CBNT_TBRecBase::addBranch
void addBranch(const std::string &branchname, T &obj, const std::string &leaflist)
Definition: CBNT_TBRecBase.h:44
calibdata.exception
exception
Definition: calibdata.py:496
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
CBNTAA_BeamInstrumentation::m_bpc_left
std::vector< float > * m_bpc_left
Definition: CBNTAA_BeamInstrumentation.h:45
CBNTAA_BeamInstrumentation::m_scint_tdc
std::vector< float > * m_scint_tdc
Definition: CBNTAA_BeamInstrumentation.h:39
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
AthCommonDataStore< AthCommonMsg< Algorithm > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
CBNT_TBRecBase::CBNT_TBRecBase
CBNT_TBRecBase(const std::string &name, ISvcLocator *pSvcLocator)
Definition: CBNT_TBRecBase.cxx:12
CBNTAA_BeamInstrumentation::m_containerKey5
std::string m_containerKey5
Definition: CBNTAA_BeamInstrumentation.h:34
CBNT_TBRecBase::m_hecId
const LArHEC_ID * m_hecId
Definition: CBNT_TBRecBase.h:66
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
beamspotman.basepath
string basepath
Definition: beamspotman.py:1018
CBNTAA_BeamInstrumentation::m_neverReturnFailure
bool m_neverReturnFailure
Definition: CBNTAA_BeamInstrumentation.h:28
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
CBNTAA_BeamInstrumentation::m_bpc_adc_ver
std::vector< float > * m_bpc_adc_ver
Definition: CBNTAA_BeamInstrumentation.h:45
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
CBNTAA_BeamInstrumentation::m_containerKey2
std::string m_containerKey2
Definition: CBNTAA_BeamInstrumentation.h:31
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
CBNTAA_BeamInstrumentation::m_bpc_raw
bool m_bpc_raw
Definition: CBNTAA_BeamInstrumentation.h:44
AthAlgorithm::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Definition: AthAlgorithm.h:79
CBNTAA_BeamInstrumentation::m_containerKey1
std::string m_containerKey1
Definition: CBNTAA_BeamInstrumentation.h:30
a
TList * a
Definition: liststreamerinfos.cxx:10
TBPhase
Definition: TBPhase.h:22
h
CBNTAA_BeamInstrumentation::m_clock
float m_clock
Definition: CBNTAA_BeamInstrumentation.h:41
CBNTAA_BeamInstrumentation::m_bpc_y
std::vector< float > * m_bpc_y
Definition: CBNTAA_BeamInstrumentation.h:39
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
DEBUG
#define DEBUG
Definition: page_access.h:11
CBNTAA_BeamInstrumentation::m_scint_names
std::vector< std::string > m_scint_names
Definition: CBNTAA_BeamInstrumentation.h:35
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:616
CBNT_TBRecBase::pre_execute
virtual StatusCode pre_execute()
Definition: CBNT_TBRecBase.cxx:61
TBScintillator
Definition: TBScintillator.h:25
declareProperty
#define declareProperty(n, p, h)
Definition: BaseFakeBkgTool.cxx:15
CBNTAA_BeamInstrumentation::m_trig_array
bool m_trig_array
Definition: CBNTAA_BeamInstrumentation.h:48
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:790
TBTriggerPatternUnit
Definition: TBTriggerPatternUnit.h:27
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
CBNT_TBRecBase::m_ntTitle
std::string m_ntTitle
Definition: CBNT_TBRecBase.h:58
CBNT_TBRecBase::m_ntpath
std::string m_ntpath
Definition: CBNT_TBRecBase.h:58
python.PyAthena.obj
obj
Definition: PyAthena.py:135
CBNTAA_BeamInstrumentation::m_containerKey3
std::string m_containerKey3
Definition: CBNTAA_BeamInstrumentation.h:32
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
CBNTAA_BeamInstrumentation::m_bpc_right
std::vector< float > * m_bpc_right
Definition: CBNTAA_BeamInstrumentation.h:45
TSU::T
unsigned long long T
Definition: L1TopoDataTypes.h:35
CaloCell_ID::fcal_idHelper
const LArFCAL_ID * fcal_idHelper() const
access to FCAL idHelper
Definition: CaloCell_ID.h:75
fitman.k
k
Definition: fitman.py:528
TBBPCRawCont
Definition: TBBPCRawCont.h:17
TBBPCCont
Definition: TBBPCCont.h:17
ServiceHandle< ICondSvc >