CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCHitFromWireOnly.h
Go to the documentation of this file.
1 #ifndef CSCRecHitD_CSCHitFromWireOnly_h
2 #define CSCRecHitD_CSCHitFromWireOnly_h
3 
22 
24 
26 
29 
30 #include <vector>
31 
32 class CSCLayer;
33 class CSCLayerGeometry;
34 class CSCDetId;
35 
36 
38 {
39  public:
40 
41  typedef std::vector<int> ChannelContainer;
42 
43 
44  explicit CSCHitFromWireOnly( const edm::ParameterSet& ps );
45 
47 
48  std::vector<CSCWireHit> runWire( const CSCDetId& id, const CSCLayer* layer, const CSCWireDigiCollection::Range& rwired );
51  }
52  void makeWireCluster(const CSCWireDigi& digi);
53  bool addToCluster(const CSCWireDigi& digi);
54  float findWireHitPosition();
55 
57  const CSCLayer * layer_;
59 
60  private:
61  bool isDeadWG(const CSCDetId& id, int WG);
62 
63  std::vector<CSCWireDigi> wire_cluster;
64  std::vector<int> wire_in_cluster;
65  std::vector<float> wire_spacing;
66  int theTime;
68  std::vector<int> wire_in_clusterAndBX;
69 
70  int deltaT;
71  //int clusterSize;
72 
75 };
76 
77 #endif
78 
79 
std::vector< float > wire_spacing
int deltaT
To fill BX + wiregroup in CSCWireHit.
std::vector< int > wire_in_cluster
void setConditions(const CSCRecoConditions *reco)
void makeWireCluster(const CSCWireDigi &digi)
const CSCLayer * layer_
bool addToCluster(const CSCWireDigi &digi)
CSCHitFromWireOnly(const edm::ParameterSet &ps)
std::vector< CSCWireHit > runWire(const CSCDetId &id, const CSCLayer *layer, const CSCWireDigiCollection::Range &rwired)
std::vector< int > wire_in_clusterAndBX
std::pair< const_iterator, const_iterator > Range
const CSCRecoConditions * recoConditions_
Hold pointer to current conditions data.
std::vector< int > ChannelContainer
const CSCLayerGeometry * layergeom_
bool isDeadWG(const CSCDetId &id, int WG)
std::vector< CSCWireDigi > wire_cluster