test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCTriggerPrimitivesBuilder.h
Go to the documentation of this file.
1 #ifndef L1Trigger_CSCTriggerPrimitives_CSCTriggerPrimitivesBuilder_h
2 #define L1Trigger_CSCTriggerPrimitives_CSCTriggerPrimitivesBuilder_h
3 
29 
31 class CSCMotherboard;
32 class CSCMuonPortCard;
33 class CSCGeometry;
34 class GEMGeometry;
35 class RPCGeometry;
36 
38 {
39  public:
40 
46 
48 
50  void setConfigParameters(const CSCDBL1TPParameters* conf);
51 
53  void setCSCGeometry(const CSCGeometry *g) { csc_g = g; }
54  void setGEMGeometry(const GEMGeometry *g) { gem_g = g; }
55  void setRPCGeometry(const RPCGeometry *g) { rpc_g = g; }
56 
57  /* temporary function to check if running on data */
59 
63  void build(const CSCBadChambers* badChambers,
64  const CSCWireDigiCollection* wiredc,
65  const CSCComparatorDigiCollection* compdc,
66  const GEMPadDigiCollection* gemPads,
67  const RPCDigiCollection* rpcDigis,
69  CSCCLCTPreTriggerCollection & oc_pretrig,
71  CSCCorrelatedLCTDigiCollection& oc_sorted_lct,
72  GEMCoPadDigiCollection& oc_gemcopad,
73  GEMCSCLCTDigiCollection& oc_gemcsclct);
74 
79  private:
80 
83  static const int min_endcap; // endcaps
84  static const int max_endcap;
85  static const int min_station; // stations per endcap
86  static const int max_station;
87  static const int min_sector; // trigger sectors per station
88  static const int max_sector;
89  static const int min_subsector; // trigger subsectors per sector
90  static const int max_subsector;
91  static const int min_chamber; // chambers per trigger subsector
92  static const int max_chamber;
93 
95  bool runOnData_;
96 
99 
102 
105 
108 
111 
114 
115  int m_minBX, m_maxBX; // min and max BX to sort.
116 
118  std::unique_ptr<CSCMotherboard>
120 
124 
126  std::unique_ptr<CSCMuonPortCard> m_muonportcard;
127 };
128 
129 #endif
std::unique_ptr< CSCMotherboard > tmb_[MAX_ENDCAPS][MAX_STATIONS][MAX_SECTORS][MAX_SUBSECTORS][MAX_CHAMBERS]
void setGEMGeometry(const GEMGeometry *g)
void setCSCGeometry(const CSCGeometry *g)
set CSC and GEM geometries for the matching needs
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
void setConfigParameters(const CSCDBL1TPParameters *conf)
bool runOnData_
temporary flag to run on data
CSCTriggerPrimitivesBuilder(const edm::ParameterSet &)
void setRPCGeometry(const RPCGeometry *g)
void build(const CSCBadChambers *badChambers, const CSCWireDigiCollection *wiredc, const CSCComparatorDigiCollection *compdc, const GEMPadDigiCollection *gemPads, const RPCDigiCollection *rpcDigis, CSCALCTDigiCollection &oc_alct, CSCCLCTDigiCollection &oc_clct, CSCCLCTPreTriggerCollection &oc_pretrig, CSCCorrelatedLCTDigiCollection &oc_lct, CSCCorrelatedLCTDigiCollection &oc_sorted_lct, GEMCoPadDigiCollection &oc_gemcopad, GEMCSCLCTDigiCollection &oc_gemcsclct)
bool checkBadChambers_
a flag whether to skip chambers from the bad chambers map
std::unique_ptr< CSCMuonPortCard > m_muonportcard