37 std::vector<CSCWireHit> hitsInLayer;
42 bool any_digis =
true;
64 short int aDeadWG = 0;
65 if(!deadWG_left && !deadWG_right){
68 else if(deadWG_left && deadWG_right){
80 std::vector <int> timeBinsOn=
wire_cluster[n_wgroup/2].getTimeBinsOn();
85 hitsInLayer.push_back( whit );
88 hitsInLayer.push_back( whit );
98 if ( rwired.second - it == 1) {
102 short int aDeadWG = 0;
103 if(!deadWG_left && !deadWG_right){
106 else if(deadWG_left && deadWG_right){
117 std::vector <int> timeBinsOn=
wire_cluster[n_wgroup/2].getTimeBinsOn();
123 hitsInLayer.push_back( whit );
126 hitsInLayer.push_back( whit );
192 y +=
float( wgroup );
206 isDead = deadWG.test(WG);
T getParameter(std::string const &) const
int deltaT
To fill BX + wiregroup in CSCWireHit.
std::vector< int > wire_in_cluster
void makeWireCluster(const CSCWireDigi &digi)
Abs< T >::type abs(const T &t)
bool addToCluster(const CSCWireDigi &digi)
int getWireGroup() const
default
CSCHitFromWireOnly(const edm::ParameterSet &ps)
std::vector< CSCWireHit > runWire(const CSCDetId &id, const CSCLayer *layer, const CSCWireDigiCollection::Range &rwired)
std::vector< CSCWireDigi >::const_iterator const_iterator
std::vector< int > wire_in_clusterAndBX
int getTimeBin() const
return first tbin ON number
std::pair< const_iterator, const_iterator > Range
const CSCRecoConditions * recoConditions_
Hold pointer to current conditions data.
const CSCLayerGeometry * layergeom_
const std::bitset< 112 > & badWireWord(const CSCDetId &id) const
Get bad wiregroup word.
const CSCLayerGeometry * geometry() const
int getBXandWireGroup() const
float findWireHitPosition()
bool isDeadWG(const CSCDetId &id, int WG)
std::vector< CSCWireDigi > wire_cluster