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

a triple selector/context/store defines a stream More...

#include <PileUpStream.h>

Inheritance diagram for PileUpStream:
Collaboration diagram for PileUpStream:

Public Types

typedef IEvtSelector::Context EvtIterator
 

Public Member Functions

bool msgLvl (const MSG::Level lvl) const
 Test the output level. More...
 
MsgStream & msg () const
 The standard message stream. More...
 
MsgStream & msg (const MSG::Level lvl) const
 The standard message stream. More...
 
void setLevel (MSG::Level lvl)
 Change the current logging level. More...
 
Structors
 PileUpStream ()
 Structors. More...
 
 PileUpStream (const PileUpStream &rhs)=delete
 
PileUpStreamoperator= (const PileUpStream &rhs)=delete
 
 PileUpStream (PileUpStream &&rhs)
 
PileUpStreamoperator= (PileUpStream &&rhs)
 
 PileUpStream (const std::string &name, IEvtSelector *sel, StoreGateSvc *store)
 
 PileUpStream (const std::string &name, ISvcLocator *svcLoc, const std::string &selecName)
 
 PileUpStream (const std::string &name, ISvcLocator *svcLoc, IEvtSelector *sel)
 
virtual ~PileUpStream ()
 

Private Member Functions

void initMessaging () const
 Initialize our message level and MessageSvc. More...
 

Private Attributes

std::string m_nm
 Message source name. More...
 
boost::thread_specific_ptr< MsgStream > m_msg_tls
 MsgStream instance (a std::cout like with print-out levels) More...
 
std::atomic< IMessageSvc * > m_imsg { nullptr }
 MessageSvc pointer. More...
 
std::atomic< MSG::Level > m_lvl { MSG::NIL }
 Current logging level. More...
 
std::atomic_flag m_initialized ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT
 Messaging initialized (initMessaging) More...
 

accessors

std::string m_name
 Stream name. More...
 
ISvcLocator * p_svcLoc
 ServiceLocator. More...
 
SmartIF< IEvtSelector > m_sel
 Selector. More...
 
SmartIF< StoreGateSvcm_SG
 StoreGateSvc;. More...
 
EvtIteratorp_iter
 Input Iterators. More...
 
SmartIF< PileUpMergeSvcm_mergeSvc
 
bool m_ownEvtIterator
 
bool m_neverLoaded
 

do we own p_iter?

More...
 
bool m_ownStore
 

has an event been loaded into this stream?

More...
 
bool m_used
 

is m_SG a store we cloned from the master one?

More...
 
bool m_hasRing
 has this stream already been used? (for the current event) More...
 
unsigned int m_iOriginalRing
 
const std::string & name ()
 
IEvtSelector & selector ()
 
EvtIteratoriterator ()
 
StoreGateSvcstore ()
 
const IEvtSelector & selector () const
 
const EvtIteratoriterator () const
 
const StoreGateSvcstore () const
 
const xAOD::EventInfonextEventPre (bool readRecord=true)
 return next Event, load store with next Event More...
 
bool nextEventPre_Passive (bool readRecord)
 like nextEventPre, but doesn't actually load anything More...
 
bool setupStore ()
 setup input and overlay selectors and iters More...
 
bool setupStore (bool)
 backward compatibility More...
 
StatusCode finalize ()
 finalize and release store. To be called on ... finalize() More...
 
bool used () const
 has this stream already be used in this event? More...
 
void setUsed ()
 
void resetUsed ()
 
bool hasRing () const
 
unsigned int originalIRing () const
 index of the ring for which this stream was used originally More...
 
void setOriginalIRing (unsigned int iR)
 
ISvcLocator * serviceLocator ()
 
StatusCode nextRecordPre ()
 increment event iterator before loading store More...
 
StatusCode nextRecordPre_Passive ()
 increment event iterator More...
 
bool loadStore ()
 clear store and load new proxies More...
 
void setActiveStore ()
 set ActiveStore More...
 

Detailed Description

a triple selector/context/store defines a stream

Definition at line 30 of file PileUpStream.h.

Member Typedef Documentation

◆ EvtIterator

typedef IEvtSelector::Context PileUpStream::EvtIterator

Definition at line 34 of file PileUpStream.h.

Constructor & Destructor Documentation

◆ PileUpStream() [1/6]

PileUpStream::PileUpStream ( )

Structors.

Definition at line 27 of file PileUpStream.cxx.

27  :
28  AthMessaging ("PileUpStream"),
29  m_name("INVALID"), p_svcLoc(0), m_sel(0), m_SG(0), p_iter(0),
30  m_ownEvtIterator(false),
31  m_neverLoaded(true), m_ownStore(false),
32  m_used(false), m_hasRing(false), m_iOriginalRing(0)
33 {
34 }

◆ PileUpStream() [2/6]

PileUpStream::PileUpStream ( const PileUpStream rhs)
delete

◆ PileUpStream() [3/6]

PileUpStream::PileUpStream ( PileUpStream &&  rhs)

Definition at line 36 of file PileUpStream.cxx.

36  :
37  AthMessaging (rhs.m_name),
38  m_name(rhs.m_name), p_svcLoc(rhs.p_svcLoc), m_sel(rhs.m_sel),
42 {
43  //transferred ownership
44  rhs.m_ownEvtIterator=false;
45  rhs.m_ownStore=false;
46 }

◆ PileUpStream() [4/6]

PileUpStream::PileUpStream ( const std::string &  name,
IEvtSelector *  sel,
StoreGateSvc store 
)

◆ PileUpStream() [5/6]

PileUpStream::PileUpStream ( const std::string &  name,
ISvcLocator *  svcLoc,
const std::string &  selecName 
)

Definition at line 88 of file PileUpStream.cxx.

90  :
92  m_name(name), p_svcLoc(svcLoc), m_sel(0), m_SG(0), p_iter(0),
93  m_ownEvtIterator(false),
94  m_neverLoaded(true), m_ownStore(false),
95  m_used(false), m_hasRing(false), m_iOriginalRing(0)
96 
97 {
98  assert(p_svcLoc);
99  m_sel = serviceLocator()->service<IEvtSelector>(selecName);
100  m_mergeSvc = serviceLocator()->service<PileUpMergeSvc>("PileUpMergeSvc");
101  if ( !(m_sel.isValid() && m_mergeSvc.isValid() &&
102  m_sel->createContext(p_iter).isSuccess()) ) {
103  const std::string errMsg("PileUpStream: can not create stream");
104  ATH_MSG_ERROR ( errMsg );
105  throw std::runtime_error(errMsg);
106  } else m_ownEvtIterator=true;
107 }

◆ PileUpStream() [6/6]

PileUpStream::PileUpStream ( const std::string &  name,
ISvcLocator *  svcLoc,
IEvtSelector *  sel 
)

Definition at line 69 of file PileUpStream.cxx.

71  :
73  m_name(name), p_svcLoc(svcLoc), m_sel(sel), m_SG(0), p_iter(0),
74  m_ownEvtIterator(false),
75  m_neverLoaded(true), m_ownStore(false),
76  m_used(false), m_hasRing(false), m_iOriginalRing(0)
77 {
78  assert(m_sel);
79  assert(p_svcLoc);
80  m_mergeSvc = serviceLocator()->service<PileUpMergeSvc>("PileUpMergeSvc");
81  if( !( m_sel->createContext(p_iter).isSuccess() && m_mergeSvc.isValid() ) ) {
82  const std::string errMsg("PileUpStream:: can not create stream");
83  ATH_MSG_ERROR ( errMsg );
84  throw std::runtime_error(errMsg);
85  } else m_ownEvtIterator=true;
86 }

◆ ~PileUpStream()

PileUpStream::~PileUpStream ( )
virtual

Definition at line 109 of file PileUpStream.cxx.

110 {
111 }

Member Function Documentation

◆ finalize()

StatusCode PileUpStream::finalize ( )

finalize and release store. To be called on ... finalize()

Definition at line 255 of file PileUpStream.cxx.

255  {
256  StatusCode sc(StatusCode::SUCCESS);
257  if (m_ownEvtIterator) delete p_iter;
258  //we own and manage our cloned SG instance
259 #ifdef GAUDIKERNEL_STATEMACHINE_H_
260  if (m_ownStore && Gaudi::StateMachine::INITIALIZED == store().FSMState()) {
261  sc = this->store().sysFinalize();
262  }
263 #else
264  if (m_ownStore && this->store().state() == IService::INITIALIZED) sc = this->store().sysFinalize();
265 #endif
266  this->store().release();
267  return sc;
268 }

◆ hasRing()

bool PileUpStream::hasRing ( ) const
inline

Definition at line 84 of file PileUpStream.h.

84 { return m_hasRing; }

◆ initMessaging()

void AthMessaging::initMessaging ( ) const
privateinherited

Initialize our message level and MessageSvc.

This method should only be called once.

Definition at line 39 of file AthMessaging.cxx.

40 {
42  m_lvl = m_imsg ?
43  static_cast<MSG::Level>( m_imsg.load()->outputLevel(m_nm) ) :
44  MSG::INFO;
45 }

◆ iterator() [1/2]

EvtIterator& PileUpStream::iterator ( )
inline

Definition at line 59 of file PileUpStream.h.

59 { return *p_iter; }

◆ iterator() [2/2]

const EvtIterator& PileUpStream::iterator ( ) const
inline

Definition at line 62 of file PileUpStream.h.

62 { return *p_iter; }

◆ loadStore()

bool PileUpStream::loadStore ( )
private

clear store and load new proxies

Definition at line 202 of file PileUpStream.cxx.

203 {
204  m_neverLoaded=false;
205 
206  IOpaqueAddress* paddr(0);
207  bool rc = (this->selector().createAddress(iterator(), paddr)).isSuccess();
208  if ( 0 != paddr) rc &= this->store().recordAddress(paddr).isSuccess();
209 
210  // load store proxies
211  rc &= this->store().loadEventProxies().isSuccess();
212  return rc;
213 }

◆ msg() [1/2]

MsgStream & AthMessaging::msg ( ) const
inlineinherited

The standard message stream.

Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.

Definition at line 164 of file AthMessaging.h.

165 {
166  MsgStream* ms = m_msg_tls.get();
167  if (!ms) {
168  if (!m_initialized.test_and_set()) initMessaging();
169  ms = new MsgStream(m_imsg,m_nm);
170  m_msg_tls.reset( ms );
171  }
172 
173  ms->setLevel (m_lvl);
174  return *ms;
175 }

◆ msg() [2/2]

MsgStream & AthMessaging::msg ( const MSG::Level  lvl) const
inlineinherited

The standard message stream.

Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.

Definition at line 179 of file AthMessaging.h.

180 { return msg() << lvl; }

◆ msgLvl()

bool AthMessaging::msgLvl ( const MSG::Level  lvl) const
inlineinherited

Test the output level.

Parameters
lvlThe message level to test against
Returns
boolean Indicating if messages at given level will be printed
Return values
trueMessages at level "lvl" will be printed

Definition at line 151 of file AthMessaging.h.

152 {
153  if (!m_initialized.test_and_set()) initMessaging();
154  if (m_lvl <= lvl) {
155  msg() << lvl;
156  return true;
157  } else {
158  return false;
159  }
160 }

◆ name()

const std::string& PileUpStream::name ( )
inline

Definition at line 57 of file PileUpStream.h.

57 { return m_name; }

◆ nextEventPre()

const xAOD::EventInfo * PileUpStream::nextEventPre ( bool  readRecord = true)

return next Event, load store with next Event

Definition at line 216 of file PileUpStream.cxx.

217 {
218  if (m_neverLoaded) readRecord=true;
219  else if (readRecord) {
220  //do not reset these the first time we call nextEventPre
221  this->resetUsed();
222  m_hasRing=false;
223  }
224  // if (isNotEmpty()) {
225  if (readRecord && this->nextRecordPre().isFailure()) {
226  ATH_MSG_INFO ( "nextEventPre(): end of the loop. No more events in the selection" );
227  return nullptr;
228  }
229 
230  const xAOD::EventInfo* xAODEventInfo = m_mergeSvc->getPileUpEvent( m_SG, "" );
231  if (readRecord and xAODEventInfo) {
232  ATH_MSG_DEBUG ( "nextEventPre(): read new event "
233  << xAODEventInfo->eventNumber()
234  << " run " << xAODEventInfo->runNumber()
235  << " into store " << this->store().name() );
236  }
237 
238  return xAODEventInfo;
239 }

◆ nextEventPre_Passive()

bool PileUpStream::nextEventPre_Passive ( bool  readRecord)

like nextEventPre, but doesn't actually load anything

Definition at line 241 of file PileUpStream.cxx.

241  {
242  if (m_neverLoaded) readRecord=true;
243  else if (readRecord) {
244  //do not reset these the first time we call nextEventPre_Passive
245  this->resetUsed();
246  m_hasRing=false;
247  }
248  if (readRecord && this->nextRecordPre_Passive().isFailure()) {
249  ATH_MSG_INFO ( "nextEventPre_Passive(): end of the loop. No more events in the selection" );
250  return false;
251  }
252  return true;
253 }

◆ nextRecordPre()

StatusCode PileUpStream::nextRecordPre ( )
private

increment event iterator before loading store

Definition at line 187 of file PileUpStream.cxx.

188 {
189  // Clear the store, move to next event and load the store
190  return (this->nextRecordPre_Passive().isSuccess() &&
191  this->loadStore()) ?
192  StatusCode::SUCCESS :
193  StatusCode::FAILURE;
194 }

◆ nextRecordPre_Passive()

StatusCode PileUpStream::nextRecordPre_Passive ( )
private

increment event iterator

Definition at line 177 of file PileUpStream.cxx.

178 {
179  this->setActiveStore();
180  // Clear the store, move to next event
181  return (this->store().clearStore().isSuccess() &&
182  this->selector().next(iterator()).isSuccess() ) ?
183  StatusCode::SUCCESS :
184  StatusCode::FAILURE;
185 }

◆ operator=() [1/2]

PileUpStream& PileUpStream::operator= ( const PileUpStream rhs)
delete

◆ operator=() [2/2]

PileUpStream & PileUpStream::operator= ( PileUpStream &&  rhs)

Definition at line 49 of file PileUpStream.cxx.

49  {
50  if (this != &rhs) {
51  m_name=rhs.m_name;
52  p_svcLoc=rhs.p_svcLoc;
53  m_sel=rhs.m_sel;
54  m_SG=rhs.m_SG;
55  p_iter=rhs.p_iter;
56  m_mergeSvc = rhs.m_mergeSvc;
58  rhs.m_ownEvtIterator=false;
61  rhs.m_ownStore=false;
62  m_used=rhs.m_used;
63  m_hasRing=rhs.m_hasRing;
65  }
66  return *this;
67 }

◆ originalIRing()

unsigned int PileUpStream::originalIRing ( ) const
inline

index of the ring for which this stream was used originally

Definition at line 86 of file PileUpStream.h.

86 { return m_iOriginalRing; }

◆ resetUsed()

void PileUpStream::resetUsed ( )
inline

Definition at line 83 of file PileUpStream.h.

83 {m_used=false;}

◆ selector() [1/2]

IEvtSelector& PileUpStream::selector ( )
inline

Definition at line 58 of file PileUpStream.h.

58 { return *m_sel; }

◆ selector() [2/2]

const IEvtSelector& PileUpStream::selector ( ) const
inline

Definition at line 61 of file PileUpStream.h.

61 { return *m_sel; }

◆ serviceLocator()

ISvcLocator* PileUpStream::serviceLocator ( )
inlineprivate

Definition at line 96 of file PileUpStream.h.

96 { return p_svcLoc; }

◆ setActiveStore()

void PileUpStream::setActiveStore ( )
private

set ActiveStore

Definition at line 172 of file PileUpStream.cxx.

173 {
174  store().makeCurrent();
175 }

◆ setLevel()

void AthMessaging::setLevel ( MSG::Level  lvl)
inherited

Change the current logging level.

Use this rather than msg().setLevel() for proper operation with MT.

Definition at line 28 of file AthMessaging.cxx.

29 {
30  m_lvl = lvl;
31 }

◆ setOriginalIRing()

void PileUpStream::setOriginalIRing ( unsigned int  iR)
inline

Definition at line 87 of file PileUpStream.h.

87  {
88  if (!m_hasRing) {
89  m_hasRing=true;
90  m_iOriginalRing=iR;
91  }
92  }

◆ setupStore() [1/2]

bool PileUpStream::setupStore ( )

setup input and overlay selectors and iters

Definition at line 113 of file PileUpStream.cxx.

114 {
115  assert( p_iter );
116  assert( m_sel );
117  bool rc(true);
118  std::string storeName(name() + "_SG");
119 
120  //start by looking for the store directly: in overlay jobs it may already be there
121  m_SG = serviceLocator()->service<StoreGateSvc>(storeName, /*createIf*/false);
122  if (m_SG) {
123  m_ownStore = false;
124  } else {
125  //not there, create one cloning the master store
126  Service *child;
127  //if the parent store is not there barf
128  //remember the clone function also initializes the service if needed
129  SmartIF<StoreGateSvc> pIS(serviceLocator()->service("StoreGateSvc"));
130  rc = (pIS.isValid() &&
131  CloneService::clone(pIS, storeName, child).isSuccess() &&
132  (m_SG = SmartIF<StoreGateSvc>(child)).isValid());
133  if ( rc ) {
134  m_ownStore = true;
135  // further initialization of the cloned service
136  rc = (m_SG->sysInitialize()).isSuccess();
137  m_SG->setStoreID(StoreID::PILEUP_STORE); //needed by ProxyProviderSvc
138  } //clones
139  }
140  if (rc) {
141  //if the selector is an address provider like the AthenaPool one,
142  //create a dedicated ProxyProviderSvc and associate it to the store
143  SmartIF<IAddressProvider> pIAP(m_sel);
144  if (pIAP.isValid()) {
145  const std::string PPSName(name() + "_PPS");
146  SmartIF<IProxyProviderSvc> pPPSvc(serviceLocator()->service(PPSName));
147  SmartIF<ISvcManager> pISM(serviceLocator());
148  if ( pISM.isValid() &&
149  pISM->declareSvcType(PPSName, "ProxyProviderSvc").isSuccess() &&
150  pPPSvc.isValid() ) {
151 
152  pPPSvc->addProvider(pIAP);
153  SmartIF<IAddressProvider> pAthPoolAddProv(serviceLocator()->service("AthenaPoolAddressProviderSvc"));
154  if (pAthPoolAddProv.isValid()) {
155  pPPSvc->addProvider(pAthPoolAddProv);
156  } else {
157  ATH_MSG_WARNING ( "could not add AthenaPoolAddressProviderSvc as AddresssProvider for "<< PPSName );
158  }
159  SmartIF<IAddressProvider> pAddrRemap(serviceLocator()->service("AddressRemappingSvc"));
160  if (pAddrRemap.isValid()) {
161  pPPSvc->addProvider(pAddrRemap);
162  } else {
163  ATH_MSG_WARNING ( "could not add AddressRemappingSvc as AddresssProvider for "<< PPSName );
164  }
165  m_SG->setProxyProviderSvc(pPPSvc);
166  }
167  } //valid address provider
168  }
169  return rc;
170 }

◆ setupStore() [2/2]

bool PileUpStream::setupStore ( bool  )
inline

backward compatibility

Definition at line 75 of file PileUpStream.h.

75 { return setupStore();}

◆ setUsed()

void PileUpStream::setUsed ( )
inline

Definition at line 82 of file PileUpStream.h.

82 {m_used=true;}

◆ store() [1/2]

StoreGateSvc& PileUpStream::store ( )
inline

Definition at line 60 of file PileUpStream.h.

60 { return *m_SG; }

◆ store() [2/2]

const StoreGateSvc& PileUpStream::store ( ) const
inline

Definition at line 63 of file PileUpStream.h.

63 { return *m_SG; }

◆ used()

bool PileUpStream::used ( ) const
inline

has this stream already be used in this event?

Definition at line 81 of file PileUpStream.h.

81 {return m_used;}

Member Data Documentation

◆ ATLAS_THREAD_SAFE

std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT
mutableprivateinherited

Messaging initialized (initMessaging)

Definition at line 141 of file AthMessaging.h.

◆ m_hasRing

bool PileUpStream::m_hasRing
private

has this stream already been used? (for the current event)

Definition at line 133 of file PileUpStream.h.

◆ m_imsg

std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr }
mutableprivateinherited

MessageSvc pointer.

Definition at line 135 of file AthMessaging.h.

◆ m_iOriginalRing

unsigned int PileUpStream::m_iOriginalRing
private

Definition at line 134 of file PileUpStream.h.

◆ m_lvl

std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL }
mutableprivateinherited

Current logging level.

Definition at line 138 of file AthMessaging.h.

◆ m_mergeSvc

SmartIF<PileUpMergeSvc> PileUpStream::m_mergeSvc
private

Definition at line 124 of file PileUpStream.h.

◆ m_msg_tls

boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls
mutableprivateinherited

MsgStream instance (a std::cout like with print-out levels)

Definition at line 132 of file AthMessaging.h.

◆ m_name

std::string PileUpStream::m_name
private

Stream name.

Definition at line 114 of file PileUpStream.h.

◆ m_neverLoaded

bool PileUpStream::m_neverLoaded
private

do we own p_iter?

Private message stream member

Definition at line 129 of file PileUpStream.h.

◆ m_nm

std::string AthMessaging::m_nm
privateinherited

Message source name.

Definition at line 129 of file AthMessaging.h.

◆ m_ownEvtIterator

bool PileUpStream::m_ownEvtIterator
private

Definition at line 127 of file PileUpStream.h.

◆ m_ownStore

bool PileUpStream::m_ownStore
private

has an event been loaded into this stream?

Definition at line 130 of file PileUpStream.h.

◆ m_sel

SmartIF<IEvtSelector> PileUpStream::m_sel
private

Selector.

Definition at line 118 of file PileUpStream.h.

◆ m_SG

SmartIF<StoreGateSvc> PileUpStream::m_SG
private

StoreGateSvc;.

Definition at line 120 of file PileUpStream.h.

◆ m_used

bool PileUpStream::m_used
private

is m_SG a store we cloned from the master one?

Definition at line 132 of file PileUpStream.h.

◆ p_iter

EvtIterator* PileUpStream::p_iter
private

Input Iterators.

Definition at line 122 of file PileUpStream.h.

◆ p_svcLoc

ISvcLocator* PileUpStream::p_svcLoc
private

ServiceLocator.

Definition at line 116 of file PileUpStream.h.


The documentation for this class was generated from the following files:
AthMessaging::m_lvl
std::atomic< MSG::Level > m_lvl
Current logging level.
Definition: AthMessaging.h:138
PileUpStream::setActiveStore
void setActiveStore()
set ActiveStore
Definition: PileUpStream.cxx:172
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
StoreGateSvc::makeCurrent
void makeCurrent()
The current store is becoming the active store.
Definition: StoreGateSvc.cxx:496
PileUpStream::nextRecordPre
StatusCode nextRecordPre()
increment event iterator before loading store
Definition: PileUpStream.cxx:187
PileUpStream::m_name
std::string m_name
Stream name.
Definition: PileUpStream.h:114
PileUpStream::iterator
EvtIterator & iterator()
Definition: PileUpStream.h:59
isValid
bool isValid(const T &p)
Definition: AtlasPID.h:225
AthMessaging::m_imsg
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
Definition: AthMessaging.h:135
python.SystemOfUnits.ms
int ms
Definition: SystemOfUnits.py:132
PileUpStream::m_hasRing
bool m_hasRing
has this stream already been used? (for the current event)
Definition: PileUpStream.h:133
Athena::getMessageSvc
IMessageSvc * getMessageSvc(bool quiet=false)
Definition: getMessageSvc.cxx:20
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
PileUpMergeSvc
the preferred mechanism to access information from the different event stores in a pileup job.
Definition: PileUpMergeSvc.h:58
PileUpStream::selector
IEvtSelector & selector()
Definition: PileUpStream.h:58
AthMessaging::AthMessaging
AthMessaging()
Default constructor:
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
PileUpStream::p_svcLoc
ISvcLocator * p_svcLoc
ServiceLocator.
Definition: PileUpStream.h:116
PileUpStream::m_used
bool m_used
is m_SG a store we cloned from the master one?
Definition: PileUpStream.h:132
TrigConf::MSGTC::Level
Level
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:21
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
PileUpStream::m_ownStore
bool m_ownStore
has an event been loaded into this stream?
Definition: PileUpStream.h:130
StoreID::PILEUP_STORE
@ PILEUP_STORE
Definition: StoreID.h:31
fillPileUpNoiseLumi.next
next
Definition: fillPileUpNoiseLumi.py:52
PileUpStream::setupStore
bool setupStore()
setup input and overlay selectors and iters
Definition: PileUpStream.cxx:113
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
sel
sel
Definition: SUSYToolsTester.cxx:97
StoreGateSvc::loadEventProxies
StatusCode loadEventProxies()
load proxies at begin event
Definition: StoreGateSvc.cxx:442
PileUpStream::m_iOriginalRing
unsigned int m_iOriginalRing
Definition: PileUpStream.h:134
PileUpStream::resetUsed
void resetUsed()
Definition: PileUpStream.h:83
PileUpStream::name
const std::string & name()
Definition: PileUpStream.h:57
PileUpStream::nextRecordPre_Passive
StatusCode nextRecordPre_Passive()
increment event iterator
Definition: PileUpStream.cxx:177
PileUpStream::loadStore
bool loadStore()
clear store and load new proxies
Definition: PileUpStream.cxx:202
PileUpStream::m_neverLoaded
bool m_neverLoaded
do we own p_iter?
Definition: PileUpStream.h:129
AthMessaging::msg
MsgStream & msg() const
The standard message stream.
Definition: AthMessaging.h:164
PileUpStream::store
StoreGateSvc & store()
Definition: PileUpStream.h:60
PileUpStream::serviceLocator
ISvcLocator * serviceLocator()
Definition: PileUpStream.h:96
PileUpStream::m_ownEvtIterator
bool m_ownEvtIterator
Definition: PileUpStream.h:127
StoreGateSvc::recordAddress
StatusCode recordAddress(const std::string &skey, IOpaqueAddress *pAddress, bool clearAddressFlag=true)
Create a proxy object using an IOpaqueAddress and a transient key.
xAOD::EventInfo_v1
Class describing the basic event information.
Definition: EventInfo_v1.h:43
CloneService::clone
StatusCode clone(const IService *parent, const std::string &childName, Service *&child)
given a reference to a parent svc sets a reference to a cloned child
Definition: CloneService.cxx:21
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
AthMessaging::m_nm
std::string m_nm
Message source name.
Definition: AthMessaging.h:129
PileUpStream::m_mergeSvc
SmartIF< PileUpMergeSvc > m_mergeSvc
Definition: PileUpStream.h:124
PileUpStream::m_sel
SmartIF< IEvtSelector > m_sel
Selector.
Definition: PileUpStream.h:118
AthMessaging::initMessaging
void initMessaging() const
Initialize our message level and MessageSvc.
Definition: AthMessaging.cxx:39
PileUpStream::p_iter
EvtIterator * p_iter
Input Iterators.
Definition: PileUpStream.h:122
AthMessaging::m_msg_tls
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels)
Definition: AthMessaging.h:132
PileUpStream::m_SG
SmartIF< StoreGateSvc > m_SG
StoreGateSvc;.
Definition: PileUpStream.h:120
python.trfValidateRootFile.rc
rc
Definition: trfValidateRootFile.py:349