33 std::vector<CSCWireHit> hitsInLayer;
38 bool any_digis =
true;
60 short int aDeadWG = 0;
61 if(!deadWG_left && !deadWG_right){
64 else if(deadWG_left && deadWG_right){
76 std::vector <int> timeBinsOn=
wire_cluster[n_wgroup/2].getTimeBinsOn();
79 hitsInLayer.push_back( whit );
87 if ( rwired.second - it == 1) {
91 short int aDeadWG = 0;
92 if(!deadWG_left && !deadWG_right){
95 else if(deadWG_left && deadWG_right){
106 std::vector <int> timeBinsOn=
wire_cluster[n_wgroup/2].getTimeBinsOn();
110 hitsInLayer.push_back( whit );
174 y += float( wgroup );
188 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)
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< DigiType >::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