Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
);
10
~TPTreeFiller
();
11
12
// We declare 'const' the methods which don't change the configuration
13
void
init
(
const
edm::Event
&
iEvent
)
const
;
14
void
fill
(
const
reco::CandidateBaseRef
&probe,
double
mass,
bool
mcTrue=
false
)
const
;
15
16
protected
:
18
mutable
float
mass_
;
20
mutable
int32_t
mcTrue_
;
21
};
22
}
23
24
#endif
BaseTreeFiller.h
tnp::TPTreeFiller::~TPTreeFiller
~TPTreeFiller()
Definition:
TPTreeFiller.cc:15
tnp::TPTreeFiller::init
void init(const edm::Event &iEvent) const
Definition:
TPTreeFiller.cc:17
edm::RefToBase< Candidate >
iEvent
int iEvent
Definition:
GenABIO.cc:243
tnp::TPTreeFiller
Definition:
TPTreeFiller.h:7
tnp::TPTreeFiller::fill
void fill(const reco::CandidateBaseRef &probe, double mass, bool mcTrue=false) const
Definition:
TPTreeFiller.cc:21
tnp::TPTreeFiller::mass_
float mass_
extra branch for the mass
Definition:
TPTreeFiller.h:18
tnp::TPTreeFiller::mcTrue_
int32_t mcTrue_
extra branch for the mc truth
Definition:
TPTreeFiller.h:20
HDQMDatabaseProducer.config
tuple config
Definition:
HDQMDatabaseProducer.py:18
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::Event
Definition:
Event.h:56
tnp::TPTreeFiller::TPTreeFiller
TPTreeFiller(const edm::ParameterSet config)
Definition:
TPTreeFiller.cc:3
tnp::BaseTreeFiller
Definition:
BaseTreeFiller.h:127
Generated for CMSSW Reference Manual by
1.8.5