23 validator(iConfig, consumesCollector())
42 if (!vertices.isValid() || vertices->empty())
return;
45 std::vector<TrackerValidationVariables::AVTrackStruct> vtracks;
54 for (
auto& track : vtracks) {
55 for (
auto& it : track.hits) {
56 auto id =
DetId(it.rawDetId);
57 auto isPixel =
id.subdetId() == 1 ||
id.subdetId() == 2;
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
double dxyError() const
error on dxy
#define DEFINE_FWK_MODULE(type)
bool checktrigger(const edm::Event &iEvent, const edm::EventSetup &iSetup, const unsigned trgidx) const
double pt() const
track transverse momentum
Abs< T >::type abs(const T &t)
SiPixelPhase1TrackResiduals(const edm::ParameterSet &conf)
TrackerValidationVariables validator
void fillTrackQuantities(const edm::Event &, const edm::EventSetup &, std::vector< AVTrackStruct > &v_avtrackout)
void analyze(const edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< reco::VertexCollection > offlinePrimaryVerticesToken_
std::vector< HistogramManager > histo
bool isPixel(HitType hitType)
double dxy() const
dxy parameter. (This is the transverse impact parameter w.r.t. to (0,0,0) ONLY if refPoint is close t...