23 validator(iConfig, consumesCollector())
41 if (!vertices.isValid() || vertices->empty())
return;
44 std::vector<TrackerValidationVariables::AVTrackStruct> vtracks;
53 for (
auto& track : vtracks) {
54 for (
auto& it : track.hits) {
55 auto id =
DetId(it.rawDetId);
56 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)
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...