CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CSCBaseboard.h
Go to the documentation of this file.
1 #ifndef L1Trigger_CSCTriggerPrimitives_CSCBaseboard_h
2 #define L1Trigger_CSCTriggerPrimitives_CSCBaseboard_h
3 
12 
13 class CSCBaseboard {
14 public:
16  CSCBaseboard(unsigned endcap,
17  unsigned station,
18  unsigned sector,
19  unsigned subsector,
20  unsigned chamber,
21  const edm::ParameterSet& conf);
22 
24  CSCBaseboard();
25 
27  virtual ~CSCBaseboard() = default;
28 
29  void setCSCGeometry(const CSCGeometry* g);
30 
31  std::string getCSCName() const { return theCSCName_; }
32 
33  CSCDetId id() const { return cscId_; }
34 
35 protected:
36  void checkConfigParameters(unsigned int& var,
37  const unsigned int var_max,
38  const unsigned int var_def,
39  const std::string& var_str);
40 
42  const unsigned theEndcap;
43  const unsigned theStation;
44  const unsigned theSector;
45  const unsigned theSubsector;
46  const unsigned theTrigChamber;
47  int theRegion;
48  unsigned theRing;
49  unsigned theChamber;
50 
51  // is this an ME11 chamber?
52  bool isME11_;
53  bool isME21_;
54  bool isME31_;
55  bool isME41_;
56  bool isME12_;
57  bool isME22_;
58  bool isME32_;
59  bool isME42_;
60  bool isME13_;
61 
62  // CSCDetId for this chamber
64 
69  int infoV;
70 
73 
74  // Parameters common for all boards
76 
77  // Motherboard parameters:
79 
80  // ALCT Processor parameters:
82 
83  // CLCT Processor parameters:
85 
86  // Shower Trigger parameters:
88 
89  // chamber name, e.g. ME+1/1/9
91 
93  bool runPhase2_;
95 
98 
101 
104 
110 
111  bool runCCLUT_;
114 };
115 #endif
const unsigned theEndcap
Definition: CSCBaseboard.h:42
bool enableAlctPhase2_
Definition: CSCBaseboard.h:94
const CSCChamber * cscChamber_
Definition: CSCBaseboard.h:72
void checkConfigParameters(unsigned int &var, const unsigned int var_max, const unsigned int var_def, const std::string &var_str)
bool runCCLUT_TMB_
Definition: CSCBaseboard.h:112
const unsigned theSector
Definition: CSCBaseboard.h:44
bool disableME1a_
Definition: CSCBaseboard.h:97
std::string theCSCName_
Definition: CSCBaseboard.h:90
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
Definition: Activities.doc:4
CSCDetId cscId_
Definition: CSCBaseboard.h:63
CSCDetId id() const
Definition: CSCBaseboard.h:33
bool gangedME1a_
Definition: CSCBaseboard.h:97
const unsigned theTrigChamber
Definition: CSCBaseboard.h:46
list var
if using global norm cols_to_minmax = ['t_delta', 't_hmaxNearP','t_emaxNearP', 't_hAnnular', 't_eAnnular','t_pt','t_nVtx','t_ieta','t_eHcal10', 't_eHcal30','t_rhoh','t_eHcal'] df[cols_to_minmax] = df[cols_to_minmax].apply(lambda x: (x - x.min()) / (x.max() - x.min()) if (x.max() - x.min() > 0) else 1.0/200.0)
bool runCCLUT_OTMB_
Definition: CSCBaseboard.h:113
unsigned theChamber
Definition: CSCBaseboard.h:49
edm::ParameterSet clctParams_
Definition: CSCBaseboard.h:84
std::string getCSCName() const
Definition: CSCBaseboard.h:31
const CSCGeometry * cscGeometry_
Definition: CSCBaseboard.h:71
edm::ParameterSet tmbParams_
Definition: CSCBaseboard.h:78
const unsigned theStation
Definition: CSCBaseboard.h:43
void setCSCGeometry(const CSCGeometry *g)
Definition: CSCBaseboard.cc:99
virtual ~CSCBaseboard()=default
edm::ParameterSet alctParams_
Definition: CSCBaseboard.h:81
unsigned theRing
Definition: CSCBaseboard.h:48
edm::ParameterSet commonParams_
Definition: CSCBaseboard.h:75
edm::ParameterSet showerParams_
Definition: CSCBaseboard.h:87
const unsigned theSubsector
Definition: CSCBaseboard.h:45