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 
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 
60  void build(const CSCBadChambers* badChambers,
61  const CSCWireDigiCollection* wiredc,
62  const CSCComparatorDigiCollection* compdc,
63  const GEMPadDigiCollection* gemPads,
64  const RPCDigiCollection* rpcDigis,
66  CSCCLCTPreTriggerCollection & oc_pretrig,
68  CSCCorrelatedLCTDigiCollection& oc_sorted_lct,
69  GEMCoPadDigiCollection& oc_gemcopad,
70  GEMCSCLCTDigiCollection& oc_gemcsclct);
71 
76  private:
77 
80  static const int min_endcap; // endcaps
81  static const int max_endcap;
82  static const int min_station; // stations per endcap
83  static const int max_station;
84  static const int min_sector; // trigger sectors per station
85  static const int max_sector;
86  static const int min_subsector; // trigger subsectors per sector
87  static const int max_subsector;
88  static const int min_chamber; // chambers per trigger subsector
89  static const int max_chamber;
90 
93 
96 
99 
102 
105 
108 
109  int m_minBX, m_maxBX; // min and max BX to sort.
110 
112  std::unique_ptr<CSCMotherboard>
114 
118 
120  std::unique_ptr<CSCMuonPortCard> m_muonportcard;
121 };
122 
123 #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)
CSCTriggerPrimitivesBuilder(const edm::ParameterSet &)
void setRPCGeometry(const RPCGeometry *g)
tuple conf
Definition: dbtoconf.py:185
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