ATLAS Offline Software
Public Member Functions | List of all members
EventIDCnv_p2 Class Reference

#include <EventIDCnv_p2.h>

Collaboration diagram for EventIDCnv_p2:

Public Member Functions

 EventIDCnv_p2 ()
 
void persToTrans (std::vector< unsigned int >::const_iterator &nnnnpersObj, EventID *transObj) const
 
void transToPers (const EventID *transObj, std::vector< unsigned int > &persObj) const
 

Detailed Description

Definition at line 9 of file EventIDCnv_p2.h.

Constructor & Destructor Documentation

◆ EventIDCnv_p2()

EventIDCnv_p2::EventIDCnv_p2 ( )
inline

Definition at line 11 of file EventIDCnv_p2.h.

11 {}

Member Function Documentation

◆ persToTrans()

void EventIDCnv_p2::persToTrans ( std::vector< unsigned int >::const_iterator &  nnnnpersObj,
EventID transObj 
) const

Definition at line 9 of file EventIDCnv_p2.cxx.

9  {
10  trans->set_run_number (*i); ++i;
11  trans->set_event_number (*i); ++i;
12  trans->set_time_stamp (*i); ++i;
13  trans->set_time_stamp_ns_offset (*i); ++i;
14  trans->set_lumi_block (*i); ++i;
15  trans->set_bunch_crossing_id (*i); ++i;
16  EventID::number_type detector_mask0 = (*i); ++i;
17  EventID::number_type detector_mask1 = (*i); ++i;
18  trans->set_detector_mask (detector_mask0, detector_mask1);
19  // std::cout<<"persToTrans of EventID \t"<<trans->m_event_number<<std::endl;
20 }

◆ transToPers()

void EventIDCnv_p2::transToPers ( const EventID transObj,
std::vector< unsigned int > &  persObj 
) const

Definition at line 22 of file EventIDCnv_p2.cxx.

22  {
23  // Deprecated - writing out with _p1 RDS 2013/03
24 
25  pers.push_back(trans->run_number());
26  pers.push_back(trans->event_number());
27  pers.push_back(trans->time_stamp());
28  pers.push_back(trans->time_stamp_ns_offset());
29  pers.push_back(trans->lumi_block());
30  pers.push_back(trans->bunch_crossing_id());
31  pers.push_back(trans->detector_mask0());
32  pers.push_back(trans->detector_mask1());
33  // std::cout<<"transToPers of EventID \t"<<trans->m_event_number<<std::endl;
34 }

The documentation for this class was generated from the following files:
EventID::number_type
EventIDBase::number_type number_type
Definition: EventID.h:37
lumiFormat.i
int i
Definition: lumiFormat.py:85