CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends
BPHRecoBuilder Class Reference

#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< ComponentSetbuild () const
 build a set of combinations of particles fulfilling the selections More...
 
const edm::EventSetupeventSetup () 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...
 
BPHRecoBuilderoperator= (const BPHRecoBuilder &x)=delete
 
void setMinPDiffererence (double pMin)
 
virtual ~BPHRecoBuilder ()
 

Static Public Member Functions

template<class T >
static BPHGenericCollectioncreateCollection (const edm::Handle< T > &collection, const std::string &list="cfhpmig")
 
static BPHGenericCollectioncreateCollection (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, BPHRecoConstCandPtrcompMap
 
std::map< std::string, const reco::Candidate * > daugMap
 
const edm::EventSetupevSetup
 
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
 

Detailed Description

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

Author
Paolo Ronchese INFN Padova

Definition at line 50 of file BPHRecoBuilder.h.

Member Typedef Documentation

◆ rcpV

typedef std::vector<const reco::Candidate*> BPHRecoBuilder::rcpV
private

Definition at line 145 of file BPHRecoBuilder.h.

Constructor & Destructor Documentation

◆ BPHRecoBuilder() [1/2]

BPHRecoBuilder::BPHRecoBuilder ( const edm::EventSetup es)

Constructor

Definition at line 37 of file BPHRecoBuilder.cc.

37  : evSetup(&es), minPDiff(-1.0) {
38  msList.reserve(5);
39  vsList.reserve(5);
40 }

References msList, and vsList.

◆ BPHRecoBuilder() [2/2]

BPHRecoBuilder::BPHRecoBuilder ( const BPHRecoBuilder x)
delete

◆ ~BPHRecoBuilder()

BPHRecoBuilder::~BPHRecoBuilder ( )
virtual

Destructor

Definition at line 45 of file BPHRecoBuilder.cc.

45  {
46  int n = sourceList.size();
47  while (n--) {
48  delete sourceList[n]->collection;
49  delete sourceList[n];
50  }
51  int m = srCompList.size();
52  while (m--)
53  delete srCompList[m];
54  while (!compCollectList.empty()) {
55  const vector<BPHRecoConstCandPtr>* cCollection = *compCollectList.begin();
56  delete cCollection;
57  compCollectList.erase(cCollection);
58  }
59 }

References compCollectList, visualization-live-secondInstance_cfg::m, dqmiodumpmetadata::n, sourceList, and srCompList.

Member Function Documentation

◆ accept()

bool BPHRecoBuilder::accept ( const BPHRecoCandidate cand) const

Definition at line 151 of file BPHRecoBuilder.cc.

151  {
152  int i;
153  int n;
154  n = msList.size();
155  for (i = 0; i < n; ++i) {
156  if (!msList[i]->accept(cand))
157  return false;
158  }
159  n = vsList.size();
160  for (i = 0; i < n; ++i) {
161  if (!vsList[i]->accept(cand))
162  return false;
163  }
164  n = fsList.size();
165  for (i = 0; i < n; ++i) {
166  if (!fsList[i]->accept(cand))
167  return false;
168  }
169  return true;
170 }

References fsList, mps_fire::i, msList, dqmiodumpmetadata::n, and vsList.

Referenced by build(), BPHRecoCandidate::fill(), and esMonitoring.FDJsonServer::handle_accept().

◆ add() [1/4]

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().

◆ add() [2/4]

template<class T >
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.

234  {
235  // forward call after creating an interface to the collection
236  add(name, new BPHSpecificCollection<T>(*collection, "cfhpmig"), mass, msig);
237  return;
238 }

References add(), universalConfigTemplate::collection, EgHLTOffHistBins_cfi::mass, and Skims_PA_cff::name.

Referenced by counter.Counter::register().

◆ add() [3/4]

void BPHRecoBuilder::add ( const std::string &  name,
const std::vector< BPHRecoConstCandPtr > &  collection 
)

◆ add() [4/4]

template<class T >
void BPHRecoBuilder::add ( const std::string &  name,
const std::vector< T > &  collection 
)

Definition at line 241 of file BPHRecoBuilder.h.

241  {
242  // forward call after converting the list of pointer to a list
243  // of pointer to base objects
244  int i;
245  int n = collection.size();
246  std::vector<BPHRecoConstCandPtr>* compCandList = new std::vector<BPHRecoConstCandPtr>(n);
247  for (i = 0; i < n; ++i)
248  (*compCandList)[i] = collection[i];
249  // save the converted list for cleanup
250  compCollectList.insert(compCandList);
251  add(name, *compCandList);
252  return;
253 }

References add(), universalConfigTemplate::collection, compCollectList, mps_fire::i, dqmiodumpmetadata::n, and Skims_PA_cff::name.

Referenced by counter.Counter::register().

◆ build() [1/2]

vector< BPHRecoBuilder::ComponentSet > BPHRecoBuilder::build ( ) const

build a set of combinations of particles fulfilling the selections

Definition at line 177 of file BPHRecoBuilder.cc.

177  {
178  daugMap.clear();
179  compMap.clear();
180  vector<ComponentSet> candList;
181  ComponentSet compSet;
182  build(candList, compSet, sourceList.begin(), sourceList.end(), srCompList.begin(), srCompList.end());
183  return candList;
184 }

References compMap, daugMap, sourceList, and srCompList.

Referenced by build(), and BPHRecoCandidate::fill().

◆ build() [2/2]

void BPHRecoBuilder::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
private

Definition at line 206 of file BPHRecoBuilder.cc.

211  {
212  if (r_iter == r_iend) {
213  if (c_iter == c_iend) {
214  compSet.compMap = compMap;
215  compList.push_back(compSet);
216  return;
217  }
218  BPHCompSource* source = *c_iter++;
219  const vector<BPHRecoConstCandPtr>* collection = source->collection;
220  vector<const BPHMomentumSelect*> momSelector = source->momSelector;
221  vector<const BPHVertexSelect*> vtxSelector = source->vtxSelector;
222  vector<const BPHFitSelect*> fitSelector = source->fitSelector;
223  int i;
224  int j;
225  int n = collection->size();
226  int m;
227  bool skip;
228  for (i = 0; i < n; ++i) {
229  skip = false;
231  if (contained(compSet, cand))
232  continue;
233  m = momSelector.size();
234  for (j = 0; j < m; ++j) {
235  if (!momSelector[j]->accept(*cand)) {
236  skip = true;
237  break;
238  }
239  }
240  if (skip)
241  continue;
242  m = vtxSelector.size();
243  for (j = 0; j < m; ++j) {
244  if (!vtxSelector[j]->accept(*cand)) {
245  skip = true;
246  break;
247  }
248  }
249  if (skip)
250  continue;
251  m = fitSelector.size();
252  for (j = 0; j < m; ++j) {
253  if (!fitSelector[j]->accept(*cand)) {
254  skip = true;
255  break;
256  }
257  }
258  if (skip)
259  continue;
260  compMap[*source->name] = cand;
261  build(compList, compSet, r_iter, r_iend, c_iter, c_iend);
262  compMap.erase(*source->name);
263  }
264  return;
265  }
266  BPHRecoSource* source = *r_iter++;
267  const BPHGenericCollection* collection = source->collection;
268  vector<const BPHRecoSelect*>& selector = source->selector;
269  int i;
270  int j;
271  int n = collection->size();
272  int m = selector.size();
273  bool skip;
274  for (i = 0; i < n; ++i) {
275  const reco::Candidate& cand = collection->get(i);
276  if (contained(compSet, &cand))
277  continue;
278  skip = false;
279  for (j = 0; j < m; ++j) {
280  if (!selector[j]->accept(cand, this)) {
281  skip = true;
282  break;
283  }
284  }
285  if (skip)
286  continue;
288  comp.cand = &cand;
289  comp.mass = source->mass;
290  comp.msig = source->msig;
291  comp.searchList = collection->searchList();
292  compSet.daugMap[*source->name] = comp;
293  daugMap[*source->name] = &cand;
294  build(compList, compSet, r_iter, r_iend, c_iter, c_iend);
295  daugMap.erase(*source->name);
296  compSet.daugMap.erase(*source->name);
297  }
298  return;
299 }

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.

◆ contained() [1/2]

bool BPHRecoBuilder::contained ( ComponentSet compSet,
BPHRecoConstCandPtr  cand 
) const
private

Definition at line 315 of file BPHRecoBuilder.cc.

315  {
316  map<string, BPHRecoConstCandPtr>::const_iterator c_iter;
317  map<string, BPHRecoConstCandPtr>::const_iterator c_iend = compMap.end();
318  const vector<const reco::Candidate*>& dCand = cCand->daughFull();
319  int j;
320  int m = dCand.size();
321  int k;
322  int l;
323  for (j = 0; j < m; ++j) {
324  const reco::Candidate* cand = cCand->originalReco(dCand[j]);
325  map<string, BPHDecayMomentum::Component>& dMap = compSet.daugMap;
326  map<string, BPHDecayMomentum::Component>::const_iterator d_iter;
327  map<string, BPHDecayMomentum::Component>::const_iterator d_iend = dMap.end();
328  for (d_iter = dMap.begin(); d_iter != d_iend; ++d_iter) {
329  const reco::Candidate* cChk = d_iter->second.cand;
330  if (cand == cChk)
331  return true;
332  if (sameTrack(cand, cChk))
333  return true;
334  }
335 
336  for (c_iter = compMap.begin(); c_iter != c_iend; ++c_iter) {
337  const pair<string, BPHRecoConstCandPtr>& entry = *c_iter;
338  BPHRecoConstCandPtr cCChk = entry.second;
339  const vector<const reco::Candidate*>& dCChk = cCChk->daughFull();
340  l = dCChk.size();
341  for (k = 0; k < l; ++k) {
342  const reco::Candidate* cChk = cCChk->originalReco(dCChk[k]);
343  if (cand == cChk)
344  return true;
345  if (sameTrack(cand, cChk))
346  return true;
347  }
348  }
349  }
350 
351  return false;
352 }

References compMap, BPHRecoBuilder::ComponentSet::daugMap, mps_splice::entry, dqmiolumiharvest::j, dqmdumpme::k, cmsLHEtoEOSManager::l, visualization-live-secondInstance_cfg::m, and sameTrack().

◆ contained() [2/2]

bool BPHRecoBuilder::contained ( ComponentSet compSet,
const reco::Candidate cand 
) const
private

Definition at line 301 of file BPHRecoBuilder.cc.

301  {
302  map<string, BPHDecayMomentum::Component>& dMap = compSet.daugMap;
303  map<string, BPHDecayMomentum::Component>::const_iterator d_iter;
304  map<string, BPHDecayMomentum::Component>::const_iterator d_iend = dMap.end();
305  for (d_iter = dMap.begin(); d_iter != d_iend; ++d_iter) {
306  const reco::Candidate* cChk = d_iter->second.cand;
307  if (cand == cChk)
308  return true;
309  if (sameTrack(cand, cChk))
310  return true;
311  }
312  return false;
313 }

References BPHRecoBuilder::ComponentSet::daugMap, and sameTrack().

Referenced by build().

◆ createCollection() [1/2]

template<class T >
BPHRecoBuilder::BPHGenericCollection * BPHRecoBuilder::createCollection ( const edm::Handle< T > &  collection,
const std::string &  list = "cfhpmig" 
)
static

Definition at line 228 of file BPHRecoBuilder.h.

229  {
230  return new BPHSpecificCollection<T>(*collection, list);
231 }

References universalConfigTemplate::collection, and list().

Referenced by BPHWriteSpecificDecay::fill().

◆ createCollection() [2/2]

static BPHGenericCollection* BPHRecoBuilder::createCollection ( const std::vector< const reco::Candidate * > &  candList,
const std::string &  list = "cfhpmig" 
)
static

◆ eventSetup()

const edm::EventSetup * BPHRecoBuilder::eventSetup ( ) const

get the EventSetup set in the constructor

Definition at line 186 of file BPHRecoBuilder.cc.

186 { return evSetup; }

References evSetup.

Referenced by BPHRecoCandidate::fill().

◆ filter() [1/7]

void BPHRecoBuilder::filter ( const BPHFitSelect sel)

kinematical fit

Definition at line 146 of file BPHRecoBuilder.cc.

146  {
147  fsList.push_back(&sel);
148  return;
149 }

References fsList, and EgammaValidation_Wenu_cff::sel.

◆ filter() [2/7]

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.

136  {
137  msList.push_back(&sel);
138  return;
139 }

References msList, and EgammaValidation_Wenu_cff::sel.

◆ filter() [3/7]

void BPHRecoBuilder::filter ( const BPHVertexSelect sel)

vertex reconstruction

Definition at line 141 of file BPHRecoBuilder.cc.

141  {
142  vsList.push_back(&sel);
143  return;
144 }

References EgammaValidation_Wenu_cff::sel, and vsList.

◆ filter() [4/7]

void BPHRecoBuilder::filter ( const std::string &  name,
const BPHFitSelect sel 
) const

previously reconstructed particles, at kinematical fit level

◆ filter() [5/7]

void BPHRecoBuilder::filter ( const std::string &  name,
const BPHMomentumSelect sel 
) const

previously reconstructed particles, at simple momentum sum level

◆ filter() [6/7]

void BPHRecoBuilder::filter ( const std::string &  name,
const BPHRecoSelect sel 
) const

◆ filter() [7/7]

void BPHRecoBuilder::filter ( const std::string &  name,
const BPHVertexSelect sel 
) const

previously reconstructed particles, at vertex reconstruction level

◆ operator=()

BPHRecoBuilder& BPHRecoBuilder::operator= ( const BPHRecoBuilder x)
delete

◆ sameTrack() [1/2]

bool BPHRecoBuilder::sameTrack ( const reco::Candidate lCand,
const reco::Candidate rCand 
) const
private

Definition at line 354 of file BPHRecoBuilder.cc.

354  {
355  return sameTrack(lCand, rCand, minPDiff);
356 }

References minPDiff, and sameTrack().

◆ sameTrack() [2/2]

bool BPHRecoBuilder::sameTrack ( const reco::Candidate lCand,
const reco::Candidate rCand,
double  minPDifference 
)
static

Definition at line 188 of file BPHRecoBuilder.cc.

188  {
189  const reco::Track* lrcTrack = BPHTrackReference::getFromRC(*lCand);
190  const reco::Track* rrcTrack = BPHTrackReference::getFromRC(*rCand);
191  const reco::Track* lpfTrack = BPHTrackReference::getFromPF(*lCand);
192  const reco::Track* rpfTrack = BPHTrackReference::getFromPF(*rCand);
193  if ((lrcTrack != nullptr) && ((lrcTrack == rrcTrack) || (lrcTrack == rpfTrack)))
194  return true;
195  if ((lpfTrack != nullptr) && ((lpfTrack == rrcTrack) || (lpfTrack == rpfTrack)))
196  return true;
197  reco::Candidate::Vector pDiff = (lCand->momentum() - rCand->momentum());
198  reco::Candidate::Vector pMean = (lCand->momentum() + rCand->momentum());
199  double pDMod = pDiff.mag2();
200  double pMMod = pMean.mag2();
201  if (((pDMod / pMMod) < minPDifference) && (lCand->charge() == rCand->charge()))
202  return true;
203  return false;
204 }

References reco::Candidate::charge(), BPHTrackReference::getFromPF(), BPHTrackReference::getFromRC(), and reco::Candidate::momentum().

Referenced by contained(), BPHWriteSpecificDecay::fill(), and sameTrack().

◆ setMinPDiffererence()

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.

172  {
173  minPDiff = pMin;
174  return;
175 }

References minPDiff, and ALCARECOTkAlMinBias_cff::pMin.

Referenced by BPHBdToKxMuMuBuilder::build(), BPHDecayToResResBuilder::build(), BPHDecayToResFlyingBuilder::build(), and BPHDecayToResTrkBuilder::build().

Friends And Related Function Documentation

◆ BPHRecoSelect

friend class BPHRecoSelect
friend

Definition at line 51 of file BPHRecoBuilder.h.

Member Data Documentation

◆ compCollectList

std::set<const std::vector<BPHRecoConstCandPtr>*> BPHRecoBuilder::compCollectList
private

Definition at line 197 of file BPHRecoBuilder.h.

Referenced by add(), and ~BPHRecoBuilder().

◆ compMap

std::map<std::string, BPHRecoConstCandPtr> BPHRecoBuilder::compMap
mutableprivate

Definition at line 186 of file BPHRecoBuilder.h.

Referenced by build(), and contained().

◆ daugMap

std::map<std::string, const reco::Candidate*> BPHRecoBuilder::daugMap
mutableprivate

Definition at line 185 of file BPHRecoBuilder.h.

Referenced by build().

◆ evSetup

const edm::EventSetup* BPHRecoBuilder::evSetup
private

Definition at line 188 of file BPHRecoBuilder.h.

Referenced by eventSetup().

◆ fsList

std::vector<const BPHFitSelect*> BPHRecoBuilder::fsList
private

Definition at line 202 of file BPHRecoBuilder.h.

Referenced by accept(), and filter().

◆ minPDiff

double BPHRecoBuilder::minPDiff
private

Definition at line 189 of file BPHRecoBuilder.h.

Referenced by sameTrack(), and setMinPDiffererence().

◆ msList

std::vector<const BPHMomentumSelect*> BPHRecoBuilder::msList
private

Definition at line 200 of file BPHRecoBuilder.h.

Referenced by accept(), BPHRecoBuilder(), and filter().

◆ sourceId

std::map<std::string, int> BPHRecoBuilder::sourceId
private

Definition at line 205 of file BPHRecoBuilder.h.

◆ sourceList

std::vector<BPHRecoSource*> BPHRecoBuilder::sourceList
private

Definition at line 192 of file BPHRecoBuilder.h.

Referenced by build(), and ~BPHRecoBuilder().

◆ srCompId

std::map<std::string, int> BPHRecoBuilder::srCompId
private

Definition at line 206 of file BPHRecoBuilder.h.

◆ srCompList

std::vector<BPHCompSource*> BPHRecoBuilder::srCompList
private

Definition at line 193 of file BPHRecoBuilder.h.

Referenced by build(), and ~BPHRecoBuilder().

◆ vsList

std::vector<const BPHVertexSelect*> BPHRecoBuilder::vsList
private

Definition at line 201 of file BPHRecoBuilder.h.

Referenced by accept(), BPHRecoBuilder(), and filter().

reco::Candidate::Vector
math::XYZVector Vector
point in the space
Definition: Candidate.h:42
mps_fire.i
i
Definition: mps_fire.py:355
BPHRecoBuilder::srCompList
std::vector< BPHCompSource * > srCompList
Definition: BPHRecoBuilder.h:193
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
BPHRecoBuilder::evSetup
const edm::EventSetup * evSetup
Definition: BPHRecoBuilder.h:188
mps_splice.entry
entry
Definition: mps_splice.py:68
BPHRecoBuilder::contained
bool contained(ComponentSet &compSet, const reco::Candidate *cand) const
Definition: BPHRecoBuilder.cc:301
BPHRecoBuilder::sourceList
std::vector< BPHRecoSource * > sourceList
Definition: BPHRecoBuilder.h:192
BPHRecoBuilder::sameTrack
static bool sameTrack(const reco::Candidate *lCand, const reco::Candidate *rCand, double minPDifference)
Definition: BPHRecoBuilder.cc:188
AlCaHLTBitMon_QueryRunRegistry.comp
comp
Definition: AlCaHLTBitMon_QueryRunRegistry.py:249
BPHRecoBuilder::build
std::vector< ComponentSet > build() const
build a set of combinations of particles fulfilling the selections
Definition: BPHRecoBuilder.cc:177
optionsL1T.skip
skip
Definition: optionsL1T.py:30
reco::Candidate::charge
virtual int charge() const =0
electric charge
BPHRecoBuilder::msList
std::vector< const BPHMomentumSelect * > msList
Definition: BPHRecoBuilder.h:200
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
BPHRecoBuilder::minPDiff
double minPDiff
Definition: BPHRecoBuilder.h:189
BPHTrackReference::getFromRC
static const reco::Track * getFromRC(const reco::Candidate &rc)
Definition: BPHTrackReference.h:126
source
static const std::string source
Definition: EdmProvDump.cc:47
reco::Track
Definition: Track.h:27
BPHRecoBuilder::daugMap
std::map< std::string, const reco::Candidate * > daugMap
Definition: BPHRecoBuilder.h:185
dqmdumpme.k
k
Definition: dqmdumpme.py:60
reco::Candidate::momentum
virtual Vector momentum() const =0
spatial momentum vector
ALCARECOTkAlMinBias_cff.pMin
pMin
GeV.
Definition: ALCARECOTkAlMinBias_cff.py:35
cand
Definition: decayParser.h:34
BPHRecoBuilder::fsList
std::vector< const BPHFitSelect * > fsList
Definition: BPHRecoBuilder.h:202
BPHDecayMomentum::Component
Definition: BPHDecayMomentum.h:101
universalConfigTemplate.collection
collection
Definition: universalConfigTemplate.py:81
cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:193
reco::Candidate
Definition: Candidate.h:27
BPHRecoBuilder::compMap
std::map< std::string, BPHRecoConstCandPtr > compMap
Definition: BPHRecoBuilder.h:186
EgHLTOffHistBins_cfi.mass
mass
Definition: EgHLTOffHistBins_cfi.py:34
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
BPHRecoBuilder::add
void add(const std::string &name, const BPHGenericCollection *collection, double mass=-1.0, double msig=-1.0)
BPHRecoBuilder::vsList
std::vector< const BPHVertexSelect * > vsList
Definition: BPHRecoBuilder.h:201
list
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
BPHRecoBuilder::compCollectList
std::set< const std::vector< BPHRecoConstCandPtr > * > compCollectList
Definition: BPHRecoBuilder.h:197
BPHRecoBuilder::accept
bool accept(const BPHRecoCandidate &cand) const
Definition: BPHRecoBuilder.cc:151
EgammaValidation_Wenu_cff.sel
sel
Definition: EgammaValidation_Wenu_cff.py:33
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
BPHRecoConstCandPtr
BPHGenericPtr< const BPHRecoCandidate >::type BPHRecoConstCandPtr
Definition: BPHRecoCandidatePtr.h:9
BPHTrackReference::getFromPF
static const reco::Track * getFromPF(const reco::Candidate &rc)
Definition: BPHTrackReference.h:135