CMS 3D CMS Logo

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 
37 public:
38  typedef std::vector<int> ChannelContainer;
39 
40  explicit CSCHitFromWireOnly(const edm::ParameterSet& ps);
41 
43 
44  std::vector<CSCWireHit> runWire(const CSCDetId& id,
45  const CSCLayer* layer,
46  const CSCWireDigiCollection::Range& rwired);
48  void makeWireCluster(const CSCWireDigi& digi);
49  bool addToCluster(const CSCWireDigi& digi);
50  float findWireHitPosition();
51 
53  const CSCLayer* layer_;
55 
56 private:
57  bool isDeadWG(const CSCDetId& id, int WG);
58 
59  std::vector<CSCWireDigi> wire_cluster;
60  std::vector<int> wire_in_cluster;
61  std::vector<float> wire_spacing;
62  int theTime;
64  std::vector<int> wire_in_clusterAndBX;
65 
66  int deltaT;
70  //int clusterSize;
71 
74 };
75 
76 #endif
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::pair< const_iterator, const_iterator > Range
std::vector< int > wire_in_clusterAndBX
fixed size matrix
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