CMS 3D CMS Logo

CSCTriggerPrimitivesBuilder.h
Go to the documentation of this file.
1 #ifndef L1Trigger_CSCTriggerPrimitives_CSCTriggerPrimitivesBuilder_h
2 #define L1Trigger_CSCTriggerPrimitives_CSCTriggerPrimitivesBuilder_h
3 
28 
30 class CSCMotherboard;
31 class CSCMuonPortCard;
32 class CSCGeometry;
33 class GEMGeometry;
34 class RPCGeometry;
35 
37 {
38  public:
39 
45 
47 
49  void setConfigParameters(const CSCDBL1TPParameters* conf);
50 
52  void setCSCGeometry(const CSCGeometry *g) { csc_g = g; }
53  void setGEMGeometry(const GEMGeometry *g) { gem_g = g; }
54  void setRPCGeometry(const RPCGeometry *g) { rpc_g = g; }
55 
56  /* temporary function to check if running on data */
58 
62  void build(const CSCBadChambers* badChambers,
63  const CSCWireDigiCollection* wiredc,
64  const CSCComparatorDigiCollection* compdc,
65  const GEMPadDigiCollection* gemPads,
66  const RPCDigiCollection* rpcDigis,
68  CSCCLCTPreTriggerCollection & oc_pretrig,
70  CSCCorrelatedLCTDigiCollection& oc_sorted_lct,
71  GEMCoPadDigiCollection& oc_gemcopad);
72 
77  private:
78 
81  static const int min_endcap; // endcaps
82  static const int max_endcap;
83  static const int min_station; // stations per endcap
84  static const int max_station;
85  static const int min_sector; // trigger sectors per station
86  static const int max_sector;
87  static const int min_subsector; // trigger subsectors per sector
88  static const int max_subsector;
89  static const int min_chamber; // chambers per trigger subsector
90  static const int max_chamber;
91 
93  bool runOnData_;
94 
97 
100 
103 
106 
109 
112 
113  int m_minBX, m_maxBX; // min and max BX to sort.
114 
116  std::unique_ptr<CSCMotherboard>
118 
122 
124  std::unique_ptr<CSCMuonPortCard> m_muonportcard;
125 };
126 
127 #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)
bool checkBadChambers_
a flag whether to skip chambers from the bad chambers map
std::unique_ptr< CSCMuonPortCard > m_muonportcard