9 if (
config.getParameter<
bool>(
"isMC")) {
void init(const edm::Event &iEvent) const
void fill(const reco::CandidateBaseRef &probe, double mass, bool mcTrue=false, float mcMass=0.0) const
TPTreeFiller(const edm::ParameterSet &config, edm::ConsumesCollector &&iC)
void fill(const reco::CandidateBaseRef &probe) const
To be called once per probe, to fill the values for this probe.
float mass_
extra branch for the mass
int32_t mcTrue_
extra branch for the mc truth
float mcMass_
extra branch for the mc-truth mass
void init(const edm::Event &iEvent) const
To be called once per event, to load possible external variables.