#include <JetCombinatorics.h>
Public Member Functions | |
void | AnalyzeCombos () |
void | ApplyFlavorCorrection (bool option=true) |
void | Clear () |
std::map< int, std::string > | Combinatorics (int k, int max=6) |
void | FourJetsCombinations (const std::vector< TLorentzVector > &jets, const std::vector< double > &bdiscriminators) |
Combo | GetCombination (int n=0) |
Combo | GetCombinationSumEt (int n=0) |
std::vector< TLorentzVector > | GetComposites () |
int | GetNumberOfCombos () |
JetCombinatorics () | |
std::map< int, std::string > | NestedCombinatorics () |
void | RemoveDuplicates (bool option) |
void | SetbTagPdf (const TString &name) |
void | SetFlavorCorrections (const std::vector< double > &vector) |
void | SetLeptonicW (const TLorentzVector &LepW) |
void | SetMaxMassHadW (double mass) |
void | SetMaxMassLepTop (double mass) |
void | SetMaxMassLepW (double mass) |
void | SetMaxNJets (int n) |
void | SetMinMassHadW (double mass) |
void | SetMinMassLepTop (double mass) |
void | SetMinMassLepW (double mass) |
void | SetSigmas (int type=0) |
std::vector< TLorentzVector > | ThreeCombos () |
std::vector< TLorentzVector > | TwoCombos () |
void | UsebTagging (bool option=true) |
void | UseMtopConstraint (bool option=true) |
void | Verbose () |
~JetCombinatorics () | |
Private Attributes | |
std::map< Combo, int, minChi2 > | allCombos_ |
std::map< Combo, int, maxSumEt > | allCombosSumEt_ |
TString | bTagPdffilename_ |
std::vector< TLorentzVector > | cand1_ |
std::vector< TLorentzVector > | cand2_ |
std::vector< TLorentzVector > | cand3_ |
double | chi2_ |
std::vector< double > | flavorCorrections_ |
double | maxMassHadW_ |
double | maxMassLepTop_ |
double | maxMassLepW_ |
int | maxNJets_ |
double | minMassHadW_ |
double | minMassLepTop_ |
double | minMassLepW_ |
Double_t | minPhi_ |
int | ndf_ |
bool | removeDuplicates_ |
int | SigmasTypef |
std::map< int, std::string > | Template4jCombos_ |
std::map< int, std::string > | Template5jCombos_ |
std::map< int, std::string > | Template6jCombos_ |
std::map< int, std::string > | Template7jCombos_ |
TLorentzVector | theLepW_ |
bool | UsebTagging_ |
bool | UseFlv_ |
bool | UseMtop_ |
bool | verbosef |
Definition at line 272 of file JetCombinatorics.h.
JetCombinatorics::JetCombinatorics | ( | ) |
Definition at line 27 of file JetCombinatorics.cc.
References Clear(), Combinatorics(), maxMassHadW_, maxMassLepTop_, maxMassLepW_, maxNJets_, minMassHadW_, minMassLepTop_, minMassLepW_, minPhi_, NestedCombinatorics(), removeDuplicates_, SigmasTypef, Template4jCombos_, Template5jCombos_, Template6jCombos_, Template7jCombos_, UsebTagging_, UseFlv_, UseMtop_, and verbosef.
JetCombinatorics::~JetCombinatorics | ( | ) |
Definition at line 55 of file JetCombinatorics.cc.
References Clear().
void JetCombinatorics::AnalyzeCombos | ( | ) |
|
inline |
void JetCombinatorics::Clear | ( | ) |
Definition at line 60 of file JetCombinatorics.cc.
References allCombos_, allCombosSumEt_, cand1_, Template4jCombos_, Template5jCombos_, Template6jCombos_, and Template7jCombos_.
Referenced by JetCombinatorics(), and ~JetCombinatorics().
std::map< int, std::string > JetCombinatorics::Combinatorics | ( | int | k, |
int | max = 6 |
||
) |
Definition at line 74 of file JetCombinatorics.cc.
References i, itoa(), j, relval_2017::k, list(), visualization-live-secondInstance_cfg::m, bookConverter::max, gen::n, fileCollector::seed, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by JetCombinatorics().
void JetCombinatorics::FourJetsCombinations | ( | const std::vector< TLorentzVector > & | jets, |
const std::vector< double > & | bdiscriminators | ||
) |
Definition at line 212 of file JetCombinatorics.cc.
References allCombos_, allCombosSumEt_, Combo::analyze(), Combo::ApplyFlavorCorrections(), bTagPdffilename_, gather_cfg::cout, flavorCorrections_, Combo::GetHadW(), Combo::GetLepTop(), Combo::GetLepW(), maxMassHadW_, maxMassLepTop_, maxMassLepW_, maxNJets_, minMassHadW_, minMassLepTop_, minMassLepW_, gen::n, Combo::Print(), Combo::SetbDiscPdf(), Combo::SetFlvCorrHadb(), Combo::SetFlvCorrLepb(), Combo::SetFlvCorrWp(), Combo::SetFlvCorrWq(), Combo::SetHadb(), Combo::SetHadb_disc(), Combo::SetIdHadb(), Combo::SetIdLepb(), Combo::SetIdWp(), Combo::SetIdWq(), Combo::SetLepb(), Combo::SetLepb_disc(), Combo::SetLepW(), Combo::SetSigmas(), Combo::SetWp(), Combo::SetWp_disc(), Combo::SetWq(), Combo::SetWq_disc(), SigmasTypef, AlCaHLTBitMon_QueryRunRegistry::string, Template4jCombos_, Template5jCombos_, Template6jCombos_, Template7jCombos_, theLepW_, Combo::Usebtagging(), UsebTagging_, UseFlv_, UseMtop_, Combo::UseMtopConstraint(), and verbosef.
Combo JetCombinatorics::GetCombination | ( | int | n = 0 | ) |
Definition at line 337 of file JetCombinatorics.cc.
References a, allCombos_, and j.
Combo JetCombinatorics::GetCombinationSumEt | ( | int | n = 0 | ) |
Definition at line 353 of file JetCombinatorics.cc.
References a, allCombosSumEt_, and j.
std::vector< TLorentzVector > JetCombinatorics::GetComposites | ( | ) |
|
inline |
Definition at line 291 of file JetCombinatorics.h.
References allCombos_.
std::map< int, std::string > JetCombinatorics::NestedCombinatorics | ( | ) |
|
inline |
|
inline |
Definition at line 309 of file JetCombinatorics.h.
References bTagPdffilename_, and mergeVDriftHistosByStation::name.
|
inline |
Definition at line 287 of file JetCombinatorics.h.
References flavorCorrections_.
|
inline |
Definition at line 297 of file JetCombinatorics.h.
References TtSemiLepDaughter::LepW, and theLepW_.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
std::vector< TLorentzVector > JetCombinatorics::ThreeCombos | ( | ) |
std::vector< TLorentzVector > JetCombinatorics::TwoCombos | ( | ) |
|
inline |
|
inline |
|
inline |
Definition at line 279 of file JetCombinatorics.h.
References verbosef.
Referenced by Inspector.Inspector::Verbose().
Definition at line 348 of file JetCombinatorics.h.
Referenced by Clear(), FourJetsCombinations(), GetCombination(), and GetNumberOfCombos().
Definition at line 349 of file JetCombinatorics.h.
Referenced by Clear(), FourJetsCombinations(), and GetCombinationSumEt().
|
private |
Definition at line 336 of file JetCombinatorics.h.
Referenced by FourJetsCombinations(), and SetbTagPdf().
|
private |
Definition at line 356 of file JetCombinatorics.h.
Referenced by Clear().
|
private |
Definition at line 357 of file JetCombinatorics.h.
|
private |
Definition at line 358 of file JetCombinatorics.h.
|
private |
Definition at line 352 of file JetCombinatorics.h.
|
private |
Definition at line 332 of file JetCombinatorics.h.
Referenced by FourJetsCombinations(), and SetFlavorCorrections().
|
private |
Definition at line 344 of file JetCombinatorics.h.
Referenced by FourJetsCombinations(), JetCombinatorics(), and SetMaxMassHadW().
|
private |
Definition at line 346 of file JetCombinatorics.h.
Referenced by FourJetsCombinations(), JetCombinatorics(), and SetMaxMassLepTop().
|
private |
Definition at line 342 of file JetCombinatorics.h.
Referenced by FourJetsCombinations(), JetCombinatorics(), and SetMaxMassLepW().
|
private |
Definition at line 333 of file JetCombinatorics.h.
Referenced by FourJetsCombinations(), JetCombinatorics(), and SetMaxNJets().
|
private |
Definition at line 343 of file JetCombinatorics.h.
Referenced by FourJetsCombinations(), JetCombinatorics(), and SetMinMassHadW().
|
private |
Definition at line 345 of file JetCombinatorics.h.
Referenced by FourJetsCombinations(), JetCombinatorics(), and SetMinMassLepTop().
|
private |
Definition at line 341 of file JetCombinatorics.h.
Referenced by FourJetsCombinations(), JetCombinatorics(), and SetMinMassLepW().
|
private |
Definition at line 351 of file JetCombinatorics.h.
Referenced by JetCombinatorics().
|
private |
Definition at line 353 of file JetCombinatorics.h.
|
private |
Definition at line 354 of file JetCombinatorics.h.
Referenced by JetCombinatorics(), and RemoveDuplicates().
|
private |
Definition at line 325 of file JetCombinatorics.h.
Referenced by FourJetsCombinations(), JetCombinatorics(), and SetSigmas().
|
private |
Definition at line 327 of file JetCombinatorics.h.
Referenced by Clear(), FourJetsCombinations(), and JetCombinatorics().
|
private |
Definition at line 328 of file JetCombinatorics.h.
Referenced by Clear(), FourJetsCombinations(), and JetCombinatorics().
|
private |
Definition at line 329 of file JetCombinatorics.h.
Referenced by Clear(), FourJetsCombinations(), and JetCombinatorics().
|
private |
Definition at line 330 of file JetCombinatorics.h.
Referenced by Clear(), FourJetsCombinations(), and JetCombinatorics().
|
private |
Definition at line 339 of file JetCombinatorics.h.
Referenced by FourJetsCombinations(), and SetLeptonicW().
|
private |
Definition at line 334 of file JetCombinatorics.h.
Referenced by FourJetsCombinations(), JetCombinatorics(), and UsebTagging().
|
private |
Definition at line 337 of file JetCombinatorics.h.
Referenced by ApplyFlavorCorrection(), FourJetsCombinations(), and JetCombinatorics().
|
private |
Definition at line 335 of file JetCombinatorics.h.
Referenced by FourJetsCombinations(), JetCombinatorics(), and UseMtopConstraint().
|
private |
Definition at line 326 of file JetCombinatorics.h.
Referenced by FourJetsCombinations(), JetCombinatorics(), and Verbose().