Public Member Functions | |
SVTagInfoValidationAnalyzer (const edm::ParameterSet &) | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
void | bookRecoToSim (std::string const &) |
void | bookSimToReco (std::string const &) |
virtual void | endJob () |
void | fillRecoToSim (std::string const &, reco::Vertex const &, TrackingVertexRef const &) |
void | fillSimToReco (std::string const &, reco::VertexBaseRef const &, TrackingVertexRef const &) |
Private Attributes | |
VertexClassifierByProxy < reco::SecondaryVertexTagInfoCollection > | classifier_ |
edm::Service< TFileService > | fs_ |
Int_t | n_event |
Int_t | numberVertexClassifier_ |
Int_t | rs_total_nall |
Int_t | rs_total_nbsv |
Int_t | rs_total_nbv |
Int_t | rs_total_ncv |
Int_t | rs_total_nlv |
Int_t | rs_total_nsv |
Int_t | sr_total_nall |
Int_t | sr_total_nbsv |
Int_t | sr_total_nbv |
Int_t | sr_total_ncv |
Int_t | sr_total_nlv |
Int_t | sr_total_nsv |
edm::InputTag | svTagInfoProducer_ |
std::map< std::string, TH1D * > | TH1Index_ |
Int_t | total_nfake |
Int_t | total_nmiss |
edm::InputTag | trackingTruth_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Definition at line 37 of file SVTagInfoValidationAnalyzer.cc.
|
explicit |
Definition at line 91 of file SVTagInfoValidationAnalyzer.cc.
References bookRecoToSim(), bookSimToReco(), fs_, edm::ParameterSet::getUntrackedParameter(), i, TFileDirectory::make(), n_event, VertexCategories::Names, numberVertexClassifier_, rs_total_nall, rs_total_nbsv, rs_total_nbv, rs_total_ncv, rs_total_nlv, rs_total_nsv, sr_total_nall, sr_total_nbsv, sr_total_nbv, sr_total_ncv, sr_total_nlv, sr_total_nsv, svTagInfoProducer_, TH1Index_, total_nfake, total_nmiss, trackingTruth_, and VertexCategories::Unknown.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 177 of file SVTagInfoValidationAnalyzer.cc.
References VertexCategories::BWeakDecay, classifier_, gather_cfg::cout, VertexCategories::CWeakDecay, VertexClassifierByProxy< Collection >::evaluate(), VertexCategories::Fake, fillRecoToSim(), fillSimToReco(), VertexClassifier::history(), i, getHLTprescales::index, VertexCategories::is(), n_event, VertexClassifierByProxy< Collection >::newEvent(), numberVertexClassifier_, VertexHistory::quality(), VertexCategories::Reconstructed, VertexHistory::recoVertex(), rs_total_nall, rs_total_nbsv, rs_total_nbv, rs_total_ncv, rs_total_nlv, rs_total_nsv, VertexCategories::SecondaryVertex, HistoryBase::simVertex(), sr_total_nall, sr_total_nbsv, sr_total_nbv, sr_total_ncv, sr_total_nlv, sr_total_nsv, svTagInfoProducer_, TH1Index_, total_nfake, total_nmiss, and trackingTruth_.
|
private |
Definition at line 398 of file SVTagInfoValidationAnalyzer.cc.
References fs_, TFileDirectory::make(), mergeVDriftHistosByStation::name, and TH1Index_.
Referenced by SVTagInfoValidationAnalyzer().
|
private |
Definition at line 466 of file SVTagInfoValidationAnalyzer.cc.
References fs_, TFileDirectory::make(), mergeVDriftHistosByStation::name, and TH1Index_.
Referenced by SVTagInfoValidationAnalyzer().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 717 of file SVTagInfoValidationAnalyzer.cc.
References gather_cfg::cout, n_event, rs_total_nall, rs_total_nbsv, rs_total_nbv, rs_total_ncv, rs_total_nlv, rs_total_nsv, sr_total_nall, sr_total_nbsv, sr_total_nbv, sr_total_ncv, sr_total_nlv, sr_total_nsv, and total_nfake.
|
private |
Definition at line 534 of file SVTagInfoValidationAnalyzer.cc.
References DeDxDiscriminatorTools::charge(), reco::Vertex::chi2(), ChiSquaredProbability(), eta(), scaleCards::mass, reco::Vertex::ndof(), reco::Vertex::normalizedChi2(), AlCaHLTBitMon_ParallelJobs::p, mathSSE::sqrt(), TH1Index_, reco::Vertex::tracks_begin(), reco::Vertex::tracks_end(), reco::Vertex::tracksSize(), reco::Vertex::trackWeight(), CommonMethods::weight(), reco::Vertex::x(), reco::Vertex::xError(), reco::Vertex::y(), reco::Vertex::yError(), reco::Vertex::z(), and reco::Vertex::zError().
Referenced by analyze().
|
private |
Definition at line 624 of file SVTagInfoValidationAnalyzer.cc.
References DeDxDiscriminatorTools::charge(), reco::Vertex::chi2(), ChiSquaredProbability(), eta(), scaleCards::mass, reco::Vertex::ndof(), reco::Vertex::normalizedChi2(), AlCaHLTBitMon_ParallelJobs::p, mathSSE::sqrt(), TH1Index_, reco::Vertex::tracks_begin(), reco::Vertex::tracks_end(), reco::Vertex::tracksSize(), reco::Vertex::trackWeight(), CommonMethods::weight(), reco::Vertex::x(), reco::Vertex::xError(), reco::Vertex::y(), reco::Vertex::yError(), reco::Vertex::z(), and reco::Vertex::zError().
Referenced by analyze().
|
private |
Definition at line 50 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 57 of file SVTagInfoValidationAnalyzer.cc.
Referenced by bookRecoToSim(), bookSimToReco(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 59 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 52 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 60 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 63 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 62 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 64 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 65 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 61 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 68 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 71 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 70 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 72 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 73 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 69 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 54 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 86 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), bookRecoToSim(), bookSimToReco(), fillRecoToSim(), fillSimToReco(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 66 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 74 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 53 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), and SVTagInfoValidationAnalyzer().