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