34 std::vector<CSCWireHit> hitsInLayer;
39 bool any_digis =
true;
59 short int aDeadWG = 0;
60 if (!deadWG_left && !deadWG_right) {
62 }
else if (deadWG_left && deadWG_right) {
72 std::vector<int> timeBinsOn =
wire_cluster[n_wgroup / 2].getTimeBinsOn();
77 hitsInLayer.push_back(whit);
79 hitsInLayer.push_back(whit);
89 if (rwired.second - it == 1) {
93 short int aDeadWG = 0;
94 if (!deadWG_left && !deadWG_right) {
96 }
else if (deadWG_left && deadWG_right) {
105 std::vector<int> timeBinsOn =
wire_cluster[n_wgroup / 2].getTimeBinsOn();
111 hitsInLayer.push_back(whit);
113 hitsInLayer.push_back(whit);
183 if (WG > -1 && WG < 112) {
184 isDead = deadWG.test(WG);
T getParameter(std::string const &) const
const std::bitset< 112 > & badWireWord(const CSCDetId &id) const
Get bad wiregroup word.
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer
int deltaT
To fill BX + wiregroup in CSCWireHit.
int getTimeBin() const
return first tbin ON number
std::vector< int > wire_in_cluster
void makeWireCluster(const CSCWireDigi &digi)
Abs< T >::type abs(const T &t)
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< DigiType >::const_iterator const_iterator
std::vector< int > wire_in_clusterAndBX
int getBXandWireGroup() const
const CSCRecoConditions * recoConditions_
Hold pointer to current conditions data.
const CSCLayerGeometry * layergeom_
float findWireHitPosition()
bool isDeadWG(const CSCDetId &id, int WG)
std::vector< CSCWireDigi > wire_cluster
int getWireGroup() const
default