CMS 3D CMS Logo

GEMCoPadProcessor.h
Go to the documentation of this file.
1 #ifndef L1Trigger_CSCTriggerPrimitives_GEMCoPadProcessor_h
2 #define L1Trigger_CSCTriggerPrimitives_GEMCoPadProcessor_h
3 
14 
15 #include <vector>
16 
18 {
19  public:
21  GEMCoPadProcessor(unsigned endcap, unsigned station, unsigned chamber,
22  const edm::ParameterSet& copad);
23 
26 
28  void clear();
29 
32  std::vector<GEMCoPadDigi> run(const GEMPadDigiCollection*);
33 
36  std::vector<GEMCoPadDigi> run(const GEMPadDigiClusterCollection*);
37 
39  enum {MAX_CoPad_BINS = 3};
40 
42  const std::vector<GEMCoPadDigi>& readoutCoPads();
43 
44  // declusterizes the clusters into single pad digis
46 
47  private:
49  const int theEndcap;
50  const int theStation;
51  const int theChamber;
52 
57  unsigned int infoV;
58  unsigned int maxDeltaPadGE11_;
59  unsigned int maxDeltaPadGE21_;
60  unsigned int maxDeltaRollGE11_;
61  unsigned int maxDeltaRollGE21_;
62  unsigned int maxDeltaBX_;
63 
64  // output collection
65  std::vector<GEMCoPadDigi> gemCoPadV;
66 };
67 
68 #endif
std::vector< GEMCoPadDigi > run(const GEMPadDigiCollection *)
void declusterize(const GEMPadDigiClusterCollection *, GEMPadDigiCollection &)
unsigned int maxDeltaRollGE21_
std::vector< GEMCoPadDigi > gemCoPadV
unsigned int maxDeltaPadGE21_
unsigned int maxDeltaPadGE11_
unsigned int maxDeltaBX_
unsigned int maxDeltaRollGE11_
const std::vector< GEMCoPadDigi > & readoutCoPads()