ATLAS Offline Software
CMAtrigger.h
Go to the documentation of this file.
1 /* // -*- C++ -*- */
2 
3 /*
4  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 
8 #ifndef CMATRIGGER_H
9 #define CMATRIGGER_H
10 
12 
15 
16 class CMApatterns;
17 class RPCdigit;
18 
19 
21 
23 {
24  private:
28  int m_Kpatt;
33 
34  void set_width (const float width);
35  void set_Kpatt (int Kpatt);
36  void set_pivot (const RPCdigit*);
37  void set_lowPt (const RPCdigit*);
38  void set_highPt(const RPCdigit*);
39 
40  public:
42  const CMApatterns*,const RPCdigit**);
45  CMAtrigger(const CMAtrigger&);
46 
48 
49  bool operator==(const CMAtrigger&) const;
50  bool operator!=(const CMAtrigger&) const;
51  bool operator< (const CMAtrigger&) const;
52  void operator+=(const CMAtrigger&);
53 
54  int sector(void) const;
55 
56  Lvl1RPCalgo emulation(void) const {return m_emulation;}
57  const TRIGGERidentity& trigger(void) const {return m_trigger;}
58  const CMApatterns* patterns(void) const {return m_cma_patterns;}
59  const RPCdigit* pivot_hit(void) const {return m_pivot_hit;}
60  const RPCdigit* lowPt_hit(void) const {return m_lowPt_hit;}
61  const RPCdigit* highPt_hit(void) const {return m_highPt_hit;}
62  float trigger_width(void) const {return m_trigger_width;}
63  int Kpatt(void) const {return m_Kpatt;}
64 
65  const CMAidentity& cma(void) const;
66 
67  void Print(std::ostream&,bool) const;
68 
69  friend class CMApatterns;
70 };
71 
72 #endif
TrigType
TrigType
Definition: TRIGGERidentity.h:17
CMAtrigger::lowPt_hit
const RPCdigit * lowPt_hit(void) const
Definition: CMAtrigger.h:60
CMAtrigger::m_trigger_width
float m_trigger_width
Definition: CMAtrigger.h:27
TRIGGERidentity
Definition: TRIGGERidentity.h:20
CMAtrigger::set_Kpatt
void set_Kpatt(int Kpatt)
Definition: CMAtrigger.cxx:130
CMAidentity.h
CMAtrigger::m_cma_patterns
const CMApatterns * m_cma_patterns
Definition: CMAtrigger.h:29
CMAtrigger::operator=
CMAtrigger operator=(const CMAtrigger &)
Definition: CMAtrigger.cxx:51
CMAtrigger::m_emulation
Lvl1RPCalgo m_emulation
Definition: CMAtrigger.h:25
CMAtrigger::operator==
bool operator==(const CMAtrigger &) const
Definition: CMAtrigger.cxx:86
CMAtrigger::set_highPt
void set_highPt(const RPCdigit *)
Definition: CMAtrigger.cxx:154
CMAtrigger::CMAtrigger
CMAtrigger(Lvl1RPCalgo, TrigType, Threshold, bool, float width, const CMApatterns *, const RPCdigit **)
CMAtrigger::set_pivot
void set_pivot(const RPCdigit *)
Definition: CMAtrigger.cxx:142
CMAtrigger::patterns
const CMApatterns * patterns(void) const
Definition: CMAtrigger.h:58
CMAtrigger::pivot_hit
const RPCdigit * pivot_hit(void) const
Definition: CMAtrigger.h:59
CMAtrigger::cma
const CMAidentity & cma(void) const
Definition: CMAtrigger.cxx:124
CMAtrigger::Print
void Print(std::ostream &, bool) const
Definition: CMAtrigger.cxx:160
CMAtrigger::sector
int sector(void) const
Definition: CMAtrigger.cxx:118
TRIGGERidentity.h
CMAtrigger::m_lowPt_hit
const RPCdigit * m_lowPt_hit
Definition: CMAtrigger.h:31
GeometricAlgo
@ GeometricAlgo
Definition: CMAtrigger.h:20
CMAtrigger::m_Kpatt
int m_Kpatt
Definition: CMAtrigger.h:28
CMAtrigger::trigger_width
float trigger_width(void) const
Definition: CMAtrigger.h:62
CMAtrigger
Definition: CMAtrigger.h:23
RPCtrigDataObject
Definition: RPCtrigDataObject.h:15
CMAtrigger::Kpatt
int Kpatt(void) const
Definition: CMAtrigger.h:63
CMAtrigger::operator+=
void operator+=(const CMAtrigger &)
Definition: CMAtrigger.cxx:68
RPCdigit
Definition: RPCdigit.h:16
CMAtrigger::m_pivot_hit
const RPCdigit * m_pivot_hit
Definition: CMAtrigger.h:30
Lvl1RPCalgo
Lvl1RPCalgo
Definition: CMAtrigger.h:20
CMAtrigger::operator!=
bool operator!=(const CMAtrigger &) const
Definition: CMAtrigger.cxx:103
RPCtrigDataObject.h
CMAtrigger::set_width
void set_width(const float width)
Definition: CMAtrigger.cxx:136
HardwareEmulation
@ HardwareEmulation
Definition: CMAtrigger.h:20
Threshold
Threshold
Definition: TRIGGERidentity.h:18
CMAidentity
Definition: CMAidentity.h:16
CMAtrigger::trigger
const TRIGGERidentity & trigger(void) const
Definition: CMAtrigger.h:57
Base_Fragment.width
width
Definition: Sherpa_i/share/common/Base_Fragment.py:59
CMAtrigger::operator<
bool operator<(const CMAtrigger &) const
Definition: CMAtrigger.cxx:109
CMAtrigger::highPt_hit
const RPCdigit * highPt_hit(void) const
Definition: CMAtrigger.h:61
CMAtrigger::m_trigger
TRIGGERidentity m_trigger
Definition: CMAtrigger.h:26
CMApatterns
Definition: CMApatterns.h:21
CMAtrigger::set_lowPt
void set_lowPt(const RPCdigit *)
Definition: CMAtrigger.cxx:148
CMAtrigger::emulation
Lvl1RPCalgo emulation(void) const
Definition: CMAtrigger.h:56
LogicEmulation
@ LogicEmulation
Definition: CMAtrigger.h:20
CMAtrigger::m_highPt_hit
const RPCdigit * m_highPt_hit
Definition: CMAtrigger.h:32