CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Macros
PFJetBenchmark.cc File Reference
#include "RecoParticleFlow/Benchmark/interface/PFJetBenchmark.h"
#include "DataFormats/TrackReco/interface/Track.h"
#include "DQMServices/Core/interface/DQMStore.h"
#include "DQMServices/Core/interface/MonitorElement.h"

Go to the source code of this file.

Macros

#define BOOK1D(name, title, nbinsx, lowx, highx)
 
#define BOOK2D(name, title, nbinsx, lowx, highx, nbinsy, lowy, highy)
 
#define DBOOK1D(name, title, nbinsx, lowx, highx)   BOOK1D(B##name,"Barrel "#title,nbinsx,lowx,highx); BOOK1D(E##name,"Endcap "#title,nbinsx,lowx,highx); BOOK1D(F##name,"Forward "#title,nbinsx,lowx,highx);
 
#define DBOOK2D(name, title, nbinsx, lowx, highx, nbinsy, lowy, highy)   BOOK2D(B##name,"Barrel "#title,nbinsx,lowx,highx,nbinsy,lowy,highy); BOOK2D(E##name,"Endcap "#title,nbinsx,lowx,highx,nbinsy,lowy,highy); BOOK2D(F##name,"Forward "#title,nbinsx,lowx,highx,nbinsy,lowy,highy);
 
#define DSETAXES(name, xtitle, ytitle)   SETAXES(B##name,xtitle,ytitle);SETAXES(E##name,xtitle,ytitle);SETAXES(F##name,xtitle,ytitle);
 
#define P   (plotAgainstReco_)?"generated P" :"generated P"
 
#define PT   (plotAgainstReco_)?"reconstructed P_{T}" :"generated P_{T}"
 
#define SETAXES(name, xtitle, ytitle)   h##name->GetXaxis()->SetTitle(xtitle); h##name->GetYaxis()->SetTitle(ytitle)
 

Macro Definition Documentation

#define BOOK1D (   name,
  title,
  nbinsx,
  lowx,
  highx 
)
Value:
h##name = dbe_ ? dbe_->book1D(#name,title,nbinsx,lowx,highx)->getTH1F() \
: new TH1F(#name,title,nbinsx,lowx,highx)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
DQMStore * dbe_

Definition at line 7 of file PFJetBenchmark.cc.

Referenced by PFJetBenchmark::setup().

#define BOOK2D (   name,
  title,
  nbinsx,
  lowx,
  highx,
  nbinsy,
  lowy,
  highy 
)
Value:
h##name = dbe_ ? dbe_->book2D(#name,title,nbinsx,lowx,highx,nbinsy,lowy,highy)->getTH2F() \
: new TH2F(#name,title,nbinsx,lowx,highx,nbinsy,lowy,highy)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
DQMStore * dbe_

Definition at line 12 of file PFJetBenchmark.cc.

Referenced by PFJetBenchmark::setup().

#define DBOOK1D (   name,
  title,
  nbinsx,
  lowx,
  highx 
)    BOOK1D(B##name,"Barrel "#title,nbinsx,lowx,highx); BOOK1D(E##name,"Endcap "#title,nbinsx,lowx,highx); BOOK1D(F##name,"Forward "#title,nbinsx,lowx,highx);

Definition at line 17 of file PFJetBenchmark.cc.

Referenced by PFJetBenchmark::setup().

#define DBOOK2D (   name,
  title,
  nbinsx,
  lowx,
  highx,
  nbinsy,
  lowy,
  highy 
)    BOOK2D(B##name,"Barrel "#title,nbinsx,lowx,highx,nbinsy,lowy,highy); BOOK2D(E##name,"Endcap "#title,nbinsx,lowx,highx,nbinsy,lowy,highy); BOOK2D(F##name,"Forward "#title,nbinsx,lowx,highx,nbinsy,lowy,highy);

Definition at line 19 of file PFJetBenchmark.cc.

Referenced by PFJetBenchmark::setup().

#define DSETAXES (   name,
  xtitle,
  ytitle 
)    SETAXES(B##name,xtitle,ytitle);SETAXES(E##name,xtitle,ytitle);SETAXES(F##name,xtitle,ytitle);

Definition at line 28 of file PFJetBenchmark.cc.

Referenced by PFJetBenchmark::setup().

#define P   (plotAgainstReco_)?"generated P" :"generated P"

Definition at line 35 of file PFJetBenchmark.cc.

Referenced by PFDisplacedVertexCandidateFinder::associate(), TFitConstraintM::CalcMass(), Line::distance(), SignedImpactParameter3D::distanceWithJetAxis(), magfieldparam::HarmBasis3DCyl::EvalBphi(), magfieldparam::HarmBasis3DCyl::EvalRZ(), MCTruthHelper< P >::findDecayedMother(), MCTruthHelper< P >::firstCopy(), TopologyWorker::fowo(), MCTruthHelper< P >::fromHardProcessBeforeFSR(), reco::GhostTrackPrediction::GhostTrackPrediction(), GeneralTracksImporter::goodPtResolution(), MCTruthHelper< P >::hardProcessMotherCopy(), MCTruthHelper< P >::isDirectHadronDecayProduct(), MCTruthHelper< P >::isDirectHardProcessTauDecayProduct(), MCTruthHelper< P >::isDirectPromptTauDecayProduct(), MCTruthHelper< P >::isDirectTauDecayProduct(), MCTruthHelper< P >::isHardProcess(), MCTruthHelper< P >::isHardProcessTauDecayProduct(), MCTruthHelper< P >::isPromptMuonDecayProduct(), MCTruthHelper< P >::isPromptTauDecayProduct(), IPTools::jetTrackDistance(), MCTruthHelper< P >::lastCopy(), MCTruthHelper< P >::lastCopyBeforeFSR(), MCTruthHelper< P >::lastDaughterCopyBeforeFSR(), dEdxAnalyzer::mass(), MuScleFitUtils::massProb(), reco::PFDisplacedVertexSeed::mergeWith(), CylindricalState::momentum(), reco::PFDisplacedVertex::momentum(), MCTruthHelper< P >::nextCopy(), SurveyInputCSCfromPins::orient(), PFDisplacedVertexCandidateFinder::packLinks(), reco::DeDxHitInfo::pixelCluster(), TopologyWorker::planes_sphe(), TopologyWorker::planes_sphe_wei(), MCTruthHelper< P >::previousCopy(), reco::PFDisplacedVertexCandidate::r2Map(), reco::PFDisplacedVertexCandidate::r2Vector(), MaterialEffects::radLengths(), cond::persistency::RowBuffer< Types...>::RowBuffer(), TopologyWorker::sanda(), cond::persistency::RowBuffer< Types...>::set(), CosmicMuonGenerator::setMaxP(), CosmicMuonGenerator::setMinP(), CosmicMuonGenerator::setMinP_CMS(), PFJetBenchmark::setup(), MCTruthHelper< P >::uniqueMother(), and reco::PFDisplacedVertexSeed::updateSeedPoint().

#define PT   (plotAgainstReco_)?"reconstructed P_{T}" :"generated P_{T}"
#define SETAXES (   name,
  xtitle,
  ytitle 
)    h##name->GetXaxis()->SetTitle(xtitle); h##name->GetYaxis()->SetTitle(ytitle)

Definition at line 24 of file PFJetBenchmark.cc.

Referenced by PFJetBenchmark::setup().