ATLAS Offline Software
Loading...
Searching...
No Matches
RPCPadParameters.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5/***************************************************************************
6
7 -----------------------------------------
8 ***************************************************************************/
9
10#ifndef MUONRPC_CABLING_RPCPADPARAMETERS_H
11#define MUONRPC_CABLING_RPCPADPARAMETERS_H
12#include <iostream>
13
14// This class contains the trigger parameters for a given Pad (tower)
15
17private:
18 bool m_feet_on; // special treatment for feet towers: true=on false=off
19 bool m_eta_and_phi; // true=eta-AND-phi false=eta-OR-phi
20 unsigned short int m_feet_thresholds; // thresholds for feet towers : th1+ 8*th2 + 64*th3
21 unsigned short int m_cma_mask; // cma mask
22
23public:
28
29 bool feet_on(void) const { return m_feet_on; };
30 bool eta_and_phi(void) const { return m_eta_and_phi; };
31 unsigned short int feet_thresholds(void) const { return m_feet_thresholds; };
32 unsigned short int cma_mask(void) const { return m_cma_mask; };
33
36 void set_cma_mask(unsigned int mask) { m_cma_mask = mask; };
37
38 void set_phi_only() {
39 m_cma_mask = 0x33;
40 m_eta_and_phi = false;
41 };
42 void set_eta_only() {
43 m_cma_mask = 0xcc;
44 m_eta_and_phi = false;
45 };
46
47 unsigned short int feet_threshold(unsigned short int it) const;
48 bool set_feet_threshold(unsigned short int it, unsigned short int th);
49
50 void Print(std::ostream& stream) const;
51};
52
53#endif // MUONRPC_CABLING_RPCPADPARAMETERS_H
bool feet_on(void) const
unsigned short int m_feet_thresholds
void set_cma_mask(unsigned int mask)
unsigned short int cma_mask(void) const
unsigned short int m_cma_mask
bool set_feet_threshold(unsigned short int it, unsigned short int th)
void Print(std::ostream &stream) const
void set_feet_on(bool feet_on)
unsigned short int feet_threshold(unsigned short int it) const
RPCPadParameters & operator=(const RPCPadParameters &)
void set_eta_and_phi(bool eta_and_phi)
unsigned short int feet_thresholds(void) const
bool eta_and_phi(void) const