#ifndef SGTOP_AtlSgTopFCNC_tZ_CtrlTtbar
#include <AtlSgTopFCNC_tZ_CtrlTtbar.h>
#endif
#include <cmath>
#ifndef __CINT__
ClassImp(AtlSgTopFCNC_tZ_CtrlTtbar);
#endif
AtlSgTopFCNC_tZ_CtrlTtbar::AtlSgTopFCNC_tZ_CtrlTtbar(const char* OutputFileName) :
AtlSgTopFCNC_tZ_Base3L(OutputFileName) {
SetCutDefaults();
}
AtlSgTopFCNC_tZ_CtrlTtbar::~AtlSgTopFCNC_tZ_CtrlTtbar() {
}
void AtlSgTopFCNC_tZ_CtrlTtbar::SetCutDefaults() {
fVetoZboson = kTRUE;
}
void AtlSgTopFCNC_tZ_CtrlTtbar::Print(Option_t *option) const {
cout << endl
<< "========================================================" << endl
<< " Atlas Single-Top FCNC tZ Selector : ttbar Ctrl Region " << endl
<< "========================================================" << endl
<< endl;
AtlSgTopFCNC_tZ_Base3L::Print(option);
cout << endl
<< "========================================================"
<< endl << endl;
}
Bool_t AtlSgTopFCNC_tZ_CtrlTtbar::ProcessCut() {
FillHistogramsCommon(fHistsNoCuts, fEvent->GetPreTagEvtWeight());
if ( (fLeptons->GetEntries() < fNLeptons_min)
|| (fLeptons->GetEntries() > fNLeptons_max) ) return kFALSE;
Float_t tot_chg = 0.;
HepParticle *lep = 0;
for ( Int_t i = 0; i < fLeptons->GetEntries(); i++ ) {
lep = (HepParticle*)fLeptons->At(i);
if ( i == 0 && lep->Pt() < fPt_Lep1_min ) return kFALSE;
if ( i == 1 && lep->Pt() < fPt_Lep2_min ) return kFALSE;
if ( i == 2 && lep->Pt() < fPt_Lep3_min ) return kFALSE;
tot_chg += lep->Charge();
}
if ( fLeptons->GetEntries() == 3 ) {
if ( TMath::Abs(tot_chg) > 2. ) return kFALSE;
}
fMET = fEvent->GetEnergySum()->MissingEt_Mag();
if ( fMET < fMET_min || fMET > fMET_max ) return kFALSE;
fMtW = fEvent->W_Mperp((HepParticle*)fLeptons->At(0));
FillHistogramsCommon(fHistsPreSel, fEvent->GetPreTagEvtWeight());
ReconstructZ0Top();
if ( fRequireZ && fEvent->GetN_Z0Decays() < 1 ) return kFALSE;
if ( fRequireTop && fEvent->GetN_TopDecays() < 1 ) return kFALSE;
if ( fMtW_min > 0. || fMtW_max < INFINITY ) {
HepTopDecay *top = (HepTopDecay*)fEvent->GetTopDecays()->At(0);
AtlWDecayLNu *Wboson = (AtlWDecayLNu*)top->GetWDecay();
Float_t MtW = fEvent->W_Mperp(Wboson->GetChargedLeptonOrig());
if ( MtW < fMtW_min || MtW > fMtW_max ) return kFALSE;
}
FillHistogramsCommon(fHistsPreTag, fEvent->GetPreTagEvtWeight());
FillHistogramsTop(fHistsPreTag, fEvent->GetPreTagEvtWeight());
FillHistogramsZ0(fHistsPreTag, fEvent->GetPreTagEvtWeight(),
"Z0_best", GetZ0DecayBest());
fPreTaggedEvents++;
fPreTaggedEventsW += fEvent->GetPreTagEvtWeight();
if ( fBJets->GetEntries() < fNBTags_min
|| fBJets->GetEntries() > fNBTags_max ) return kFALSE;
FillHistogramsCommon(fHistsAllCuts, fEvent->GetTagEvtWeight());
FillHistogramsTop(fHistsAllCuts, fEvent->GetTagEvtWeight());
FillHistogramsZ0(fHistsAllCuts, fEvent->GetTagEvtWeight(),
"Z0_best", GetZ0DecayBest());
return kTRUE;
}
void AtlSgTopFCNC_tZ_CtrlTtbar::BookHistograms() {
AtlSgTopFCNC_tZ_Base3L::BookHistograms();
}
AtlSgTopFCNC_tZ_CtrlTtbar.cxx:1 AtlSgTopFCNC_tZ_CtrlTtbar.cxx:2 AtlSgTopFCNC_tZ_CtrlTtbar.cxx:3 AtlSgTopFCNC_tZ_CtrlTtbar.cxx:4 AtlSgTopFCNC_tZ_CtrlTtbar.cxx:5 AtlSgTopFCNC_tZ_CtrlTtbar.cxx:6 AtlSgTopFCNC_tZ_CtrlTtbar.cxx:7 AtlSgTopFCNC_tZ_CtrlTtbar.cxx:8 AtlSgTopFCNC_tZ_CtrlTtbar.cxx:9 Atl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