1 #ifndef HeavyFlavorAnalysis_RecoDecay_BPHRecoBuilder_h 2 #define HeavyFlavorAnalysis_RecoDecay_BPHRecoBuilder_h 74 virtual int size()
const = 0;
84 const std::vector<const reco::Candidate*>&
104 double msig = -1.0 );
106 const std::vector<BPHRecoConstCandPtr>&
collection );
133 void setMinPDiffererence(
double pMin );
138 std::map<std::string,BPHDecayMomentum::Component>
daugMap;
139 std::map<std::string,BPHRecoConstCandPtr >
compMap;
143 std::vector<ComponentSet> build()
const;
169 virtual int size()
const {
return cPtr->size(); }
196 mutable std::map<std::string,const reco::Candidate*>
daugMap;
197 mutable std::map<std::string,BPHRecoConstCandPtr >
compMap;
211 std::vector<const BPHMomentumSelect*>
msList;
212 std::vector<const BPHVertexSelect *>
vsList;
213 std::vector<const BPHFitSelect *>
fsList;
220 void build( std::vector<ComponentSet>& compList,
222 std::vector<BPHRecoSource*>::const_iterator r_iter,
223 std::vector<BPHRecoSource*>::const_iterator r_iend,
224 std::vector<BPHCompSource*>::const_iterator c_iter,
225 std::vector<BPHCompSource*>::const_iterator c_iend )
const;
258 "cfhpmig" ), mass, msig );
269 int n = collection.size();
270 std::vector<BPHRecoConstCandPtr>* compCandList =
271 new std::vector<BPHRecoConstCandPtr>(
n );
272 for ( i = 0; i <
n; ++
i ) (*compCandList)[
i] = collection[
i];
274 compCollectList.insert( compCandList );
275 add( name, *compCandList );
std::vector< const BPHRecoSelect * > selector
std::vector< const BPHVertexSelect * > vsList
BPHGenericPtr< const BPHRecoCandidate >::type BPHRecoConstCandPtr
std::map< std::string, BPHRecoConstCandPtr > compMap
const std::vector< BPHRecoConstCandPtr > * collection
std::map< std::string, int > sourceId
void add(const std::vector< const T * > &source, std::vector< const T * > &dest)
const edm::EventSetup * evSetup
BPHSpecificCollection(const T &c, const std::string &list)
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
BPHGenericCollection(const std::string &list)
std::vector< BPHCompSource * > srCompList
virtual ~BPHSpecificCollection()
std::vector< const BPHFitSelect * > fsList
const BPHGenericCollection * collection
static BPHGenericCollection * createCollection(const edm::Handle< T > &collection, const std::string &list="cfhpmig")
std::vector< const BPHFitSelect * > fitSelector
std::vector< const BPHVertexSelect * > vtxSelector
std::map< std::string, const reco::Candidate * > daugMap
std::vector< BPHRecoSource * > sourceList
virtual ~BPHGenericCollection()
void add(const std::string &name, const BPHGenericCollection *collection, double mass=-1.0, double msig=-1.0)
std::map< std::string, BPHDecayMomentum::Component > daugMap
const std::string & searchList() const
std::vector< const BPHMomentumSelect * > momSelector
std::map< std::string, int > srCompId
std::vector< const BPHMomentumSelect * > msList
std::set< const std::vector< BPHRecoConstCandPtr > * > compCollectList
std::map< std::string, BPHRecoConstCandPtr > compMap
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