23 validator(iConfig, consumesCollector())
39 if (
applyVertexCut_ && (!vertices.isValid() || vertices->size() == 0))
return;
41 std::vector<TrackerValidationVariables::AVTrackStruct> vtracks;
50 for (
auto& track : vtracks) {
51 for (
auto& it : track.hits) {
52 auto id =
DetId(it.rawDetId);
53 auto isPixel =
id.subdetId() == 1 ||
id.subdetId() == 2;
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)
void analyze(const edm::Event &, const edm::EventSetup &)
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)
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...