CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MultiTrackValidatorBase.cc
Go to the documentation of this file.
2 
4  //dbe_ = edm::Service<DQMStore>().operator->();
5 
6  associators = pset.getParameter< std::vector<std::string> >("associators");
7  label_tp_effic = iC.consumes<TrackingParticleCollection>(pset.getParameter< edm::InputTag >("label_tp_effic"));
8  label_tp_fake = iC.consumes<TrackingParticleCollection>(pset.getParameter< edm::InputTag >("label_tp_fake"));
9  label_tv = iC.mayConsume<TrackingVertexCollection>(pset.getParameter< edm::InputTag >("label_tv"));
10  label_pileupinfo = iC.consumes<std::vector<PileupSummaryInfo> >(pset.getParameter< edm::InputTag >("label_pileupinfo"));
11  sim = pset.getParameter<std::string>("sim");
12  parametersDefiner = pset.getParameter<std::string>("parametersDefiner");
13 
14 
15  label = pset.getParameter< std::vector<edm::InputTag> >("label");
16  if (isSeed) {
17  for (auto itag : label) labelTokenSeed.push_back(iC.consumes<edm::View<TrajectorySeed> >(itag));
18  } else {
19  for (auto itag : label) labelToken.push_back(iC.consumes<edm::View<reco::Track> >(itag));
20  }
21  bsSrc = iC.consumes<reco::BeamSpot>(pset.getParameter<edm::InputTag>( "beamSpot" ));
22 
23  out = pset.getParameter<std::string>("outputFile");
24 
25  ignoremissingtkcollection_ = pset.getUntrackedParameter<bool>("ignoremissingtrackcollection",false);
26  skipHistoFit = pset.getUntrackedParameter<bool>("skipHistoFit",false);
27 
28 }
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
edm::EDGetTokenT< std::vector< PileupSummaryInfo > > label_pileupinfo
std::vector< TrackingParticle > TrackingParticleCollection
edm::EDGetTokenT< TrackingParticleCollection > label_tp_effic
edm::EDGetTokenT< TrackingVertexCollection > label_tv
Definition: sim.h:19
edm::EDGetTokenT< reco::BeamSpot > bsSrc
std::vector< edm::InputTag > label
std::vector< edm::EDGetTokenT< edm::View< TrajectorySeed > > > labelTokenSeed
MultiTrackValidatorBase(const edm::ParameterSet &pset, edm::ConsumesCollector &&iC, bool isSeed=false)
Constructor.
std::vector< TrackingVertex > TrackingVertexCollection
std::vector< std::string > associators
std::vector< edm::EDGetTokenT< edm::View< reco::Track > > > labelToken
edm::EDGetTokenT< TrackingParticleCollection > label_tp_fake