|
babymaker
e95a6a9342d4604277fe7cc6149b6b5b24447d89
|
Classes | |
| class | NonROOTFileError |
| class | ROOTFile |
| class | ROOTOpenError |
| class | Term |
Enumerations | |
| enum | SysEnum { kSysJER, kSysJECUp, kSysJECDn, kSysLast } |
Functions | |
| def | findBaseSampleNames (folder) |
| Finding basename for each dataset. More... | |
| def | fullPath (path) |
| def | ensureDir (path) |
| def | ePrint (args, kwargs) |
| def | flush () |
| bool | contains (const std::string &s, const std::string &pat) |
| float | sumMass (const LVector &a, const LVector &b) |
| float | sumPt (const LVector &a, const LVector &b) |
| float | dPhi (float phi1, float phi2) |
| float | dR (float phi1, float phi2, float eta1, float eta2) |
| bool | greaterPt (const reco::Candidate *a, const reco::Candidate *b) |
| bool | greaterM (const fastjet::PseudoJet &a, const fastjet::PseudoJet &b) |
| float | getMT (float pt1, float phi1, float pt2, float phi2) |
| float | getMT (float m1, float pt1, float phi1, float m2, float pt2, float phi2) |
| float | getMT2 (float pt1, float phi1, float pt2, float phi2, float met, float met_phi) |
| float | getMT2 (float m1, float pt1, float phi1, float m2, float pt2, float phi2, float met, float met_phi) |
| std::string | execute (const std::string &cmd) |
| TString | roundNumber (double num, int decimals, double denom=1.) |
| TString | addCommas (double num) |
| bool | contains (const string &s, const string &pat) |
| string | execute (const string &cmd) |
| enum utilities::SysEnum |
| Enumerator | |
|---|---|
| kSysJER | |
| kSysJECUp | |
| kSysJECDn | |
| kSysLast | |
Definition at line 23 of file utilities.hh.
| TString utilities::addCommas | ( | double | num | ) |
| bool utilities::contains | ( | const string & | s, |
| const string & | pat | ||
| ) |
Definition at line 12 of file utilities.cc.
| bool utilities::contains | ( | const std::string & | s, |
| const std::string & | pat | ||
| ) |
Referenced by event_tools::type().
| float utilities::dPhi | ( | float | phi1, |
| float | phi2 | ||
| ) |
Definition at line 24 of file utilities.cc.
Referenced by dR(), and bmaker_full::writeFilters().
| float utilities::dR | ( | float | phi1, |
| float | phi2, | ||
| float | eta1, | ||
| float | eta2 | ||
| ) |
Definition at line 29 of file utilities.cc.
References dPhi().
Referenced by bmaker_full::writeIFSR(), and bmaker_full::writeMC().
| def utilities.ensureDir | ( | path | ) |
Definition at line 37 of file utilities.py.
Referenced by send_skim_ntuples.sendSkimJob(), send_slim_ntuples.sendSlimJob(), and skim_ntuple.skimFiles().
| def utilities.ePrint | ( | args, | |
| kwargs | |||
| ) |
Definition at line 44 of file utilities.py.
Referenced by cache.cacheCopy(), cache.cacheRecurse(), count_entries.countFile(), cache.execute(), slim_ntuple.getRules(), cache.netCopy(), delete_treeglobal.singleFileDelete(), and cache.syncCache().
| std::string utilities::execute | ( | const std::string & | cmd | ) |
Definition at line 26 of file generate_baby.cxx.
Referenced by main().
| string utilities::execute | ( | const string & | cmd | ) |
Definition at line 90 of file utilities.cc.
References ERROR.
| def utilities.findBaseSampleNames | ( | folder | ) |
Finding basename for each dataset.
Definition at line 12 of file utilities.py.
Referenced by send_slim_ntuples.sendSlimJob().
| def utilities.flush | ( | ) |
Definition at line 47 of file utilities.py.
Referenced by asymm_mt2_lester_bisect.disableCopyrightMessage(), and cache.execute().
| def utilities.fullPath | ( | path | ) |
Definition at line 34 of file utilities.py.
Referenced by cache.cacheCopy(), cache.cachePath(), cache.cacheRun(), delete_treeglobal.deleteTreeglobal(), cache.expand(), rm_zombies.killZombies(), cache.mapFiles(), cache.removeOldCache(), send_skim_ntuples.sendSkimJob(), send_skim_ntuples.sendSkims(), send_slim_ntuples.sendSlimJobs(), and skim_ntuple.skimFiles().
| float utilities::getMT | ( | float | pt1, |
| float | phi1, | ||
| float | pt2, | ||
| float | phi2 | ||
| ) |
Definition at line 44 of file utilities.cc.
Referenced by bmaker_full::analyze(), lepton_tools::getIsoTracks(), jet_met_tools::getMTbmetMax(), jet_met_tools::getMTbmetMax2(), jet_met_tools::getMTbmetMin(), jet_met_tools::getMTbmetMin2(), bmaker_full::writeMC(), and bmaker_full::writeTks().
| float utilities::getMT | ( | float | m1, |
| float | pt1, | ||
| float | phi1, | ||
| float | m2, | ||
| float | pt2, | ||
| float | phi2 | ||
| ) |
Definition at line 49 of file utilities.cc.
| float utilities::getMT2 | ( | float | pt1, |
| float | phi1, | ||
| float | pt2, | ||
| float | phi2, | ||
| float | met, | ||
| float | met_phi | ||
| ) |
Definition at line 54 of file utilities.cc.
Referenced by bmaker_full::writeBBVars(), and bmaker_full::writeTks().
| float utilities::getMT2 | ( | float | m1, |
| float | pt1, | ||
| float | phi1, | ||
| float | m2, | ||
| float | pt2, | ||
| float | phi2, | ||
| float | met, | ||
| float | met_phi | ||
| ) |
Definition at line 58 of file utilities.cc.
References asymm_mt2_lester_bisect::disableCopyrightMessage(), and asymm_mt2_lester_bisect::get_mT2().
| bool utilities::greaterM | ( | const fastjet::PseudoJet & | a, |
| const fastjet::PseudoJet & | b | ||
| ) |
Definition at line 40 of file utilities.cc.
Referenced by jet_met_tools::clusterFatJets(), and jet_met_tools::getSysMJ().
| bool utilities::greaterPt | ( | const reco::Candidate * | a, |
| const reco::Candidate * | b | ||
| ) |
Definition at line 36 of file utilities.cc.
Referenced by bmaker_full::writeLeptons().
| TString utilities::roundNumber | ( | double | num, |
| int | decimals, | ||
| double | denom = 1. |
||
| ) |
Definition at line 104 of file utilities.cc.
Referenced by main(), mc_tools::printParticle(), bmaker_full::reportTime(), and bmaker_full::~bmaker_full().
Definition at line 16 of file utilities.cc.
Referenced by jet_met_tools::fillDeltaRbb(), jet_met_tools::getMbb(), jet_met_tools::getMbbMax(), jet_met_tools::getMbbMin(), jet_met_tools::getMblepMax(), jet_met_tools::getMblepMax2(), jet_met_tools::getMblepMin(), and jet_met_tools::getMblepMin2().
Definition at line 20 of file utilities.cc.
Referenced by jet_met_tools::fillDeltaRbb().
1.8.11