ATLAS Offline Software
ALFA_RawDataContainerCnv_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 "GaudiKernel/MsgStream.h"
8 
9 
11 
12  if (log.level()<=MSG::DEBUG) log << MSG::DEBUG << "In ALFA_RawDataContainerCnv_p1::transToPers" << endmsg;
13 
14  // Invoke vector converter from the base template
16 
17  persCont->TimeStamp = transCont->GetTimeStamp();
18  persCont->TimeStampns = transCont->GetTimeStampns();
19  persCont->LumiBlock = transCont->GetLumiBlock();
20  persCont->BCId = transCont->GetBCId();
21  persCont->lvl1Pattern = transCont->GetLvl1Pattern_POT();
22  persCont->lvl2Pattern = transCont->GetLvl2Pattern_POT();
23  persCont->efPattern = transCont->GetEFPattern_POT();
24 
25  }
26 
28 
29 
30 if (log.level()<=MSG::DEBUG) log << MSG::DEBUG << "In ALFA_RawDataContainerCnv_p1::persToTrans" << endmsg;
31 
32 
33 // Invoke vector converter from the base template
35 
36  transCont->SetTimeStamp (persCont->TimeStamp);
37  transCont->SetTimeStampns (persCont->TimeStampns);
38  transCont->SetLumiBlock (persCont->LumiBlock);
39  transCont->SetBCId (persCont->BCId);
40  transCont->SetLvl1Pattern (persCont->lvl1Pattern);
41  transCont->SetLvl2Pattern (persCont->lvl2Pattern);
42  transCont->SetEFPattern (persCont->efPattern);
43 
44 }
45 
ALFA_RawDataContainer.h
ALFA_RawDataContainer::GetTimeStampns
uint32_t GetTimeStampns() const
Definition: ALFA_RawDataContainer.h:109
ALFA_RawDataContainer::SetTimeStamp
void SetTimeStamp(uint32_t tmpTimeStamp)
Definition: ALFA_RawDataContainer.cxx:78
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,...
ALFA_RawDataContainer_p1::lvl2Pattern
std::vector< bool > lvl2Pattern
Definition: ALFA_RawDataContainer_p1.h:24
ALFA_RawDataContainer_p1::TimeStamp
uint32_t TimeStamp
Definition: ALFA_RawDataContainer_p1.h:14
ALFA_RawDataContainer::SetTimeStampns
void SetTimeStampns(uint32_t tmpTimeStampns)
Definition: ALFA_RawDataContainer.cxx:83
ALFA_RawDataContainerCnv_p1::transToPers
virtual void transToPers(const ALFA_RawDataContainer *transCont, ALFA_RawDataContainer_p1 *persCont, MsgStream &log)
Definition: ALFA_RawDataContainerCnv_p1.cxx:10
ALFA_RawDataContainer::GetLvl1Pattern_POT
const std::vector< bool > & GetLvl1Pattern_POT() const
Definition: ALFA_RawDataContainer.h:105
ALFA_RawDataContainer_p1::TimeStampns
uint32_t TimeStampns
Definition: ALFA_RawDataContainer_p1.h:16
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,...
ALFA_RawDataContainer::GetBCId
uint32_t GetBCId() const
Definition: ALFA_RawDataContainer.h:111
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
ALFA_RawDataContainerCnv_p1.h
ALFA_RawDataContainer::GetLumiBlock
uint32_t GetLumiBlock() const
Definition: ALFA_RawDataContainer.h:110
ALFA_RawDataContainer_p1::efPattern
std::vector< bool > efPattern
Definition: ALFA_RawDataContainer_p1.h:26
ALFA_RawDataContainer::SetLumiBlock
void SetLumiBlock(uint32_t tmpLumiBlock)
Definition: ALFA_RawDataContainer.cxx:88
ALFA_RawDataContainer::SetLvl2Pattern
void SetLvl2Pattern(const std::vector< bool > &tmplvl2_pattern)
Definition: ALFA_RawDataContainer.cxx:103
ALFA_RawDataContainer::SetEFPattern
void SetEFPattern(const std::vector< bool > &tmpef_pattern)
Definition: ALFA_RawDataContainer.cxx:108
ALFA_RawDataContainerCnv_p1::persToTrans
virtual void persToTrans(const ALFA_RawDataContainer_p1 *persCont, ALFA_RawDataContainer *transCont, MsgStream &log)
Definition: ALFA_RawDataContainerCnv_p1.cxx:27
ALFA_RawDataContainer_p1::BCId
uint32_t BCId
Definition: ALFA_RawDataContainer_p1.h:20
ALFA_RawDataContainer
This container provides acces to the PMF RDOs.
Definition: ALFA_RawDataContainer.h:21
DEBUG
#define DEBUG
Definition: page_access.h:11
ALFA_RawDataContainer::GetEFPattern_POT
const std::vector< bool > & GetEFPattern_POT() const
Definition: ALFA_RawDataContainer.h:107
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
ALFA_RawDataContainer::SetLvl1Pattern
void SetLvl1Pattern(const std::vector< bool > &tmplvl1_pattern)
Definition: ALFA_RawDataContainer.cxx:98
ALFA_RawDataContainer::SetBCId
void SetBCId(uint32_t tmpBCId)
Definition: ALFA_RawDataContainer.cxx:93
ALFA_RawDataContainer::GetTimeStamp
uint32_t GetTimeStamp() const
Definition: ALFA_RawDataContainer.h:108
ALFA_RawDataContainer_p1
Definition: ALFA_RawDataContainer_p1.h:12
ALFA_RawDataContainer::GetLvl2Pattern_POT
const std::vector< bool > & GetLvl2Pattern_POT() const
Definition: ALFA_RawDataContainer.h:106
ALFA_RawDataContainer_p1::lvl1Pattern
std::vector< bool > lvl1Pattern
Definition: ALFA_RawDataContainer_p1.h:22
ALFA_RawDataContainer_p1::LumiBlock
uint32_t LumiBlock
Definition: ALFA_RawDataContainer_p1.h:18