ATLAS Offline Software
RPCrawData.h
Go to the documentation of this file.
1 /* // -*- C++ -*- */
2 
3 /*
4  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 
8 #ifndef RPCRAWDATA_H
9 #define RPCRAWDATA_H
10 
11 #include <iostream>
12 #include <list>
13 
14 #include "TrigT1RPClogic/RPCdata.h"
16 
17 class RPCrawData : public RPCdata
18 {
19  public:
20  typedef std::list < RPCrawDigit > DigitList;
21 
22  private:
25 
26 
27  public:
28  RPCrawData();
29  RPCrawData(const RPCrawData&);
30  ~RPCrawData();
31 
33 
34  public:
36 
37  const DigitList& eta_digits(void) const {return m_eta_digits;}
38  const DigitList& phi_digits(void) const {return m_phi_digits;}
39 
41 
44  virtual int how_many(int type,
45  int sector,
46  int station,
47  int layer,
48  int chamber,
49  int strip ) const;
50 
51  void PrintElement(std::ostream&,std::string,bool) const;
52 };
53 
54 
55 template <class X> X& operator<<(X& stream,const RPCrawData& data)
56 {
57  std::ostringstream display;
58  data.PrintElement(display,data.name(),false);
59  stream << display.str();
60  return stream;
61 }
62 
63 #endif
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
RPCrawData::operator<<
const RPCrawDigit * operator<<(RPCrawDigit &)
Definition: RPCrawData.cxx:75
SiliconTech::strip
@ strip
RPCrawData::PrintElement
void PrintElement(std::ostream &, std::string, bool) const
Definition: RPCrawData.cxx:150
RPCrawData::m_phi_digits
DigitList m_phi_digits
Definition: RPCrawData.h:24
calibdata.chamber
chamber
Definition: calibdata.py:32
RPCrawDigit.h
AthenaPoolTestWrite.stream
string stream
Definition: AthenaPoolTestWrite.py:12
RPCrawData::m_eta_digits
DigitList m_eta_digits
Definition: RPCrawData.h:23
operator<<
X & operator<<(X &stream, const RPCrawData &data)
Definition: RPCrawData.h:55
Monitored::X
@ X
Definition: HistogramFillerUtils.h:24
RPCrawData::eta_digits_list
RPCdata::digitList eta_digits_list(void) const
Definition: RPCrawData.cxx:81
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
RPCrawData
Definition: RPCrawData.h:18
RPCrawData::operator=
RPCrawData operator=(const RPCrawData &)
Definition: RPCrawData.cxx:30
pyroot.display
display
Definition: pyroot.py:44
RPCdata
Definition: RPCdata.h:19
RPCrawData::phi_digits
const DigitList & phi_digits(void) const
Definition: RPCrawData.h:38
RPCdata.h
RPCrawData::how_many
virtual int how_many(int type, int sector, int station, int layer, int chamber, int strip) const
Definition: RPCrawData.cxx:107
RPCrawDigit
Definition: RPCrawDigit.h:15
RPCrawData::~RPCrawData
~RPCrawData()
Definition: RPCrawData.cxx:23
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
RPCdata::digitList
std::list< const RPCdigit * > digitList
Definition: RPCdata.h:21
RPCrawData::eta_digits
const DigitList & eta_digits(void) const
Definition: RPCrawData.h:37
RPCrawData::load_data
const RPCrawDigit * load_data(RPCrawDigit &)
Definition: RPCrawData.cxx:43
RPCrawData::DigitList
std::list< RPCrawDigit > DigitList
Definition: RPCrawData.h:20
RPCrawData::RPCrawData
RPCrawData()
Definition: RPCrawData.cxx:9
RPCrawData::phi_digits_list
RPCdata::digitList phi_digits_list(void) const
Definition: RPCrawData.cxx:94