|
|
Go to the documentation of this file. 1 #ifndef HeavyFlavorAnalysis_RecoDecay_BPHRecoBuilder_h
2 #define HeavyFlavorAnalysis_RecoDecay_BPHRecoBuilder_h
75 virtual int size()
const = 0;
128 std::map<std::string, BPHDecayMomentum::Component>
daugMap;
129 std::map<std::string, BPHRecoConstCandPtr>
compMap;
133 std::vector<ComponentSet>
build()
const;
145 typedef std::vector<const reco::Candidate*>
rcpV;
185 mutable std::map<std::string, const reco::Candidate*>
daugMap;
186 mutable std::map<std::string, BPHRecoConstCandPtr>
compMap;
200 std::vector<const BPHMomentumSelect*>
msList;
201 std::vector<const BPHVertexSelect*>
vsList;
209 void build(std::vector<ComponentSet>& compList,
211 std::vector<BPHRecoSource*>::const_iterator r_iter,
212 std::vector<BPHRecoSource*>::const_iterator r_iend,
213 std::vector<BPHCompSource*>::const_iterator c_iter,
214 std::vector<BPHCompSource*>::const_iterator c_iend)
const;
246 std::vector<BPHRecoConstCandPtr>* compCandList =
new std::vector<BPHRecoConstCandPtr>(
n);
247 for (
i = 0;
i <
n; ++
i)
BPHSpecificCollection(const T &c, const std::string &list)
void filter(const std::string &name, const BPHRecoSelect &sel) const
std::vector< BPHCompSource * > srCompList
int size() const override
const edm::EventSetup * evSetup
BPHRecoBuilder(const edm::EventSetup &es)
bool contained(ComponentSet &compSet, const reco::Candidate *cand) const
std::vector< BPHRecoSource * > sourceList
static bool sameTrack(const reco::Candidate *lCand, const reco::Candidate *rCand, double minPDifference)
virtual const reco::Candidate & get(int i) const =0
virtual ~BPHRecoBuilder()
static BPHGenericCollection * createCollection(const edm::Handle< T > &collection, const std::string &list="cfhpmig")
const reco::Candidate & get(int i) const override
std::map< std::string, int > sourceId
std::vector< const BPHVertexSelect * > vtxSelector
std::vector< ComponentSet > build() const
build a set of combinations of particles fulfilling the selections
BPHInterfaceCollection(const T &c, const std::string &list)
BPHSpecificCollection(const BPHRecoBuilder::rcpV &c, const std::string &list)
std::vector< const BPHMomentumSelect * > msList
~BPHInterfaceCollection() override
std::map< std::string, const reco::Candidate * > daugMap
std::vector< const BPHRecoSelect * > selector
std::vector< const BPHFitSelect * > fitSelector
void setMinPDiffererence(double pMin)
const edm::EventSetup * eventSetup() const
get the EventSetup set in the constructor
virtual ~BPHGenericCollection()
std::vector< const BPHFitSelect * > fsList
const std::string & searchList() const
std::map< std::string, BPHDecayMomentum::Component > daugMap
virtual int size() const =0
const BPHGenericCollection * collection
const std::vector< BPHRecoConstCandPtr > * collection
const reco::Candidate & get(int i) const override
std::map< std::string, BPHRecoConstCandPtr > compMap
std::map< std::string, BPHRecoConstCandPtr > compMap
std::vector< const reco::Candidate * > rcpV
void add(const std::string &name, const BPHGenericCollection *collection, double mass=-1.0, double msig=-1.0)
std::vector< const BPHVertexSelect * > vsList
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*", "!HLTx*" if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL. It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of "!*" before the partial wildcard feature was incorporated). Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run
std::set< const std::vector< BPHRecoConstCandPtr > * > compCollectList
bool accept(const BPHRecoCandidate &cand) const
std::vector< const BPHMomentumSelect * > momSelector
BPHRecoBuilder & operator=(const BPHRecoBuilder &x)=delete
BPHGenericCollection(const std::string &list)
std::map< std::string, int > srCompId
BPHGenericPtr< const BPHRecoCandidate >::type BPHRecoConstCandPtr