#include "DataFormats/FWLite/interface/Handle.h"
#include "DataFormats/PatCandidates/interface/Jet.h"
#include "DataFormats/PatCandidates/interface/Muon.h"
#include "DataFormats/HepMCCandidate/interface/FlavorHistory.h"
#include "DataFormats/HepMCCandidate/interface/GenParticle.h"
#include "Math/GenVector/PxPyPzM4D.h"
#include "PhysicsTools/FWLite/interface/EventContainer.h"
#include "PhysicsTools/FWLite/interface/CommandLineParser.h"
#include "TROOT.h"
#include "TH2F.h"
Go to the source code of this file.
Enumerations | |
enum | { kNormalMode, kVqqMode, kLFMode, kWcMode } |
Functions | |
void | bookHistograms (fwlite::EventContainer &eventCont) |
bool | calcSampleName (fwlite::EventContainer &eventCont, string &sampleName) |
int | main (int argc, char *argv[]) |
void | outputNameTagFunc (string &tag) |
anonymous enum |
Enumerator | |
---|---|
kNormalMode | |
kVqqMode | |
kLFMode | |
kWcMode |
Definition at line 21 of file secvtxMassTemplates.cc.
void bookHistograms | ( | fwlite::EventContainer & | eventCont | ) |
Definition at line 293 of file secvtxMassTemplates.cc.
References fwlite::EventContainer::add(), optutl::VariableMapCont::integerValue(), metsig::jet, kLFMode, kVqqMode, fwlite::EventContainer::parser(), geometryXMLtoCSV::parser, optutl::VariableMapCont::stringValue(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by ElectronConversionRejectionValidator::beginRun(), thread_unsafe::DQMEDAnalyzer::beginRun(), L1ExtraDQM::beginRun(), and main().
bool calcSampleName | ( | fwlite::EventContainer & | eventCont, |
string & | sampleName | ||
) |
Definition at line 399 of file secvtxMassTemplates.cc.
References funct::abs(), fwlite::Handle< T >::getByLabel(), optutl::VariableMapCont::integerValue(), fwlite::Handle< T >::isValid(), kLFMode, kNormalMode, kWcMode, alignBH_cfg::mode, fwlite::EventContainer::parser(), geometryXMLtoCSV::parser, and optutl::VariableMapCont::stringValue().
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 53 of file secvtxMassTemplates.cc.
References funct::abs(), optutl::VariableMapCont::addOption(), fwlite::EventContainer::atEnd(), bookHistograms(), calcSampleName(), fwlite::Handle< T >::getByLabel(), fwlite::EventContainer::hist(), fwlite::Handle< T >::isValid(), min(), reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::nVertices(), optutl::CommandLineParser::parseArguments(), geometryXMLtoCSV::parser, reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::secondaryVertex(), optutl::VariableMapCont::stringValue(), fwlite::EventContainer::toBegin(), reco::Vertex::tracks_begin(), and reco::Vertex::tracks_end().
void outputNameTagFunc | ( | string & | tag | ) |
Definition at line 280 of file secvtxMassTemplates.cc.