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 ring,
22  unsigned chamber,
23  const edm::ParameterSet& copad);
24 
27 
29  void clear();
30 
33  std::vector<GEMCoPadDigi> run(const GEMPadDigiCollection*);
34 
37  std::vector<GEMCoPadDigi> run(const GEMPadDigiClusterCollection*);
38 
40  enum {MAX_CoPad_BINS = 3};
41 
43  const std::vector<GEMCoPadDigi>& readoutCoPads();
44 
45  // declusterizes the clusters into single pad digis
47 
48  private:
50  const int theEndcap;
51  const int theStation;
52  const int theRing;
53  const int theChamber;
54 
59  unsigned int infoV;
60  unsigned int maxDeltaPadGE11_;
61  unsigned int maxDeltaPadGE21_;
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 &)
std::vector< GEMCoPadDigi > gemCoPadV
unsigned int maxDeltaPadGE21_
unsigned int maxDeltaPadGE11_
unsigned int maxDeltaBX_
const std::vector< GEMCoPadDigi > & readoutCoPads()