SusyNtuple
|
Three lepton cutflow. More...
#include <Susy3LepCutflow.h>
Public Member Functions | |
virtual void | Init (TTree *tree) |
Init is called every time a new TTree is attached. | |
virtual void | Begin (TTree *tree) |
Begin is called before looping on entries. | |
virtual void | Terminate () |
Terminate is called after looping is finished. | |
virtual Bool_t | Process (Long64_t entry) |
Main event loop function. | |
void | bookHistos () |
bool | passEventCleaning (int cutflags, const MuonVector &preMuons, const MuonVector &baseMuons, const JetVector &baseJets) |
bool | selectEvent (const LeptonVector &leptons, const TauVector &taus, const JetVector &jets, const Susy::Met *met) |
void | fillHistos (const LeptonVector &leptons, const TauVector &taus, const JetVector &jets, const Susy::Met *met, float weight) |
void | finalizeHistos () |
bool | passNLepCut (const LeptonVector &leptons) |
bool | passNTauCut (const TauVector &taus) |
bool | passTrigger (const LeptonVector &leptons) |
bool | passSFOSCut (const LeptonVector &leptons) |
bool | passMetCut (const Susy::Met *met) |
bool | passZCut (const LeptonVector &leptons) |
bool | passBJetCut () |
bool | passMtCut (const LeptonVector &leptons, const Susy::Met *met) |
float | getLeptonSF (const LeptonVector &leptons) |
float | getTauSF (const TauVector &taus) |
virtual void | dumpEventCounters () |
void | setSelection (std::string s) |
bool | debugEvent () |
ClassDef (Susy3LepCutflow, 1) | |
Public Attributes | |
std::ofstream | out |
Protected Attributes | |
std::string | m_sel |
uint | m_nBaseLepMin |
uint | m_nBaseLepMax |
uint | m_nLepMin |
uint | m_nLepMax |
uint | m_nTauMin |
uint | m_nTauMax |
float | m_baseLepMinDR |
bool | m_selectSFOS |
bool | m_vetoSFOS |
bool | m_selectZ |
bool | m_vetoZ |
bool | m_selectB |
bool | m_vetoB |
double | m_metMin |
double | m_mtMin |
bool | m_writeOut |
uint | n_readin |
uint | n_pass_grl |
uint | n_pass_lar |
uint | n_pass_tile |
uint | n_pass_ttc |
uint | n_pass_badMuon |
uint | n_pass_badJet |
uint | n_pass_goodVtx |
uint | n_pass_cosmic |
uint | n_pass_nLep |
uint | n_pass_nTau |
uint | n_pass_trig |
uint | n_pass_sfos |
uint | n_pass_z |
uint | n_pass_met |
uint | n_pass_bJet |
uint | n_pass_mt |
float | n_evt_tot |
Three lepton cutflow.
General script to implement basic selection with all signal region cut methods.