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
CSCHitFromWireOnly::isDeadWG
bool isDeadWG(const CSCDetId &id, int WG)
Definition: CSCHitFromWireOnly.cc:180
CSCHitFromWireOnly::~CSCHitFromWireOnly
~CSCHitFromWireOnly()
Definition: CSCHitFromWireOnly.cc:29
CSCWireHit.h
CSCHitFromWireOnly::makeWireCluster
void makeWireCluster(const CSCWireDigi &digi)
Definition: CSCHitFromWireOnly.cc:130
CSCHitFromWireOnly::wireTimeWindow_high
int wireTimeWindow_high
Definition: CSCHitFromWireOnly.h:69
CSCHitFromWireOnly::ChannelContainer
std::vector< int > ChannelContainer
Definition: CSCHitFromWireOnly.h:38
CSCRecoConditions.h
CSCLayer
Definition: CSCLayer.h:24
CSCHitFromWireOnly::wire_spacing
std::vector< float > wire_spacing
Definition: CSCHitFromWireOnly.h:61
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
CSCHitFromWireOnly::addToCluster
bool addToCluster(const CSCWireDigi &digi)
Definition: CSCHitFromWireOnly.cc:139
CSCHitFromWireOnly::wire_in_clusterAndBX
std::vector< int > wire_in_clusterAndBX
Definition: CSCHitFromWireOnly.h:64
CSCHitFromWireOnly::CSCHitFromWireOnly
CSCHitFromWireOnly(const edm::ParameterSet &ps)
Definition: CSCHitFromWireOnly.cc:20
CSCHitFromWireOnly::runWire
std::vector< CSCWireHit > runWire(const CSCDetId &id, const CSCLayer *layer, const CSCWireDigiCollection::Range &rwired)
Definition: CSCHitFromWireOnly.cc:31
CSCLayerGeometry
Definition: CSCLayerGeometry.h:25
CSCHitFromWireOnly::wire_in_cluster
std::vector< int > wire_in_cluster
Definition: CSCHitFromWireOnly.h:60
CSCHitFromWireOnly::theTime
int theTime
Definition: CSCHitFromWireOnly.h:62
CSCHitFromWireOnly
Definition: CSCHitFromWireOnly.h:36
edm::ParameterSet
Definition: ParameterSet.h:36
CSCWireDigi
Definition: CSCWireDigi.h:14
CSCDetId
Definition: CSCDetId.h:26
CSCHitFromWireOnly::useReducedWireTime
bool useReducedWireTime
Definition: CSCHitFromWireOnly.h:67
CSCHitFromWireOnly::recoConditions_
const CSCRecoConditions * recoConditions_
Hold pointer to current conditions data.
Definition: CSCHitFromWireOnly.h:73
CSCHitFromWireOnly::setConditions
void setConditions(const CSCRecoConditions *reco)
Definition: CSCHitFromWireOnly.h:47
CSCHitFromWireOnly::wire_cluster
std::vector< CSCWireDigi > wire_cluster
Definition: CSCHitFromWireOnly.h:59
CSCRecoConditions
Definition: CSCRecoConditions.h:24
Frameworkfwd.h
CSCHitFromWireOnly::deltaT
int deltaT
To fill BX + wiregroup in CSCWireHit.
Definition: CSCHitFromWireOnly.h:66
CSCHitFromWireOnly::theLastChannel
int theLastChannel
Definition: CSCHitFromWireOnly.h:63
dt_dqm_sourceclient_common_cff.reco
reco
Definition: dt_dqm_sourceclient_common_cff.py:110
MuonDigiCollection::Range
std::pair< const_iterator, const_iterator > Range
Definition: MuonDigiCollection.h:95
CSCHitFromWireOnly::layer_
const CSCLayer * layer_
Definition: CSCHitFromWireOnly.h:53
CSCWireDigiCollection.h
CSCHitFromWireOnly::id_
CSCDetId id_
Definition: CSCHitFromWireOnly.h:52
ParameterSet.h
CSCHitFromWireOnly::layergeom_
const CSCLayerGeometry * layergeom_
Definition: CSCHitFromWireOnly.h:54
CSCHitFromWireOnly::findWireHitPosition
float findWireHitPosition()
Definition: CSCHitFromWireOnly.cc:159
CSCHitFromWireOnly::wireTimeWindow_low
int wireTimeWindow_low
Definition: CSCHitFromWireOnly.h:68