|
ATLAS Offline Software
|
Go to the documentation of this file.
8 const std::string&
name,
17 return StatusCode::SUCCESS;
22 ATH_MSG_DEBUG(
"prepareEvent: there are " << nInputEvents <<
" subevents in this event.");
25 return StatusCode::SUCCESS;
34 ATH_MSG_VERBOSE(
"Already written out a HijingEventParams for the current signal event.");
35 return StatusCode::SUCCESS;
38 for (; iEvt!=eSubEvents; ++iEvt) {
41 bunchXing, iEvt).isSuccess()) {
54 for(
int n=1;
n<7;++
n) {
59 ATH_MSG_DEBUG(
"processBunchXing: copied original event HijingEventParams" );
62 ATH_MSG_DEBUG(
"processBunchXing: copied background event HijingEventParams" );
64 return StatusCode::SUCCESS;
68 ATH_MSG_VERBOSE(
"processBunchXing: No HijingEventParams found in the signal eventStore." );
72 return StatusCode::SUCCESS;
79 ATH_MSG_ERROR (
"mergeEvent: No HijingEventParams found in the signal or background eventStores." );
80 return StatusCode::FAILURE;
82 return StatusCode::SUCCESS;
88 return (bunchXing==0);
95 TimedHijingParamsList HijingList;
98 || HijingList.size()==0) {
99 ATH_MSG_INFO (
" Cannot find HijingEventParams from PileUp service " );
100 return StatusCode::SUCCESS;
102 ATH_MSG_DEBUG (
" HijingEventParams found from PileUp service " );
103 for (
const auto& hijingParams: HijingList) {
104 hijing_pars = hijingParams.second;
114 hijing_pars->
get_b(),
118 for(
int n=1;
n<7;++
n) {
125 ATH_MSG_ERROR(
"processAllSubEvents: No HijingEventParams found in the signal or background eventStores." );
126 return StatusCode::FAILURE;
128 return StatusCode::SUCCESS;
const std::string & name() const
Return the StoreGate ID for the referenced object.
float get_psi(int n) const
#define ATH_MSG_VERBOSE(x)
std::list< value_t > type
type of the collection of timed data object
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
::StatusCode StatusCode
StatusCode definition for legacy code.
void set_psi(int ihar, float psi)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.