ATLAS Offline Software
Loading...
Searching...
No Matches
ALFA_RawDataContainer.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/Bootstrap.h"
6#include "GaudiKernel/ISvcLocator.h"
7#include "GaudiKernel/IMessageSvc.h"
9
12#include <map>
13#include <cassert>
14#include <iostream>
15
16using std::ostream;
17using std::endl;
18
19//**********************************************************************
20// Local definitions
21//**********************************************************************
22
23//**********************************************************************
24// Member functions.
25//**********************************************************************
26
27
28// Default constructor.
29
31 //: IdentifiableContainer<ALFA_RawDataCollection>()
33 m_wordMarker(0),
34 //m_dataWord(0),
35 m_subdetId(0),
36 m_mrodId(0),
37 m_lvl1Id(0),
38 m_ecrId(0),
39 m_bcId(0),
40 m_runNum(0),
41 m_runType(0),
44 m_TimeStamp(0),
46 m_BCId(0),
47 m_LumiBlock(0),
49{
50}
51
52
53//**********************************************************************
54
55// Destructor.
56
60
61//**********************************************************************
62
63
64// Return the total number of digits in the container.
65
76
77
78void ALFA_RawDataContainer::SetTimeStamp(uint32_t tmpTimeStamp)
79{
80 m_TimeStamp=tmpTimeStamp;
81}
82
83void ALFA_RawDataContainer::SetTimeStampns(uint32_t tmpTimeStampns)
84{
85 m_TimeStampns=tmpTimeStampns;
86}
87
88void ALFA_RawDataContainer::SetLumiBlock(uint32_t tmpLumiBlock)
89{
90 m_LumiBlock=tmpLumiBlock;
91}
92
93void ALFA_RawDataContainer::SetBCId(uint32_t tmpBCId)
94{
95 m_BCId=tmpBCId;
96}
97
98void ALFA_RawDataContainer::SetLvl1Pattern(const std::vector<bool>& tmplvl1_pattern)
99{
100 m_lvl1Pattern = tmplvl1_pattern;
101}
102
103void ALFA_RawDataContainer::SetLvl2Pattern(const std::vector<bool>& tmplvl2_pattern)
104{
105 m_lvl2Pattern = tmplvl2_pattern;
106}
107
108void ALFA_RawDataContainer::SetEFPattern(const std::vector<bool>& tmpef_pattern)
109{
110 m_efPattern = tmpef_pattern;
111}
112
113
114
116{
117 m_subdetId = 0;
118 m_mrodId = 0;
119 m_runNum = 0;
120 m_runType = 0;
121 m_lvl1Id = 0;
122 m_ecrId = 0;
123 m_bcId = 0;
124 m_triggerTypeId = 0;
125 m_DetEventType = 0;
126
127 m_TimeStamp=0;
129 m_LumiBlock=0;
130 m_BCId=0;
131 m_lvl1Pattern.clear();
132 m_lvl2Pattern.clear();
133 m_efPattern.clear();
134
135}
136
RDOs : Chamber Service Module, collection of RawData.
void SetTimeStampns(uint32_t tmpTimeStampns)
void SetTimeStamp(uint32_t tmpTimeStamp)
void SetLvl2Pattern(const std::vector< bool > &tmplvl2_pattern)
void SetBCId(uint32_t tmpBCId)
std::vector< bool > m_efPattern
void SetLvl1Pattern(const std::vector< bool > &tmplvl1_pattern)
void SetLumiBlock(uint32_t tmpLumiBlock)
std::vector< bool > m_lvl1Pattern
std::vector< bool > m_lvl2Pattern
ALFA_RawDataCollection::size_type size_type
void SetEFPattern(const std::vector< bool > &tmpef_pattern)
DataModel_detail::const_iterator< DataVector > const_iterator
Definition DataVector.h:838
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
const_iterator end() const noexcept
const_iterator begin() const noexcept
int count(std::string s, const std::string &regx)
count how many occurances of a regx are in a string
Definition hcg.cxx:146