10 : dataFormats_(
state->dataFormats_),
11 setup_(
state->setup_),
12 track_(
state->track_),
13 trackId_(
state->trackId_),
14 parent_(
state->parent_),
16 layerMap_(
state->layerMap_),
17 hitPattern_(
state->hitPattern_),
28 numSkippedLayers_(
state->numSkippedLayers_),
29 numConsistentLayers_(
state->numConsistentLayers_) {}
33 : dataFormats_(dataFormats),
34 setup_(dataFormats->
setup()),
39 layerMap_(setup_->numLayers()),
40 hitPattern_(0, setup_->numLayers()),
42 numConsistentLayers_(0) {
111 auto consistent = [
this](
int& sum,
const StubKF&
stub) {
112 auto inConsistentRange = [](
float v,
float r,
float d) {
return abs(
v) <= (
r +
d) / 2.; };
114 const bool inRange0 =
116 const bool inRange1 =
118 return sum += (inRange0 && inRange1 ? 1 : 0);
StubKFin * layerStub(int layer) const
int plEncode(bool b=true) const
Bit vector used by Track Trigger emulators. Mainly used to convert integers into arbitrary (within ma...
ROOT::VecOps::RVec< double > doubles
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
std::vector< int > layerMap_
std::vector< StubKF > stubs() const
Abs< T >::type abs(const T &t)
const DataFormats * dataFormats_
TrackKFin * track() const
std::vector< StubKFin * > layerStubs(int layer) const
TTBV maybePattern() const
int pmEncode(bool b=true) const
Power< A, B >::type pow(const A &a, const B &b)