#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, writedatasetfile::parser, fwlite::EventContainer::parser(), optutl::VariableMapCont::stringValue(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by main().
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, writedatasetfile::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(), writedatasetfile::parser, reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::secondaryVertex(), optutl::VariableMapCont::stringValue(), caloDeepCSVTagInfos_cfi::svTagInfos, and fwlite::EventContainer::toBegin().
void outputNameTagFunc | ( | string & | tag | ) |
Definition at line 280 of file secvtxMassTemplates.cc.