|
[Rivet-svn] rivet: 2 new changesetsRivet Mercurial rivet at projects.hepforge.orgWed Apr 4 13:15:02 BST 2018
details: https://rivet.hepforge.org/hg/rivet/rev/b4c4dba20bd5 branches: release-2-6-x changeset: 6263:b4c4dba20bd5 user: Jon Butterworth <j.butterworth at cern.ch> date: Wed Apr 04 13:00:57 2018 +0100 description: adding ATLAS H to 4l fiducial measurement details: https://rivet.hepforge.org/hg/rivet/rev/3d79d01af5ec branches: release-2-6-x changeset: 6264:3d79d01af5ec user: Jon Butterworth <j.butterworth at cern.ch> date: Wed Apr 04 13:13:53 2018 +0100 description: add ATLAS inclusive W and Z diffs (truncated from 2409 to 50 lines): --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/analyses/pluginATLAS/ATLAS_2014_I1310835.cc Wed Apr 04 13:13:53 2018 +0100 @@ -0,0 +1,270 @@ +// -*- C++ -*- +#include "Rivet/Analysis.hh" +#include "Rivet/Projections/FastJets.hh" +#include "Rivet/Projections/FinalState.hh" +#include "Rivet/Projections/PromptFinalState.hh" +#include "Rivet/Projections/DressedLeptons.hh" + +namespace Rivet { + + /// @brief H(125)->ZZ->4l at 8 TeV + class ATLAS_2014_I1310835 : public Analysis { + public: + + /// Default constructor + DEFAULT_RIVET_ANALYSIS_CTOR(ATLAS_2014_I1310835); + + void init() { + const FinalState fs(Cuts::abseta < 5.0); + + PromptFinalState photons(Cuts::abspid == PID::PHOTON); + + PromptFinalState bare_el(Cuts::abspid == PID::ELECTRON); + + PromptFinalState bare_mu(Cuts::abspid == PID::MUON); + + // Selection: lepton selection + Cut etaranges_el = Cuts::abseta < 2.47 && Cuts::pT > 7*GeV; + DressedLeptons electron_sel4l(photons, bare_el, 0.1, etaranges_el, false); + addProjection(electron_sel4l, "electrons"); + + Cut etaranges_mu = Cuts::abseta < 2.7 && Cuts::pT > 6*GeV; + DressedLeptons muon_sel4l(photons, bare_mu, 0.1, etaranges_mu, false); + addProjection(muon_sel4l, "muons"); + + FastJets jetpro(fs, FastJets::ANTIKT, 0.4, JetAlg::NO_MUONS, JetAlg::NO_INVISIBLES); + addProjection(jetpro, "jet"); + + // Book histos + _h_pt = bookHisto1D(1, 1, 1); + _h_rapidity = bookHisto1D(2, 1, 1); + _h_m34 = bookHisto1D(3, 1, 1); + _h_costheta = bookHisto1D(4, 1, 1); + _h_njets = bookHisto1D(5, 1, 1); + _h_leadingjetpt = bookHisto1D(6, 1, 1); + + } +
More information about the Rivet-svn mailing list |