![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "CLHEP/Random/RandomEngine.h"
13 #include "GaudiKernel/ITHistSvc.h"
20 const std::string&
name,
21 const IInterface*
parent) :
39 {0.000001,0.000001,0.000001,0.000001,0.000001,
40 0.000001,0.000001,0.000001,0.000001,0.000001,
41 0.000001,0.000001,0.000001,0.000001,0.000001},
43 m_key_digitCnt (
"Lucid_Digits")
47 "Name of the input Collection of simulated hits");
50 "Name of the Container to hold the output from the digitization");
122 return StatusCode::SUCCESS;
128 ATH_MSG_DEBUG (
"prepareEvent() called for " << nInputEvents <<
" input events" );
131 ATH_MSG_DEBUG (
" Digit container is recorded in StoreGate " );
135 return StatusCode::SUCCESS;
143 ATH_MSG_DEBUG (
"LUCID_PileUpTool::processBunchXing() " << bunchXing );
147 for (; iEvt!=eSubEvents; ++iEvt)
151 ATH_MSG_VERBOSE (
"SubEvt EventInfo from StoreGate " << seStore.name() <<
" :"
152 <<
" bunch crossing : " << bunchXing
153 <<
" time offset : " << iEvt->time()
154 <<
" event number : " << iEvt->ptr()->eventNumber()
155 <<
" run number : " << iEvt->ptr()->runNumber()
162 ATH_MSG_ERROR (
"SubEvent BCM SiHitCollection not found in StoreGate " << seStore.name() );
164 return StatusCode::FAILURE;
167 ATH_MSG_DEBUG (
"LUCID_SimHitCollection found with " << tmpColl->
size() <<
" hits" );
176 return StatusCode::SUCCESS;
184 CLHEP::HepRandomEngine* rngEngine = rngWrapper->
getEngine(ctx);
186 ATH_MSG_DEBUG (
" LUCID_DigitContainer successfully registered in StoreGate " );
188 return StatusCode::SUCCESS;
198 TimedHitCollList hitCollList;
210 while (iColl != endColl)
214 thpclucid.
insert(iColl->first, tmpColl);
216 ATH_MSG_DEBUG (
" LUCID_SimHitCollection found with " << tmpColl->
size() <<
" hits " << iColl->first );
223 ATH_MSG_DEBUG (
" Digit container is recorded in StoreGate " );
227 CLHEP::HepRandomEngine* rngEngine = rngWrapper->
getEngine(ctx);
229 ATH_MSG_DEBUG (
" Digit container was filled successfully " );
231 return StatusCode::SUCCESS;
236 return StatusCode::SUCCESS;
JetConstituentVector::iterator iterator
AtlasHitsVector< LUCID_SimHit > LUCID_SimHitCollection
void setSeed(const std::string &algName, const EventContext &ctx)
Set the random seed using a string (e.g.
#define ATH_MSG_VERBOSE(x)
const_iterator begin() const
CONT::const_iterator const_iterator
std::list< value_t > type
type of the collection of timed data object
StatusCode retrieve(const T *&ptr) const
Retrieve the default object into a const T*.
The Athena Transient Store API.
void insert(const PileUpTimeEventIndex &timeEventIndex, const AtlasHitsVector< HIT > *inputCollection)
::StatusCode StatusCode
StatusCode definition for legacy code.
#define CHECK(...)
Evaluate an expression and check for errors.
A wrapper class for event-slot-local random engines.
Helpers for checking error return status codes and reporting errors.
CLHEP::HepRandomEngine * getEngine(const EventContext &ctx) const
Retrieve the random engine corresponding to the provided EventContext.
const_iterator end() const
void push_back(const T &t)