|
[Rivet-svn] rivet: Disable broken analyses for later inspectionRivet Mercurial rivet at projects.hepforge.orgTue Oct 10 11:30:06 BST 2017
details: https://rivet.hepforge.org/hg/rivet/rev/b436e311341c branches: multiweight changeset: 6087:b436e311341c user: David Grellscheid <david.grellscheid at durham.ac.uk> date: Tue Oct 10 11:17:31 2017 +0100 description: Disable broken analyses for later inspection diffs (truncated from 2776 to 50 lines): --- a/analyses/pluginATLAS/ATLAS_2010_S8918562.cc Fri Oct 06 16:55:17 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,219 +0,0 @@ -// -*- C++ -*- - -#include "Rivet/Analysis.hh" -#include "Rivet/Projections/ChargedFinalState.hh" - -namespace Rivet { - - - /// Rivet analysis class for ATLAS 2010 minimum bias analysis - class ATLAS_2010_S8918562 : public Analysis { - public: - - /// Helper for collectively filling Nch, pT, eta, and pT vs. Nch histograms - void fillPtEtaNch(const ChargedFinalState& cfs, int nchcut, - Histo1DPtr h_nch, Histo1DPtr h_pt, - Histo1DPtr h_eta, Profile1DPtr h_ptnch = Profile1DPtr()) { - - // Get number of particles and skip if event fails cut - const int nch = cfs.size(); - if (nch < nchcut) return; - - // Fill nch - h_nch->fill(nch); - // Loop over particles, fill pT, eta and ptnch - foreach (const Particle& p, cfs.particles()) { - const double pt = p.pT(); - h_pt->fill(pt/GeV, 1.0/pt); - h_eta->fill(p.eta()); - if (h_ptnch != 0) h_ptnch->fill(nch, pt/GeV); - } - } - - - /// Default constructor - ATLAS_2010_S8918562() : Analysis("ATLAS_2010_S8918562") { - } - - - /// Initialization, called once before running - void init() { - // Projections - const ChargedFinalState cfs100(-2.5, 2.5, 100.0*MeV); - declare(cfs100, "CFS100"); - const ChargedFinalState cfs500(-2.5, 2.5, 500.0*MeV); - declare(cfs500, "CFS500"); - const ChargedFinalState cfs2500(-2.5, 2.5, 2500.0*MeV); - declare(cfs2500, "CFS2500");
More information about the Rivet-svn mailing list |