#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(), mps_alisetup::parser, optutl::VariableMapCont::stringValue(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by thread_unsafe::DQMEDAnalyzer::beginRun(), RadDamTask::bookHistograms(), DigiComparisonTask::bookHistograms(), TPComparisonTask::bookHistograms(), TPTask::bookHistograms(), LaserTask::bookHistograms(), LEDTask::bookHistograms(), PedestalTask::bookHistograms(), RawTask::bookHistograms(), RecHitTask::bookHistograms(), DigiTask::bookHistograms(), MillePedeDQMModule::dqmEndJob(), and main().
bool calcSampleName | ( | fwlite::EventContainer & | eventCont, |
string & | sampleName | ||
) |
Definition at line 399 of file secvtxMassTemplates.cc.
References funct::abs(), assert(), fwlite::Handle< T >::getByLabel(), optutl::VariableMapCont::integerValue(), fwlite::Handle< T >::isValid(), kLFMode, kNormalMode, kWcMode, alignBH_cfg::mode, fwlite::EventContainer::parser(), mps_alisetup::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(), assert(), 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(), mps_alisetup::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.