Main Page
Namespaces
Classes
Package Documentation
PhysicsTools
TagAndProbe
interface
TPTreeFiller.h
Go to the documentation of this file.
1
#ifndef PhysicsTools_TagAndProbe_TreeFiller_h
2
#define PhysicsTools_TagAndProbe_TreeFiller_h
3
4
#include "
PhysicsTools/TagAndProbe/interface/BaseTreeFiller.h
"
5
6
namespace
tnp
{
7
class
TPTreeFiller
:
public
BaseTreeFiller
{
8
public
:
9
TPTreeFiller
(
const
edm::ParameterSet
&
config
,
edm::ConsumesCollector
&& iC) :
TPTreeFiller
(config, iC) {};
10
TPTreeFiller
(
const
edm::ParameterSet
&
config
,
edm::ConsumesCollector
& iC);
11
~TPTreeFiller
();
12
13
// We declare 'const' the methods which don't change the configuration
14
void
init
(
const
edm::Event
&
iEvent
)
const
;
15
void
fill
(
const
reco::CandidateBaseRef
&probe,
double
mass
,
bool
mcTrue
=
false
,
float
mcMass=0.0)
const
;
16
17
protected
:
19
mutable
float
mass_
;
21
mutable
int32_t
mcTrue_
;
23
mutable
float
mcMass_
;
24
};
25
}
26
27
#endif
BaseTreeFiller.h
tnp::TPTreeFiller::~TPTreeFiller
~TPTreeFiller()
Definition:
TPTreeFiller.cc:17
tnp::TPTreeFiller::TPTreeFiller
TPTreeFiller(const edm::ParameterSet &config, edm::ConsumesCollector &&iC)
Definition:
TPTreeFiller.h:9
tnp::TPTreeFiller::init
void init(const edm::Event &iEvent) const
Definition:
TPTreeFiller.cc:19
config
Definition:
config.py:1
edm::RefToBase< Candidate >
tnp
Definition:
BaseTreeFiller.h:42
iEvent
int iEvent
Definition:
GenABIO.cc:224
tnp::TPTreeFiller
Definition:
TPTreeFiller.h:7
TagProbeFitTreeAnalyzer_cfi.mcTrue
mcTrue
Definition:
TagProbeFitTreeAnalyzer_cfi.py:24
tnp::TPTreeFiller::mass_
float mass_
extra branch for the mass
Definition:
TPTreeFiller.h:19
tnp::TPTreeFiller::mcTrue_
int32_t mcTrue_
extra branch for the mc truth
Definition:
TPTreeFiller.h:21
tnp::TPTreeFiller::fill
void fill(const reco::CandidateBaseRef &probe, double mass, bool mcTrue=false, float mcMass=0.0) const
Definition:
TPTreeFiller.cc:23
tnp::TPTreeFiller::mcMass_
float mcMass_
extra branch for the mc-truth mass
Definition:
TPTreeFiller.h:23
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:71
tnp::BaseTreeFiller
Definition:
BaseTreeFiller.h:141
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
ResonanceBuilder.mass
mass
Definition:
ResonanceBuilder.py:8
Generated for CMSSW Reference Manual by
1.8.11