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,
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() const;
44 
45  // declusterizes the clusters into single pad digis
47 
48  private:
50  const int theEndcap;
51  const int theStation;
52  const int theChamber;
53 
58  unsigned int infoV;
59  unsigned int maxDeltaPad_;
60  unsigned int maxDeltaBX_;
61  unsigned int maxDeltaRoll_;
62 
63  // output collection
64  std::vector<GEMCoPadDigi> gemCoPadV;
65 };
66 
67 #endif
std::vector< GEMCoPadDigi > run(const GEMPadDigiCollection *)
const std::vector< GEMCoPadDigi > & readoutCoPads() const
std::vector< GEMCoPadDigi > gemCoPadV
void declusterize(const GEMPadDigiClusterCollection *, GEMPadDigiCollection &) const
unsigned int maxDeltaBX_
unsigned int maxDeltaPad_
unsigned int maxDeltaRoll_