|
DESY Hbb Analysis Framework
|
#include <Collection.h>
Public Member Functions | |
| void | add (const Object &object) |
| template<> | |
| void | addGenJets (const std::shared_ptr< Collection< GenJet > > &cands) |
| void | addGenJets (const std::shared_ptr< Collection< GenJet > > &) |
| template<> | |
| void | associatePartons (const std::shared_ptr< Collection< GenParticle > > &particles, const float &deltaR, const float &ptMin, const bool &pythia8) |
| void | associatePartons (const std::shared_ptr< Collection< GenParticle > > &, const float &deltaR=0.4, const float &ptMin=1., const bool &pythia8=true) |
| Object & | at (const int &index) |
| template<> | |
| void | btagAlgo (const std::string &algo) |
| void | btagAlgo (const std::string &) |
| template<> | |
| Collection (const Objects &objects, const std::string &name) | |
| Collection () | |
| Collection (const Objects &objects, const std::string &name_="") | |
| template<> | |
| void | matchTo (const std::vector< Candidate > *vectorcandidates, const std::string &name, const float &deltaR) |
| template<> | |
| void | matchTo (const Collection< Candidate > &collection, const float &deltaR) |
| template<> | |
| void | matchTo (const Collection< Candidate > &collection, const float &deltaR, const float &delta_pt) |
| template<> | |
| void | matchTo (const Collection< TriggerObject > &collection, const float &deltaR) |
| template<> | |
| void | matchTo (const std::shared_ptr< Collection< TriggerObject > > collection, const float &deltaR) |
| template<> | |
| void | matchTo (const Collection< Jet > &collection, const float &deltaR, const float &delta_pt) |
| void | matchTo (const std::vector< Candidate > *vectorcandidates, const std::string &name, const float &deltaR=0.5) |
| void | matchTo (const Collection< Candidate > &collection, const float &delta_pT, const float &deltaR) |
| void | matchTo (const Collection< Jet > &collection, const float &delta_pT, const float &deltaR) |
| void | matchTo (const Collection< Candidate > &collection, const float &deltaR=0.5) |
| void | matchTo (const Collection< TriggerObject > &collection, const float &deltaR=0.5) |
| void | matchTo (const std::shared_ptr< Collection< TriggerObject > > collection, const float &deltaR=0.5) |
| std::string | name () const |
| void | setSize (const int &size) |
| int | size () |
| template<> | |
| void | smearTo (const Collection< Jet > &collection, const double &n_sigma) |
| void | smearTo (const Collection< Jet > &collection, const double &n_sigma=0) |
| std::vector< std::shared_ptr< Object > > | vector () |
| template<> | |
| std::vector< Candidate > * | vectorCandidates () const |
| std::vector< Candidate > * | vectorCandidates () const |
| ~Collection () | |
Private Types | |
| typedef std::vector< Object > | Objects |
Private Attributes | |
| std::vector< Candidate > | candidates_ |
| std::string | name_ |
| Objects | objects_ |
| int | size_ |
Definition at line 41 of file Collection.h.
|
private |
Definition at line 43 of file Collection.h.
| Collection::Collection | ( | ) |
Definition at line 52 of file Collection.cc.
Referenced by analysis::tools::Collection< Object >::Collection().
| Collection::Collection | ( | const Objects & | objects, |
| const std::string & | name_ = "" |
||
| ) |
Definition at line 58 of file Collection.cc.
References analysis::tools::Collection< Object >::Collection(), naf_mult_submit::int, and nano_94X_2017_rereco31Mar18-v1::name.
| Collection::~Collection | ( | ) |
Definition at line 77 of file Collection.cc.
| analysis::tools::Collection< Vertex >::Collection | ( | const Objects & | objects, |
| const std::string & | name | ||
| ) |
|
inline |
Definition at line 92 of file Collection.h.
References analysis::tools::Collection< Object >::objects_, and analysis::tools::Collection< Object >::size_.
| void analysis::tools::Collection< Jet >::addGenJets | ( | const std::shared_ptr< Collection< GenJet > > & | cands | ) |
| void Collection::addGenJets | ( | const std::shared_ptr< Collection< GenJet > > & | cands | ) |
Definition at line 115 of file Collection.cc.
| void analysis::tools::Collection< Jet >::associatePartons | ( | const std::shared_ptr< Collection< GenParticle > > & | particles, |
| const float & | deltaR, | ||
| const float & | ptMin, | ||
| const bool & | pythia8 | ||
| ) |
| void Collection::associatePartons | ( | const std::shared_ptr< Collection< GenParticle > > & | particles, |
| const float & | deltaR = 0.4, |
||
| const float & | ptMin = 1., |
||
| const bool & | pythia8 = true |
||
| ) |
Definition at line 131 of file Collection.cc.
References ConfFile_cfg::p, analysis::tools::Candidate::p4(), and analysis::tools::Jet::partons().
|
inline |
Definition at line 88 of file Collection.h.
References analysis::tools::Collection< Object >::objects_.
| void analysis::tools::Collection< Jet >::btagAlgo | ( | const std::string & | algo | ) |
| void Collection::btagAlgo | ( | const std::string & | algo | ) |
Definition at line 103 of file Collection.cc.
| void analysis::tools::Collection< Vertex >::matchTo | ( | const std::vector< Candidate > * | vectorcandidates, |
| const std::string & | name, | ||
| const float & | deltaR | ||
| ) |
| void analysis::tools::Collection< Vertex >::matchTo | ( | const Collection< Candidate > & | collection, |
| const float & | deltaR | ||
| ) |
| void analysis::tools::Collection< Vertex >::matchTo | ( | const Collection< Candidate > & | collection, |
| const float & | deltaR, | ||
| const float & | delta_pt | ||
| ) |
| void analysis::tools::Collection< Vertex >::matchTo | ( | const Collection< TriggerObject > & | collection, |
| const float & | deltaR | ||
| ) |
| void analysis::tools::Collection< Vertex >::matchTo | ( | const std::shared_ptr< Collection< TriggerObject > > | collection, |
| const float & | deltaR | ||
| ) |
| void analysis::tools::Collection< Jet >::matchTo | ( | const Collection< Jet > & | collection, |
| const float & | deltaR, | ||
| const float & | delta_pt | ||
| ) |
| void Collection::matchTo | ( | const std::vector< Candidate > * | vectorcandidates, |
| const std::string & | name, | ||
| const float & | deltaR = 0.5 |
||
| ) |
Definition at line 195 of file Collection.cc.
Referenced by analysis::tools::Collection< Object >::matchTo().
| void Collection::matchTo | ( | const Collection< Candidate > & | collection, |
| const float & | delta_pT, | ||
| const float & | deltaR | ||
| ) |
Definition at line 209 of file Collection.cc.
References analysis::tools::Collection< Object >::matchTo(), analysis::tools::Collection< Object >::name(), and analysis::tools::Collection< Object >::vectorCandidates().
| void analysis::tools::Collection< Object >::matchTo | ( | const Collection< Jet > & | collection, |
| const float & | delta_pT, | ||
| const float & | deltaR | ||
| ) |
| void Collection::matchTo | ( | const Collection< Candidate > & | collection, |
| const float & | deltaR = 0.5 |
||
| ) |
Definition at line 202 of file Collection.cc.
References analysis::tools::Collection< Object >::name(), and analysis::tools::Collection< Object >::vectorCandidates().
| void Collection::matchTo | ( | const Collection< TriggerObject > & | collection, |
| const float & | deltaR = 0.5 |
||
| ) |
Definition at line 223 of file Collection.cc.
References analysis::tools::Collection< Object >::name(), and analysis::tools::Collection< Object >::vectorCandidates().
| void Collection::matchTo | ( | const std::shared_ptr< Collection< TriggerObject > > | collection, |
| const float & | deltaR = 0.5 |
||
| ) |
Definition at line 230 of file Collection.cc.
References analysis::tools::Collection< Object >::name(), pTordering(), and analysis::tools::Collection< Object >::smearTo().
|
inline |
Definition at line 89 of file Collection.h.
References analysis::tools::Collection< Object >::name_.
Referenced by analysis::tools::Analysis::addCollection(), and analysis::tools::Collection< Object >::matchTo().
|
inline |
Definition at line 93 of file Collection.h.
References analysis::tools::Collection< Object >::size(), and analysis::tools::Collection< Object >::size_.
|
inline |
Definition at line 87 of file Collection.h.
References analysis::tools::Collection< Object >::size_.
Referenced by analysis::tools::Collection< Object >::setSize().
| void analysis::tools::Collection< Jet >::smearTo | ( | const Collection< Jet > & | collection, |
| const double & | n_sigma | ||
| ) |
| void analysis::tools::Collection< Object >::smearTo | ( | const Collection< Jet > & | collection, |
| const double & | n_sigma = 0 |
||
| ) |
Referenced by analysis::tools::Collection< Object >::matchTo().
| std::vector< std::shared_ptr< Object > > Collection::vector | ( | ) |
Definition at line 92 of file Collection.cc.
| std::vector< Candidate > * analysis::tools::Collection< Vertex >::vectorCandidates | ( | ) | const |
| std::vector< Candidate > * Collection::vectorCandidates | ( | ) | const |
Definition at line 286 of file Collection.cc.
Referenced by analysis::tools::Collection< Object >::matchTo().
|
mutableprivate |
Definition at line 77 of file Collection.h.
|
private |
Definition at line 79 of file Collection.h.
Referenced by analysis::tools::Collection< Object >::name().
|
private |
Definition at line 76 of file Collection.h.
Referenced by analysis::tools::Collection< Object >::add(), and analysis::tools::Collection< Object >::at().
|
private |
Definition at line 78 of file Collection.h.
Referenced by analysis::tools::Collection< Object >::add(), analysis::tools::Collection< Object >::setSize(), and analysis::tools::Collection< Object >::size().
1.8.11