ATLAS Offline Software
ALFA_RawDataContainer_charge.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 
16 using std::ostream;
17 using std::endl;
18 
19 //**********************************************************************
20 // Local definitions
21 //**********************************************************************
22 
23 //**********************************************************************
24 // Member functions.
25 //**********************************************************************
26 
27 
28 // Default constructor.
29 
31  //: IdentifiableContainer<ALFA_RawDataCollection_charge>()
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),
42  m_triggerTypeId(0),
43  m_DetEventType(0)
44 {
45 }
46 
47 
48 //**********************************************************************
49 
50 // Destructor.
51 
53 
54 }
55 
56 //**********************************************************************
57 
58 
59 // Return the total number of digits in the container.
60 
65 
66  for (; it != iend; ++it ) {
67  count += (*it)->size();
68  }
69  return count;
70 }
71 
73 {
74  m_subdetId = 0;
75  m_mrodId = 0;
76  m_runNum = 0;
77  m_runType = 0;
78  m_lvl1Id = 0;
79  m_ecrId = 0;
80  m_bcId = 0;
81  m_triggerTypeId = 0;
82  m_DetEventType = 0;
83 }
84 
ALFA_RawDataContainer_charge::m_subdetId
uint16_t m_subdetId
Definition: ALFA_RawDataContainer_charge.h:32
ALFA_RawDataContainer_charge.h
ALFA_RawDataContainer_charge::digit_size
size_type digit_size() const
Definition: ALFA_RawDataContainer_charge.cxx:61
DataModel_detail::const_iterator
Const iterator class for DataVector/DataList.
Definition: DVLIterator.h:82
ALFA_RawDataCollection_charge
RDOs : Chamber Service Module, collection of RawData.
Definition: ALFA_RawDataCollection_charge.h:19
ALFA_RawDataContainer_charge::~ALFA_RawDataContainer_charge
~ALFA_RawDataContainer_charge()
Definition: ALFA_RawDataContainer_charge.cxx:52
ALFA_RawDataContainer_charge::m_runType
uint16_t m_runType
Definition: ALFA_RawDataContainer_charge.h:38
ALFA_RawDataContainer_charge::m_triggerTypeId
uint16_t m_triggerTypeId
Definition: ALFA_RawDataContainer_charge.h:39
skel.it
it
Definition: skel.GENtoEVGEN.py:396
ALFA_RawDataContainer_charge::ALFA_RawDataContainer_charge
ALFA_RawDataContainer_charge()
Definition: ALFA_RawDataContainer_charge.cxx:30
XMLtoHeader.count
count
Definition: XMLtoHeader.py:85
ALFA_RawDataContainer_charge::m_ecrId
uint16_t m_ecrId
Definition: ALFA_RawDataContainer_charge.h:35
ALFA_RawDataContainer_charge::m_bcId
uint16_t m_bcId
Definition: ALFA_RawDataContainer_charge.h:36
ALFA_RawDataContainer_charge::m_mrodId
uint16_t m_mrodId
Definition: ALFA_RawDataContainer_charge.h:33
ALFA_RawDataContainer_charge::setZero
void setZero()
Definition: ALFA_RawDataContainer_charge.cxx:72
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
ALFA_RawDataContainer_charge::m_lvl1Id
uint32_t m_lvl1Id
Definition: ALFA_RawDataContainer_charge.h:34
DataVector< ALFA_RawDataCollection_charge >::end
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
ALFA_RawDataContainer_charge::m_runNum
uint32_t m_runNum
Definition: ALFA_RawDataContainer_charge.h:37
ALFA_RawDataContainer_charge::m_DetEventType
uint32_t m_DetEventType
Definition: ALFA_RawDataContainer_charge.h:40
ALFA_RawDataContainer_charge::size_type
ALFA_RawDataCollection_charge::size_type size_type
Definition: ALFA_RawDataContainer_charge.h:59
SelectAllObject.h
StoreGateSvc.h
DataVector< ALFA_RawDataCollection_charge >::begin
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.