ATLAS Offline Software
SLpatterns.h
Go to the documentation of this file.
1 /* // -*- C++ -*- */
2 
3 /*
4  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 
8 #ifndef SLPATTERNS_H
9 #define SLPATTERNS_H
10 
11 #include <memory>
12 #include <string>
13 #include <utility>
14 #include <list>
15 #include "TrigT1RPClogic/PADdata.h"
17 
19 
21 {
22  private:
23  int m_sector;
24  unsigned long int m_debug;
25 
27 
28  std::unique_ptr<SectorLogic> m_SectorL;
29 
30 
31  public:
32  SLpatterns(int,unsigned long int);
33  SLpatterns(const SLpatterns&);
34 
36 
37  bool operator==(const SLpatterns&) const;
38  bool operator!=(const SLpatterns&) const;
39  bool operator< (const SLpatterns&) const;
40 
43 
44  int sector(void) const {return m_sector;}
45 
46  unsigned long int debug(void) const {return m_debug;}
47 
48  const PADdata::PatternsList& pad_patterns(void) const
49  {return m_pad_patterns;}
50 
51  SectorLogic* give_SectorL(const RpcCablingCondData* readCdo, int NOBXS, int BCZERO);
52 
53  void Print (std::ostream&,bool) const;
54 };
55 
56 template <class X> X& operator<<(X& stream,const SLpatterns& data)
57 {
58  std::ostringstream display;
59  data.Print(display,false);
60  stream << display.str();
61  return stream;
62 }
63 
64 
65 #endif
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
SLpatterns::load_pad_patterns
void load_pad_patterns(PADpatterns *)
Definition: SLpatterns.cxx:59
SLpatterns::pad_patterns
const PADdata::PatternsList & pad_patterns(void) const
Definition: SLpatterns.h:48
SLpatterns::m_pad_patterns
PADdata::PatternsList m_pad_patterns
Definition: SLpatterns.h:26
SLpatterns::operator==
bool operator==(const SLpatterns &) const
Definition: SLpatterns.cxx:38
SLpatterns::m_sector
int m_sector
Definition: SLpatterns.h:23
SectorLogic
Definition: SectorLogic.h:96
SLpatterns::m_debug
unsigned long int m_debug
Definition: SLpatterns.h:24
AthenaPoolTestWrite.stream
string stream
Definition: AthenaPoolTestWrite.py:12
RpcCablingCondData
Definition: RpcCablingCondData.h:21
Monitored::X
@ X
Definition: HistogramFillerUtils.h:24
PADpatterns
Definition: PADpatterns.h:20
SLpatterns::give_SectorL
SectorLogic * give_SectorL(const RpcCablingCondData *readCdo, int NOBXS, int BCZERO)
Definition: SLpatterns.cxx:73
SLpatterns::operator=
SLpatterns operator=(const SLpatterns &)
Definition: SLpatterns.cxx:26
PADdata::PatternsList
std::list< PADpatterns * > PatternsList
Definition: PADdata.h:19
operator<<
X & operator<<(X &stream, const SLpatterns &data)
Definition: SLpatterns.h:56
SLpatterns::operator<<
SLpatterns & operator<<(PADpatterns *)
Definition: SLpatterns.cxx:66
SLpatterns::Print
void Print(std::ostream &, bool) const
Definition: SLpatterns.cxx:118
SLpatterns::SLpatterns
SLpatterns(int, unsigned long int)
Definition: SLpatterns.cxx:11
SLpatterns
Definition: SLpatterns.h:21
pyroot.display
display
Definition: pyroot.py:44
SLpatterns::debug
unsigned long int debug(void) const
Definition: SLpatterns.h:46
SLpatterns::operator<
bool operator<(const SLpatterns &) const
Definition: SLpatterns.cxx:52
RPCtrigDataObject
Definition: RPCtrigDataObject.h:15
SLpatterns::operator!=
bool operator!=(const SLpatterns &) const
Definition: SLpatterns.cxx:45
RpcCablingCondData.h
SLpatterns::sector
int sector(void) const
Definition: SLpatterns.h:44
SectorLogic.h
SLpatterns::m_SectorL
std::unique_ptr< SectorLogic > m_SectorL
Definition: SLpatterns.h:28
PADdata.h