Go to the documentation of this file. 1 #ifndef TtFullHadHypothesis_h
2 #define TtFullHadHypothesis_h
71 std::vector<int>& jetPartonAssociation,
72 const unsigned int iComb) = 0;
bool isValid(const int &idx, const edm::Handle< std::vector< pat::Jet > > &jets)
check if index is in valid range of selected jets
reco::ShallowClonePtrCandidate * lightP_
virtual void buildKey()=0
build the event hypothesis key
edm::EDGetTokenT< std::vector< pat::Jet > > jetsToken_
input label for all necessary collections
void setCandidate(const edm::Handle< C > &handle, const int &idx, reco::ShallowClonePtrCandidate *&clone)
use one object in a collection to set a ShallowClonePtrCandidate
virtual void buildHypo(edm::Event &event, const edm::Handle< std::vector< pat::Jet > > &jets, std::vector< int > &jetPartonAssociation, const unsigned int iComb)=0
build event hypothesis from the reco objects of a full-hadronic event
reco::ShallowClonePtrCandidate * bBar_
reco::ShallowClonePtrCandidate * lightPBar_
void produce(edm::Event &, const edm::EventSetup &) override
produce the event hypothesis as CompositeCandidate and Key
reco::ShallowClonePtrCandidate * b_
int key_
hypothesis key (to be set by the buildKey function)
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
TtFullHadHypothesis(const edm::ParameterSet &cfg)
default constructor
reco::CompositeCandidate hypo()
return event hypothesis
Container::value_type value_type
~TtFullHadHypothesis() override
default destructor
int key() const
return key
edm::EDGetTokenT< std::vector< std::vector< int > > > matchToken_
reco::ShallowClonePtrCandidate * lightQ_
void resetCandidates()
reset candidate pointers before hypo build process
std::string jetCorrectionLevel(const std::string &quarkType)
helper function to construct the proper correction level string for corresponding quarkType
std::string jetCorrectionLevel_
reco::ShallowClonePtrCandidate * lightQBar_