#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, createfilelist::parser, fwlite::EventContainer::parser(), optutl::VariableMapCont::stringValue(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by NoCQTask::bookHistograms(), HFRaddamTask::bookHistograms(), DigiComparisonTask::bookHistograms(), TPComparisonTask::bookHistograms(), LaserTask::bookHistograms(), TPTask::bookHistograms(), LEDTask::bookHistograms(), PedestalTask::bookHistograms(), QIE10Task::bookHistograms(), QIE11Task::bookHistograms(), UMNioTask::bookHistograms(), RawTask::bookHistograms(), RecHitTask::bookHistograms(), DigiPhase1Task::bookHistograms(), DigiTask::bookHistograms(), DQMEDAnalyzer::dqmBeginRun(), thread_unsafe::DQMEDAnalyzer::dqmBeginRun(), MillePedeDQMModule::dqmEndJob(), main(), HLTTauDQMPathSummaryPlotter::setPathObjects(), EcalDQMonitorTask::~EcalDQMonitorTask(), SingleTopTChannelLeptonDQM::~SingleTopTChannelLeptonDQM(), SingleTopTChannelLeptonDQM_miniAOD::~SingleTopTChannelLeptonDQM_miniAOD(), TopDiLeptonOfflineDQM::~TopDiLeptonOfflineDQM(), TopSingleLeptonDQM::~TopSingleLeptonDQM(), and TopSingleLeptonDQM_miniAOD::~TopSingleLeptonDQM_miniAOD().
bool calcSampleName | ( | fwlite::EventContainer & | eventCont, |
string & | sampleName | ||
) |
Definition at line 399 of file secvtxMassTemplates.cc.
References funct::abs(), caloTruthProducer_cfi::genParticleCollection, fwlite::Handle< T >::getByLabel(), optutl::VariableMapCont::integerValue(), fwlite::Handle< T >::isValid(), kLFMode, kNormalMode, kWcMode, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, createfilelist::parser, fwlite::EventContainer::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(), createfilelist::parser, reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::secondaryVertex(), optutl::VariableMapCont::stringValue(), caloDeepCSVTagInfos_cfi::svTagInfos, fwlite::EventContainer::toBegin(), reco::Vertex::tracks_begin(), and reco::Vertex::tracks_end().
void outputNameTagFunc | ( | string & | tag | ) |
Definition at line 280 of file secvtxMassTemplates.cc.