CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
ShortenedTrackValidation Class Reference
Inheritance diagram for ShortenedTrackValidation:
edm::one::EDAnalyzer< edm::one::SharedResources > edm::one::EDAnalyzerBase edm::EDConsumerBase

Classes

class  trackComparator
 
class  trackingMon
 

Public Member Functions

 ShortenedTrackValidation (const edm::ParameterSet &)
 
 ~ShortenedTrackValidation () override=default
 
- Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::SharedResources >
 EDAnalyzer ()=default
 
 EDAnalyzer (const EDAnalyzer &)=delete
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
const EDAnalyzeroperator= (const EDAnalyzer &)=delete
 
bool wantsGlobalLuminosityBlocks () const noexcept final
 
bool wantsGlobalRuns () const noexcept final
 
bool wantsInputProcessBlocks () const noexcept final
 
bool wantsProcessBlocks () const noexcept final
 
- Public Member Functions inherited from edm::one::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const noexcept
 
bool wantsStreamRuns () const noexcept
 
 ~EDAnalyzerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESResolverIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESResolverIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProductResolverIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::one::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Member Functions

void analyze (edm::Event const &iEvent, edm::EventSetup const &iSetup) override
 
void beginJob () override
 
template<typename T , typename... Args>
Tbook (const TFileDirectory &dir, const Args &...args) const
 

Private Attributes

const edm::InputTag BeamSpotTag_
 
const edm::EDGetTokenT< reco::BeamSpotbeamspotToken_
 
std::vector< trackComparator * > comparators_
 
const std::string folderName_
 
edm::Service< TFileServicefs_
 
std::vector< TH1F * > histsDeltaPtOverPtAll_
 
std::vector< TH1F * > histsDeltaRAll_
 
std::vector< TH1F * > histsEtaDiffAll_
 
std::vector< TH1F * > histsNhitsAll_
 
std::vector< TH1F * > histsPhiDiffAll_
 
std::vector< TH1F * > histsPtAll_
 
std::vector< TH1F * > histsPtDiffAll_
 
std::vector< TH1F * > histsPtRatioAll_
 
std::vector< TH2F * > histsPtRatioVsDeltaRAll_
 
const std::vector< std::string > hitsRemain_
 
const double maxDr_
 
const double maxTracksEta_
 
const double maxTracksPt_
 
const double minTracksEta_
 
const double minTracksPt_
 
trackingMon originalTrack
 
const std::vector< edm::InputTagtracksRerecoTag_
 
const std::vector< edm::EDGetTokenT< std::vector< reco::Track > > > tracksRerecoToken_
 
const edm::InputTag tracksTag_
 
const edm::EDGetTokenT< std::vector< reco::Track > > tracksToken_
 
const edm::EDGetTokenT< reco::VertexCollectionvertexToken_
 
const edm::InputTag VerticesTag_
 

Static Private Attributes

static constexpr double muMass = 0.105658
 

Additional Inherited Members

- Public Types inherited from edm::one::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< Bconsumes (edm::InputTag tag) noexcept
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes ()
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag)
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
void resetItemsToGetFrom (BranchType iType)
 

Detailed Description

Definition at line 57 of file ShortenedTrackValidation.cc.

Constructor & Destructor Documentation

◆ ShortenedTrackValidation()

ShortenedTrackValidation::ShortenedTrackValidation ( const edm::ParameterSet ps)
explicit

Definition at line 362 of file ShortenedTrackValidation.cc.

References makeGlobalPositionRcd_cfg::tag.

363  : folderName_(ps.getUntrackedParameter<std::string>("folderName", "TrackRefitting")),
364  hitsRemain_(ps.getUntrackedParameter<std::vector<std::string>>("hitsRemainInput")),
365  minTracksEta_(ps.getUntrackedParameter<double>("minTracksEtaInput", 0.0)),
366  maxTracksEta_(ps.getUntrackedParameter<double>("maxTracksEtaInput", 2.2)),
367  minTracksPt_(ps.getUntrackedParameter<double>("minTracksPtInput", 15.0)),
368  maxTracksPt_(ps.getUntrackedParameter<double>("maxTracksPtInput", 99999.9)),
369  maxDr_(ps.getUntrackedParameter<double>("maxDrInput", 0.01)),
370  tracksTag_(ps.getUntrackedParameter<edm::InputTag>("tracksInputTag", edm::InputTag("generalTracks", "", "DQM"))),
371  tracksRerecoTag_(ps.getUntrackedParameter<std::vector<edm::InputTag>>("tracksRerecoInputTag")),
372  BeamSpotTag_(ps.getUntrackedParameter<edm::InputTag>("BeamSpotTag", edm::InputTag("offlineBeamSpot"))),
373  VerticesTag_(ps.getUntrackedParameter<edm::InputTag>("VerticesTag", edm::InputTag("offlinePrimaryVertices"))),
374  tracksToken_(consumes<std::vector<reco::Track>>(tracksTag_)),
376  tracksRerecoTag_, [this](edm::InputTag const &tag) { return consumes<std::vector<reco::Track>>(tag); })),
377  beamspotToken_(consumes<reco::BeamSpot>(BeamSpotTag_)),
378  vertexToken_(consumes<reco::VertexCollection>(VerticesTag_)) {
379  usesResource(TFileService::kSharedResource);
380  histsPtRatioAll_.clear();
381  histsPtDiffAll_.clear();
382  histsEtaDiffAll_.clear();
383  histsPhiDiffAll_.clear();
384  histsPtRatioVsDeltaRAll_.clear();
385  histsDeltaPtOverPtAll_.clear();
386  histsPtAll_.clear();
387  histsNhitsAll_.clear();
388  histsDeltaRAll_.clear();
389  comparators_.clear();
390 
391  comparators_.reserve(hitsRemain_.size());
392  for (unsigned int i = 0; i < hitsRemain_.size(); ++i) {
393  comparators_.push_back(new trackComparator());
394  }
395 }
static const std::string kSharedResource
Definition: TFileService.h:76
const std::vector< std::string > hitsRemain_
std::vector< TH1F * > histsNhitsAll_
auto vector_transform(std::vector< InputType > const &input, Function predicate) -> std::vector< typename std::remove_cv< typename std::remove_reference< decltype(predicate(input.front()))>::type >::type >
Definition: transform.h:11
std::vector< TH1F * > histsDeltaPtOverPtAll_
std::vector< TH1F * > histsPhiDiffAll_
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getUntrackedParameter(std::string const &, T const &) const
std::vector< TH1F * > histsPtRatioAll_
std::vector< TH2F * > histsPtRatioVsDeltaRAll_
const edm::EDGetTokenT< std::vector< reco::Track > > tracksToken_
std::vector< TH1F * > histsDeltaRAll_
const std::vector< edm::InputTag > tracksRerecoTag_
std::vector< trackComparator * > comparators_
std::vector< TH1F * > histsEtaDiffAll_
const edm::EDGetTokenT< reco::BeamSpot > beamspotToken_
const std::vector< edm::EDGetTokenT< std::vector< reco::Track > > > tracksRerecoToken_
const edm::EDGetTokenT< reco::VertexCollection > vertexToken_
std::vector< TH1F * > histsPtDiffAll_

◆ ~ShortenedTrackValidation()

ShortenedTrackValidation::~ShortenedTrackValidation ( )
overridedefault

Member Function Documentation

◆ analyze()

void ShortenedTrackValidation::analyze ( edm::Event const &  iEvent,
edm::EventSetup const &  iSetup 
)
overrideprivatevirtual

Implements edm::one::EDAnalyzerBase.

Definition at line 511 of file ShortenedTrackValidation.cc.

References funct::abs(), pwdgSkimBPark_cfi::beamSpot, align::BeamSpot, beamspotToken_, comparators_, PbPb_ZMuSkimMuonDPG_cff::deltaR, edm::InputTag::encode(), ShortenedTrackValidation::trackingMon::fill(), histsDeltaPtOverPtAll_, histsDeltaRAll_, histsEtaDiffAll_, histsNhitsAll_, histsPhiDiffAll_, histsPtAll_, histsPtDiffAll_, histsPtRatioAll_, histsPtRatioVsDeltaRAll_, trackingPlots::hp, mps_fire::i, iEvent, edm::HandleBase::isValid(), maxDr_, maxTracksEta_, maxTracksPt_, minTracksEta_, minTracksPt_, muMass, originalTrack, unpackBuffers-CaloStage2::token, HLT_2024v13_cff::track, reco::HitPattern::TRACK_HITS, DiMuonV_cfg::tracks, tracksRerecoToken_, tracksTag_, tracksToken_, HltBtagValidation_cff::Vertex, and vertexToken_.

511  {
512  const auto &tracks = iEvent.getHandle(tracksToken_);
513 
514  if (!tracks.isValid()) {
515  edm::LogError("ShortenedTrackValidation") << "Missing input track collection " << tracksTag_.encode() << std::endl;
516  return;
517  }
518 
520  edm::Handle<reco::BeamSpot> beamSpotHandle = iEvent.getHandle(beamspotToken_);
521  if (beamSpotHandle.isValid()) {
522  beamSpot = *beamSpotHandle;
523  } else {
525  }
526 
527  reco::Vertex pvtx;
528  edm::Handle<reco::VertexCollection> vertexHandle = iEvent.getHandle(vertexToken_);
529  if (vertexHandle.isValid()) {
530  pvtx = (*vertexHandle).at(0);
531  } else {
532  pvtx = reco::Vertex();
533  }
534 
535  // the original long track
536  for (const auto &track : *tracks) {
537  const reco::HitPattern &hp = track.hitPattern();
538  if (int(int(hp.numberOfValidHits()) - int(hp.numberOfAllHits(reco::HitPattern::TRACK_HITS))) != 0) {
539  break;
540  }
541 
542  // fill the original track properties monitoring
544 
545  TLorentzVector tvec;
546  tvec.SetPtEtaPhiM(track.pt(), track.eta(), track.phi(), muMass);
547 
548  int i = 0; // token index
549  // loop on the re-recoed shortened track collections
550  for (const auto &token : tracksRerecoToken_) {
551  const auto &tracks_rereco = iEvent.getHandle(token);
552 
553  for (const auto &track_rereco : *tracks_rereco) {
554  TLorentzVector trerecovec;
555  trerecovec.SetPtEtaPhiM(track_rereco.pt(), track_rereco.eta(), track_rereco.phi(), 0.0);
556  double deltaR = tvec.DeltaR(trerecovec);
557 
558  if (deltaR < maxDr_) {
559  if (track_rereco.pt() >= minTracksPt_ && track_rereco.pt() <= maxTracksPt_ &&
560  std::abs(track_rereco.eta()) >= minTracksEta_ && std::abs(track_rereco.eta()) <= maxTracksEta_) {
561  // fill the 2D comparisons per track
562  comparators_[i]->fill(track, track_rereco);
563 
564  histsPtRatioAll_[i]->Fill(1.0 * track_rereco.pt() / track.pt());
565  histsPtDiffAll_[i]->Fill(track_rereco.pt() - track.pt());
566  histsDeltaPtOverPtAll_[i]->Fill((track_rereco.pt() - track.pt()) / track.pt());
567  histsEtaDiffAll_[i]->Fill(track_rereco.eta() - track.eta());
568  histsPhiDiffAll_[i]->Fill(track_rereco.phi() - track.phi());
569  histsPtRatioVsDeltaRAll_[i]->Fill(deltaR, track_rereco.pt() / track.pt());
570  histsPtAll_[i]->Fill(track_rereco.pt());
571  histsNhitsAll_[i]->Fill(track_rereco.numberOfValidHits());
572  histsDeltaRAll_[i]->Fill(deltaR);
573  }
574  }
575  }
576  ++i;
577  }
578  }
579 }
std::string encode() const
Definition: InputTag.cc:159
std::vector< TH1F * > histsNhitsAll_
Log< level::Error, false > LogError
std::vector< TH1F * > histsDeltaPtOverPtAll_
std::vector< TH1F * > histsPhiDiffAll_
static constexpr double muMass
std::vector< TH1F * > histsPtRatioAll_
int iEvent
Definition: GenABIO.cc:224
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
std::vector< TH2F * > histsPtRatioVsDeltaRAll_
const edm::EDGetTokenT< std::vector< reco::Track > > tracksToken_
std::vector< TH1F * > histsDeltaRAll_
bool isValid() const
Definition: HandleBase.h:70
std::vector< trackComparator * > comparators_
std::vector< TH1F * > histsEtaDiffAll_
const edm::EDGetTokenT< reco::BeamSpot > beamspotToken_
const std::vector< edm::EDGetTokenT< std::vector< reco::Track > > > tracksRerecoToken_
const edm::EDGetTokenT< reco::VertexCollection > vertexToken_
std::vector< TH1F * > histsPtDiffAll_
void fill(const reco::Track &track, const reco::BeamSpot &beamSpot, const reco::Vertex &pvtx)

◆ beginJob()

void ShortenedTrackValidation::beginJob ( )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 405 of file ShortenedTrackValidation.cc.

References ShortenedTrackValidation::trackingMon::book(), comparators_, folderName_, fs_, histsDeltaPtOverPtAll_, histsDeltaRAll_, histsEtaDiffAll_, histsNhitsAll_, histsPhiDiffAll_, histsPtAll_, histsPtDiffAll_, histsPtRatioAll_, histsPtRatioVsDeltaRAll_, hitsRemain_, mps_fire::i, TFileService::mkdir(), definitions::original, originalTrack, and AlCaHLTBitMon_QueryRunRegistry::string.

405  {
406  std::string currentFolder = folderName_ + "/Resolutions";
407  TFileDirectory ShortTrackResolution = fs_->mkdir(currentFolder);
408  currentFolder = folderName_ + "/Tracks";
409  TFileDirectory TrackQuals = fs_->mkdir(currentFolder);
410 
411  for (unsigned int i = 0; i < hitsRemain_.size(); ++i) {
412  histsPtRatioAll_.push_back(
413  book<TH1F>(ShortTrackResolution,
414  fmt::sprintf("trackPtRatio_%s", hitsRemain_[i]).c_str(),
415  fmt::sprintf("Short Track p_{T} / Full Track p_{T} - %s layers;p_{T}^{short}/p_{T}^{full};n. tracks",
416  hitsRemain_[i])
417  .c_str(),
418  100,
419  0.5,
420  1.5));
421 
422  histsPtDiffAll_.push_back(book<TH1F>(
423  ShortTrackResolution,
424  fmt::sprintf("trackPtDiff_%s", hitsRemain_[i]).c_str(),
425  fmt::sprintf("Short Track p_{T} - Full Track p_{T} - %s layers;p_{T}^{short} - p_{T}^{full} [GeV];n. tracks",
426  hitsRemain_[i])
427  .c_str(),
428  100,
429  -10.,
430  10.));
431 
432  histsEtaDiffAll_.push_back(
433  book<TH1F>(ShortTrackResolution,
434  fmt::sprintf("trackEtaDiff_%s", hitsRemain_[i]).c_str(),
435  fmt::sprintf("Short Track #eta - Full Track #eta - %s layers;#eta^{short} - #eta^{full};n. tracks",
436  hitsRemain_[i])
437  .c_str(),
438  100,
439  -0.001,
440  0.001));
441 
442  histsPhiDiffAll_.push_back(
443  book<TH1F>(ShortTrackResolution,
444  fmt::sprintf("trackPhiDiff_%s", hitsRemain_[i]).c_str(),
445  fmt::sprintf("Short Track #phi - Full Track #phi - %s layers;#phi^{short} - #phi^{full};n. tracks",
446  hitsRemain_[i])
447  .c_str(),
448  100,
449  -0.001,
450  0.001));
451 
452  histsPtRatioVsDeltaRAll_.push_back(
453  book<TH2F>(ShortTrackResolution,
454  fmt::sprintf("trackPtRatioVsDeltaR_%s", hitsRemain_[i]).c_str(),
455  fmt::sprintf("Short Track p_{T} / Full Track p_{T} - %s layers vs "
456  "#DeltaR;#DeltaR(short,full);p_{T}^{short}/p_{T}^{full} [GeV];n. tracks",
457  hitsRemain_[i])
458  .c_str(),
459  100,
460  0.,
461  0.01,
462  101,
463  -0.05,
464  2.05));
465 
466  histsDeltaPtOverPtAll_.push_back(
467  book<TH1F>(ShortTrackResolution,
468  fmt::sprintf("trackDeltaPtOverPt_%s", hitsRemain_[i]).c_str(),
469  fmt::sprintf("Short Track p_{T} - Full Track p_{T} / Full Track p_{T} - %s layers;p_{T}^{short} - "
470  "p_{T}^{full} / p^{full}_{T};n. tracks",
471  hitsRemain_[i])
472  .c_str(),
473  101,
474  -5.,
475  5.));
476 
477  histsPtAll_.push_back(
478  book<TH1F>(TrackQuals,
479  fmt::sprintf("trackPt_%s", hitsRemain_[i]).c_str(),
480  fmt::sprintf("Short Track p_{T} - %s layers;p_{T}^{short} [GeV];n. tracks", hitsRemain_[i]).c_str(),
481  100,
482  0.,
483  100.));
484 
485  histsNhitsAll_.push_back(
486  book<TH1F>(TrackQuals,
487  fmt::sprintf("trackNhits_%s", hitsRemain_[i]).c_str(),
488  fmt::sprintf("Short Track n. hits - %s layers; n. hits per track;n. tracks", hitsRemain_[i]).c_str(),
489  20,
490  -0.5,
491  19.5));
492 
493  histsDeltaRAll_.push_back(book<TH1F>(
494  TrackQuals,
495  fmt::sprintf("trackDeltaR_%s", hitsRemain_[i]).c_str(),
496  fmt::sprintf("Short Track / Long Track #DeltaR %s layers;#DeltaR(short,long);n. tracks", hitsRemain_[i]).c_str(),
497  100,
498  0.,
499  0.005));
500 
501  currentFolder = fmt::sprintf("%s/Compare_%sHit", folderName_, hitsRemain_[i]);
502  comparators_[i]->book(fs_->mkdir(currentFolder));
503  }
504 
505  currentFolder = folderName_ + "/OriginalTrack";
506  TFileDirectory original = fs_->mkdir(currentFolder);
508 }
const std::vector< std::string > hitsRemain_
edm::Service< TFileService > fs_
std::vector< TH1F * > histsNhitsAll_
std::vector< TH1F * > histsDeltaPtOverPtAll_
std::vector< TH1F * > histsPhiDiffAll_
std::vector< TH1F * > histsPtRatioAll_
std::vector< TH2F * > histsPtRatioVsDeltaRAll_
std::vector< TH1F * > histsDeltaRAll_
TFileDirectory mkdir(const std::string &dir, const std::string &descr="")
create a new subdirectory
Definition: TFileService.h:69
std::vector< trackComparator * > comparators_
std::vector< TH1F * > histsEtaDiffAll_
std::vector< TH1F * > histsPtDiffAll_

◆ book()

template<typename T , typename... Args>
T * ShortenedTrackValidation::book ( const TFileDirectory dir,
const Args &...  args 
) const
private

Definition at line 399 of file ShortenedTrackValidation.cc.

References writedatasetfile::args, DeadROC_duringRun::dir, and submitPVValidationJobs::t.

399  {
400  T *t = dir.make<T>(args...);
401  return t;
402 }
long double T

◆ fillDescriptions()

void ShortenedTrackValidation::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 582 of file ShortenedTrackValidation.cc.

References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

582  {
584  desc.addUntracked<std::string>("folderName", "TrackRefitting");
585  desc.addUntracked<std::vector<std::string>>("hitsRemainInput", {});
586  desc.addUntracked<double>("minTracksEtaInput", 0.0);
587  desc.addUntracked<double>("maxTracksEtaInput", 2.2);
588  desc.addUntracked<double>("minTracksPtInput", 15.0);
589  desc.addUntracked<double>("maxTracksPtInput", 99999.9);
590  desc.addUntracked<double>("maxDrInput", 0.01);
591  desc.addUntracked<edm::InputTag>("tracksInputTag", edm::InputTag("generalTracks", "", "DQM"));
592  desc.addUntracked<std::vector<edm::InputTag>>("tracksRerecoInputTag", {});
593  desc.addUntracked<edm::InputTag>("BeamSpotTag", edm::InputTag("offlineBeamSpot"));
594  desc.addUntracked<edm::InputTag>("VerticesTag", edm::InputTag("offlinePrimaryVertices"));
595  descriptions.addWithDefaultLabel(desc);
596 }
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)

Member Data Documentation

◆ BeamSpotTag_

const edm::InputTag ShortenedTrackValidation::BeamSpotTag_
private

Definition at line 336 of file ShortenedTrackValidation.cc.

◆ beamspotToken_

const edm::EDGetTokenT<reco::BeamSpot> ShortenedTrackValidation::beamspotToken_
private

Definition at line 340 of file ShortenedTrackValidation.cc.

Referenced by analyze().

◆ comparators_

std::vector<trackComparator *> ShortenedTrackValidation::comparators_
private

Definition at line 355 of file ShortenedTrackValidation.cc.

Referenced by analyze(), and beginJob().

◆ folderName_

const std::string ShortenedTrackValidation::folderName_
private

Definition at line 326 of file ShortenedTrackValidation.cc.

Referenced by beginJob().

◆ fs_

edm::Service<TFileService> ShortenedTrackValidation::fs_
private

Definition at line 325 of file ShortenedTrackValidation.cc.

Referenced by beginJob().

◆ histsDeltaPtOverPtAll_

std::vector<TH1F *> ShortenedTrackValidation::histsDeltaPtOverPtAll_
private

Definition at line 349 of file ShortenedTrackValidation.cc.

Referenced by analyze(), and beginJob().

◆ histsDeltaRAll_

std::vector<TH1F *> ShortenedTrackValidation::histsDeltaRAll_
private

Definition at line 352 of file ShortenedTrackValidation.cc.

Referenced by analyze(), and beginJob().

◆ histsEtaDiffAll_

std::vector<TH1F *> ShortenedTrackValidation::histsEtaDiffAll_
private

Definition at line 346 of file ShortenedTrackValidation.cc.

Referenced by analyze(), and beginJob().

◆ histsNhitsAll_

std::vector<TH1F *> ShortenedTrackValidation::histsNhitsAll_
private

Definition at line 351 of file ShortenedTrackValidation.cc.

Referenced by analyze(), and beginJob().

◆ histsPhiDiffAll_

std::vector<TH1F *> ShortenedTrackValidation::histsPhiDiffAll_
private

Definition at line 347 of file ShortenedTrackValidation.cc.

Referenced by analyze(), and beginJob().

◆ histsPtAll_

std::vector<TH1F *> ShortenedTrackValidation::histsPtAll_
private

Definition at line 350 of file ShortenedTrackValidation.cc.

Referenced by analyze(), and beginJob().

◆ histsPtDiffAll_

std::vector<TH1F *> ShortenedTrackValidation::histsPtDiffAll_
private

Definition at line 345 of file ShortenedTrackValidation.cc.

Referenced by analyze(), and beginJob().

◆ histsPtRatioAll_

std::vector<TH1F *> ShortenedTrackValidation::histsPtRatioAll_
private

Definition at line 344 of file ShortenedTrackValidation.cc.

Referenced by analyze(), and beginJob().

◆ histsPtRatioVsDeltaRAll_

std::vector<TH2F *> ShortenedTrackValidation::histsPtRatioVsDeltaRAll_
private

Definition at line 348 of file ShortenedTrackValidation.cc.

Referenced by analyze(), and beginJob().

◆ hitsRemain_

const std::vector<std::string> ShortenedTrackValidation::hitsRemain_
private

Definition at line 327 of file ShortenedTrackValidation.cc.

Referenced by beginJob().

◆ maxDr_

const double ShortenedTrackValidation::maxDr_
private

Definition at line 333 of file ShortenedTrackValidation.cc.

Referenced by analyze().

◆ maxTracksEta_

const double ShortenedTrackValidation::maxTracksEta_
private

Definition at line 329 of file ShortenedTrackValidation.cc.

Referenced by analyze().

◆ maxTracksPt_

const double ShortenedTrackValidation::maxTracksPt_
private

Definition at line 331 of file ShortenedTrackValidation.cc.

Referenced by analyze().

◆ minTracksEta_

const double ShortenedTrackValidation::minTracksEta_
private

Definition at line 328 of file ShortenedTrackValidation.cc.

Referenced by analyze().

◆ minTracksPt_

const double ShortenedTrackValidation::minTracksPt_
private

Definition at line 330 of file ShortenedTrackValidation.cc.

Referenced by analyze().

◆ muMass

constexpr double ShortenedTrackValidation::muMass = 0.105658
staticprivate

Definition at line 356 of file ShortenedTrackValidation.cc.

Referenced by analyze().

◆ originalTrack

trackingMon ShortenedTrackValidation::originalTrack
private

Definition at line 354 of file ShortenedTrackValidation.cc.

Referenced by analyze(), and beginJob().

◆ tracksRerecoTag_

const std::vector<edm::InputTag> ShortenedTrackValidation::tracksRerecoTag_
private

Definition at line 335 of file ShortenedTrackValidation.cc.

◆ tracksRerecoToken_

const std::vector<edm::EDGetTokenT<std::vector<reco::Track> > > ShortenedTrackValidation::tracksRerecoToken_
private

Definition at line 339 of file ShortenedTrackValidation.cc.

Referenced by analyze().

◆ tracksTag_

const edm::InputTag ShortenedTrackValidation::tracksTag_
private

Definition at line 334 of file ShortenedTrackValidation.cc.

Referenced by analyze().

◆ tracksToken_

const edm::EDGetTokenT<std::vector<reco::Track> > ShortenedTrackValidation::tracksToken_
private

Definition at line 338 of file ShortenedTrackValidation.cc.

Referenced by analyze().

◆ vertexToken_

const edm::EDGetTokenT<reco::VertexCollection> ShortenedTrackValidation::vertexToken_
private

Definition at line 341 of file ShortenedTrackValidation.cc.

Referenced by analyze().

◆ VerticesTag_

const edm::InputTag ShortenedTrackValidation::VerticesTag_
private

Definition at line 337 of file ShortenedTrackValidation.cc.