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);
uint16_t *__restrict__ id
constexpr std::array< uint8_t, layerIndexSize > layer
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::pair< const_iterator, const_iterator > Range
T getParameter(std::string const &) const
std::vector< DigiType >::const_iterator const_iterator
std::vector< int > wire_in_clusterAndBX
int getTimeBin() const
return first tbin ON number
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