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.
void fill(const reco::CandidateBaseRef &probe, double mass, bool mcTrue=false) const
float mass_
extra branch for the mass
int32_t mcTrue_
extra branch for the mc truth