|
ATLAS Offline Software
|
Go to the documentation of this file.
12 const int MODULO(100000);
13 const double MINTIME(-2000.0);
24 short time = sub_iter->time();
25 short index = sub_iter->index();
26 p_sub_iter->m_timeIndex = (
time - MINTIME) + MODULO *
index;
27 evInfoConv.
transToPers(sub_iter->pSubEvt, &p_sub_iter->m_subEventInfo,
log);
28 ++p_sub_iter; ++sub_iter;
37 PileUpEventInfo_p2::SubEvVect_t::const_iterator p_sub_iter = pers->
m_subEvents.begin();
39 short index1 =
static_cast<short>( (p_sub_iter->m_timeIndex)*(1./MODULO) );
42 trans->
addSubEvt (
static_cast<short>( MINTIME+(p_sub_iter->m_timeIndex-
index) ),
45 std::unique_ptr<EventInfo>
JetConstituentVector::iterator iterator
This class provides information about an overlaid event. It extends EventInfo with a list of sub-evts...
SubEvent::iterator beginSubEvt()
Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Old Athena::TPCnvVers::Old PileUpEventInfo
void addSubEvt(time_type t, PileUpTimeEventIndex::PileUpType puType, const EventInfo *pse, StoreGateSvc *psg)
setter for the subEvt collection t=0(ns) for the original event
virtual void persToTrans(const EventInfo_p2 *persObj, EventInfo *transObj, MsgStream &log) const override
virtual void transToPers(const PileUpEventInfo *transObj, PileUpEventInfo_p2 *persObj, MsgStream &log) const override
This class provides information about an overlaid event. It extends EventInfo with a list of sub-evts...
virtual void persToTrans(const PileUpEventInfo_p2 *persObj, PileUpEventInfo *transObj, MsgStream &log) const override
def time(flags, cells_name, *args, **kw)
virtual EventInfo * createTransientConst(const EventInfo_p2 *persObj, MsgStream &log) const override
virtual void transToPers(const EventInfo *transObj, EventInfo_p2 *persObj, MsgStream &log) const override
std::list< SubEvent >::const_iterator const_iterator
float distance(const Amg::Vector3D &p1, const Amg::Vector3D &p2)
calculates the distance between two point in 3D space
SubEvent::iterator endSubEvt()