ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
ALFA
ALFA_EventCnv
ALFA_EventTPCnv
src
ALFA_RawDataCollectionCnv_charge_p1.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
ALFA_RawEv/ALFA_RawDataCollection_charge.h
"
6
#include "GaudiKernel/MsgStream.h"
7
#include "
ALFA_EventTPCnv/ALFA_RawDataCollectionCnv_charge_p1.h
"
8
9
#include <sstream>
10
11
12
void
ALFA_RawDataCollectionCnv_charge_p1::transToPers
(
const
ALFA_RawDataCollection_charge
* transColl,
ALFA_RawDataCollection_charge_p1
* persColl, MsgStream& log) {
13
14
if
(log.level()<=MSG::DEBUG) log << MSG::DEBUG <<
"In ALFA_RawDataCollectionCnv_charge_p1::transToPers"
<<
endmsg
;
15
16
// Invoke vector converter from the base template
17
ALFA_RawDataCollection_charge_Cnvp1_base_t::transToPers
( transColl, persColl, log );
18
19
20
persColl->
MBId_POT
= transColl->
GetMBId_POT
();
21
persColl->
EventCount_POT
= transColl->
GetEventCount_POT
();
22
persColl->
TimeStamp_POT
= transColl->
GetTimeStamp_POT
();
23
persColl->
BCId_POT
= transColl->
GetBCId_POT
();
24
25
}
26
27
void
ALFA_RawDataCollectionCnv_charge_p1::persToTrans
(
const
ALFA_RawDataCollection_charge_p1
* persColl,
ALFA_RawDataCollection_charge
* transColl, MsgStream& log) {
28
29
if
(log.level()<=MSG::DEBUG) log << MSG::DEBUG <<
"In ALFA_RawDataCollectionCnv_charge_p1::persToTrans"
<<
endmsg
;
30
31
32
// Invoke vector converter from the base template
33
ALFA_RawDataCollection_charge_Cnvp1_base_t::persToTrans
( persColl, transColl, log );
34
35
transColl->
SetMBId_POT
(persColl->
MBId_POT
);
36
transColl->
SetEventCount_POT
(persColl->
EventCount_POT
);
37
transColl->
SetTimeStamp_POT
(persColl->
TimeStamp_POT
);
38
transColl->
SetBCId_POT
(persColl->
BCId_POT
);
39
40
}
41
ALFA_RawDataCollectionCnv_charge_p1.h
ALFA_RawDataCollection_charge.h
endmsg
#define endmsg
Definition
AnalysisConfig_Ntuple.cxx:54
ALFA_RawDataCollectionCnv_charge_p1::transToPers
virtual void transToPers(const ALFA_RawDataCollection_charge *transColl, ALFA_RawDataCollection_charge_p1 *persColl, MsgStream &log)
Converts vector of TRANS::value_type objects to vector of PERS::value_type objects,...
Definition
ALFA_RawDataCollectionCnv_charge_p1.cxx:12
ALFA_RawDataCollectionCnv_charge_p1::persToTrans
virtual void persToTrans(const ALFA_RawDataCollection_charge_p1 *persColl, ALFA_RawDataCollection_charge *transColl, MsgStream &log)
Converts vector of PERS::value_type objects to vector of TRANS::value_type objects,...
Definition
ALFA_RawDataCollectionCnv_charge_p1.cxx:27
ALFA_RawDataCollection_charge_p1
Definition
ALFA_RawDataCollection_charge_p1.h:14
ALFA_RawDataCollection_charge_p1::MBId_POT
uint16_t MBId_POT
Definition
ALFA_RawDataCollection_charge_p1.h:25
ALFA_RawDataCollection_charge_p1::EventCount_POT
uint32_t EventCount_POT
Definition
ALFA_RawDataCollection_charge_p1.h:27
ALFA_RawDataCollection_charge_p1::BCId_POT
uint32_t BCId_POT
Definition
ALFA_RawDataCollection_charge_p1.h:31
ALFA_RawDataCollection_charge_p1::TimeStamp_POT
uint32_t TimeStamp_POT
Definition
ALFA_RawDataCollection_charge_p1.h:29
ALFA_RawDataCollection_charge
RDOs : Chamber Service Module, collection of RawData.
Definition
ALFA_RawDataCollection_charge.h:19
ALFA_RawDataCollection_charge::GetTimeStamp_POT
uint32_t GetTimeStamp_POT() const
Definition
ALFA_RawDataCollection_charge.h:71
ALFA_RawDataCollection_charge::SetBCId_POT
void SetBCId_POT(uint32_t BCId)
Definition
ALFA_RawDataCollection_charge.cxx:65
ALFA_RawDataCollection_charge::GetEventCount_POT
uint32_t GetEventCount_POT() const
Definition
ALFA_RawDataCollection_charge.h:69
ALFA_RawDataCollection_charge::SetEventCount_POT
void SetEventCount_POT(uint32_t Event_number)
Definition
ALFA_RawDataCollection_charge.cxx:55
ALFA_RawDataCollection_charge::SetMBId_POT
void SetMBId_POT(uint16_t MB_number)
Definition
ALFA_RawDataCollection_charge.cxx:43
ALFA_RawDataCollection_charge::GetMBId_POT
uint16_t GetMBId_POT() const
Definition
ALFA_RawDataCollection_charge.h:67
ALFA_RawDataCollection_charge::GetBCId_POT
uint32_t GetBCId_POT() const
Definition
ALFA_RawDataCollection_charge.h:72
ALFA_RawDataCollection_charge::SetTimeStamp_POT
void SetTimeStamp_POT(uint32_t TimeStamp)
Definition
ALFA_RawDataCollection_charge.cxx:60
TPCnvVector::persToTrans
virtual void persToTrans(const PERS *persVect, TRANS *transVect, MsgStream &log)
Converts vector of PERS::value_type objects to vector of TRANS::value_type objects,...
TPCnvVector::transToPers
virtual void transToPers(const TRANS *transVect, PERS *persVect, MsgStream &log)
Converts vector of TRANS::value_type objects to vector of PERS::value_type objects,...
Generated on
for ATLAS Offline Software by
1.17.0