#include <BPHRecoBuilder.h>
Classes | |
struct | BPHCompSource |
class | BPHGenericCollection |
class | BPHInterfaceCollection |
struct | BPHRecoSource |
class | BPHSpecificCollection |
class | BPHSpecificCollection< BPHRecoBuilder::rcpV > |
struct | ComponentSet |
Public Member Functions | |
bool | accept (const BPHRecoCandidate &cand) const |
void | add (const std::string &name, const BPHGenericCollection *collection, double mass=-1.0, double msig=-1.0) |
template<class T > | |
void | add (const std::string &name, const edm::Handle< T > &collection, double mass=-1.0, double msig=-1.0) |
void | add (const std::string &name, const std::vector< BPHRecoConstCandPtr > &collection) |
template<class T > | |
void | add (const std::string &name, const std::vector< T > &collection) |
BPHRecoBuilder (const BPHRecoBuilder &x)=delete | |
BPHRecoBuilder (const edm::EventSetup &es) | |
std::vector< ComponentSet > | build () const |
build a set of combinations of particles fulfilling the selections More... | |
const edm::EventSetup * | eventSetup () const |
get the EventSetup set in the constructor More... | |
void | filter (const BPHFitSelect &sel) |
kinematical fit More... | |
void | filter (const BPHMomentumSelect &sel) |
void | filter (const BPHVertexSelect &sel) |
vertex reconstruction More... | |
void | filter (const std::string &name, const BPHFitSelect &sel) const |
previously reconstructed particles, at kinematical fit level More... | |
void | filter (const std::string &name, const BPHMomentumSelect &sel) const |
previously reconstructed particles, at simple momentum sum level More... | |
void | filter (const std::string &name, const BPHRecoSelect &sel) const |
void | filter (const std::string &name, const BPHVertexSelect &sel) const |
previously reconstructed particles, at vertex reconstruction level More... | |
BPHRecoBuilder & | operator= (const BPHRecoBuilder &x)=delete |
void | setMinPDiffererence (double pMin) |
virtual | ~BPHRecoBuilder () |
Static Public Member Functions | |
template<class T > | |
static BPHGenericCollection * | createCollection (const edm::Handle< T > &collection, const std::string &list="cfhpmig") |
static BPHGenericCollection * | createCollection (const std::vector< const reco::Candidate * > &candList, const std::string &list="cfhpmig") |
static bool | sameTrack (const reco::Candidate *lCand, const reco::Candidate *rCand, double minPDifference) |
Private Types | |
typedef std::vector< const reco::Candidate * > | rcpV |
Private Member Functions | |
void | build (std::vector< ComponentSet > &compList, ComponentSet &compSet, std::vector< BPHRecoSource * >::const_iterator r_iter, std::vector< BPHRecoSource * >::const_iterator r_iend, std::vector< BPHCompSource * >::const_iterator c_iter, std::vector< BPHCompSource * >::const_iterator c_iend) const |
bool | contained (ComponentSet &compSet, BPHRecoConstCandPtr cand) const |
bool | contained (ComponentSet &compSet, const reco::Candidate *cand) const |
bool | sameTrack (const reco::Candidate *lCand, const reco::Candidate *rCand) const |
Private Attributes | |
std::set< const std::vector< BPHRecoConstCandPtr > * > | compCollectList |
std::map< std::string, BPHRecoConstCandPtr > | compMap |
std::map< std::string, const reco::Candidate * > | daugMap |
const edm::EventSetup * | evSetup |
std::vector< const BPHFitSelect * > | fsList |
double | minPDiff |
std::vector< const BPHMomentumSelect * > | msList |
std::map< std::string, int > | sourceId |
std::vector< BPHRecoSource * > | sourceList |
std::map< std::string, int > | srCompId |
std::vector< BPHCompSource * > | srCompList |
std::vector< const BPHVertexSelect * > | vsList |
Friends | |
class | BPHRecoSelect |
Description: Class to build all the combinations of decay products starting from reco::Candidate collections and applying selection cuts to decay products and reconstructed candidates
Definition at line 50 of file BPHRecoBuilder.h.
|
private |
Definition at line 145 of file BPHRecoBuilder.h.
BPHRecoBuilder::BPHRecoBuilder | ( | const edm::EventSetup & | es | ) |
|
delete |
|
virtual |
Destructor
Definition at line 45 of file BPHRecoBuilder.cc.
References compCollectList, visualization-live-secondInstance_cfg::m, dqmiodumpmetadata::n, sourceList, and srCompList.
bool BPHRecoBuilder::accept | ( | const BPHRecoCandidate & | cand | ) | const |
Definition at line 151 of file BPHRecoBuilder.cc.
References fsList, mps_fire::i, msList, dqmiodumpmetadata::n, and vsList.
Referenced by build(), BPHRecoCandidate::fill(), and esMonitoring.FDJsonServer::handle_accept().
void BPHRecoBuilder::add | ( | const std::string & | name, |
const BPHGenericCollection * | collection, | ||
double | mass = -1.0 , |
||
double | msig = -1.0 |
||
) |
add collection of particles giving them a name collections can be added as
Referenced by add(), BPHBdToKxMuMuBuilder::build(), BPHDecayToResResBuilder::build(), BPHDecayToResFlyingBuilder::build(), BPHOniaToMuMuBuilder::build(), BPHDecayToResTrkBuilder::build(), and counter.Counter::register().
void BPHRecoBuilder::add | ( | const std::string & | name, |
const edm::Handle< T > & | collection, | ||
double | mass = -1.0 , |
||
double | msig = -1.0 |
||
) |
Definition at line 234 of file BPHRecoBuilder.h.
References add(), universalConfigTemplate::collection, EgHLTOffHistBins_cfi::mass, and Skims_PA_cff::name.
Referenced by counter.Counter::register().
void BPHRecoBuilder::add | ( | const std::string & | name, |
const std::vector< BPHRecoConstCandPtr > & | collection | ||
) |
Referenced by counter.Counter::register().
void BPHRecoBuilder::add | ( | const std::string & | name, |
const std::vector< T > & | collection | ||
) |
Definition at line 241 of file BPHRecoBuilder.h.
References add(), universalConfigTemplate::collection, compCollectList, mps_fire::i, dqmiodumpmetadata::n, and Skims_PA_cff::name.
Referenced by counter.Counter::register().
vector< BPHRecoBuilder::ComponentSet > BPHRecoBuilder::build | ( | ) | const |
build a set of combinations of particles fulfilling the selections
Definition at line 177 of file BPHRecoBuilder.cc.
References compMap, daugMap, sourceList, and srCompList.
Referenced by build(), and BPHRecoCandidate::fill().
|
private |
Definition at line 206 of file BPHRecoBuilder.cc.
References accept(), build(), universalConfigTemplate::collection, AlCaHLTBitMon_QueryRunRegistry::comp, BPHRecoBuilder::ComponentSet::compMap, compMap, contained(), BPHRecoBuilder::ComponentSet::daugMap, daugMap, mps_fire::i, dqmiolumiharvest::j, visualization-live-secondInstance_cfg::m, dqmiodumpmetadata::n, optionsL1T::skip, and source.
|
private |
Definition at line 315 of file BPHRecoBuilder.cc.
References compMap, BPHRecoBuilder::ComponentSet::daugMap, mps_splice::entry, dqmiolumiharvest::j, dqmdumpme::k, cmsLHEtoEOSManager::l, visualization-live-secondInstance_cfg::m, and sameTrack().
|
private |
Definition at line 301 of file BPHRecoBuilder.cc.
References BPHRecoBuilder::ComponentSet::daugMap, and sameTrack().
Referenced by build().
|
static |
Definition at line 228 of file BPHRecoBuilder.h.
References universalConfigTemplate::collection, and list().
Referenced by BPHWriteSpecificDecay::fill().
|
static |
const edm::EventSetup * BPHRecoBuilder::eventSetup | ( | ) | const |
get the EventSetup set in the constructor
Definition at line 186 of file BPHRecoBuilder.cc.
References evSetup.
Referenced by BPHRecoCandidate::fill().
void BPHRecoBuilder::filter | ( | const BPHFitSelect & | sel | ) |
kinematical fit
Definition at line 146 of file BPHRecoBuilder.cc.
References fsList, and EgammaValidation_Wenu_cff::sel.
void BPHRecoBuilder::filter | ( | const BPHMomentumSelect & | sel | ) |
define selections to recontructed particles, at different levels: simple momentum sum
Definition at line 136 of file BPHRecoBuilder.cc.
References msList, and EgammaValidation_Wenu_cff::sel.
void BPHRecoBuilder::filter | ( | const BPHVertexSelect & | sel | ) |
vertex reconstruction
Definition at line 141 of file BPHRecoBuilder.cc.
References EgammaValidation_Wenu_cff::sel, and vsList.
void BPHRecoBuilder::filter | ( | const std::string & | name, |
const BPHFitSelect & | sel | ||
) | const |
previously reconstructed particles, at kinematical fit level
void BPHRecoBuilder::filter | ( | const std::string & | name, |
const BPHMomentumSelect & | sel | ||
) | const |
previously reconstructed particles, at simple momentum sum level
void BPHRecoBuilder::filter | ( | const std::string & | name, |
const BPHRecoSelect & | sel | ||
) | const |
define selections to particles to be used in the reconstruction: simple particles
Referenced by BPHBdToKxMuMuBuilder::build(), BPHDecayToResResBuilder::build(), BPHPlusMinusCandidate::build(), BPHDecayToResFlyingBuilder::build(), BPHOniaToMuMuBuilder::build(), and BPHDecayToResTrkBuilder::build().
void BPHRecoBuilder::filter | ( | const std::string & | name, |
const BPHVertexSelect & | sel | ||
) | const |
previously reconstructed particles, at vertex reconstruction level
|
delete |
|
private |
Definition at line 354 of file BPHRecoBuilder.cc.
References minPDiff, and sameTrack().
|
static |
Definition at line 188 of file BPHRecoBuilder.cc.
References reco::Candidate::charge(), BPHTrackReference::getFromPF(), BPHTrackReference::getFromRC(), and reco::Candidate::momentum().
Referenced by contained(), BPHWriteSpecificDecay::fill(), and sameTrack().
void BPHRecoBuilder::setMinPDiffererence | ( | double | pMin | ) |
define a min. squared momentum difference between two particles (relative difference to squared momentum sum is used)
Definition at line 172 of file BPHRecoBuilder.cc.
References minPDiff, and ALCARECOTkAlMinBias_cff::pMin.
Referenced by BPHBdToKxMuMuBuilder::build(), BPHDecayToResResBuilder::build(), BPHDecayToResFlyingBuilder::build(), and BPHDecayToResTrkBuilder::build().
|
friend |
Definition at line 51 of file BPHRecoBuilder.h.
|
private |
Definition at line 197 of file BPHRecoBuilder.h.
Referenced by add(), and ~BPHRecoBuilder().
|
mutableprivate |
Definition at line 186 of file BPHRecoBuilder.h.
Referenced by build(), and contained().
|
mutableprivate |
Definition at line 185 of file BPHRecoBuilder.h.
Referenced by build().
|
private |
Definition at line 188 of file BPHRecoBuilder.h.
Referenced by eventSetup().
|
private |
Definition at line 202 of file BPHRecoBuilder.h.
|
private |
Definition at line 189 of file BPHRecoBuilder.h.
Referenced by sameTrack(), and setMinPDiffererence().
|
private |
Definition at line 200 of file BPHRecoBuilder.h.
Referenced by accept(), BPHRecoBuilder(), and filter().
|
private |
Definition at line 205 of file BPHRecoBuilder.h.
|
private |
Definition at line 192 of file BPHRecoBuilder.h.
Referenced by build(), and ~BPHRecoBuilder().
|
private |
Definition at line 206 of file BPHRecoBuilder.h.
|
private |
Definition at line 193 of file BPHRecoBuilder.h.
Referenced by build(), and ~BPHRecoBuilder().
|
private |
Definition at line 201 of file BPHRecoBuilder.h.
Referenced by accept(), BPHRecoBuilder(), and filter().