Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F7879472
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
View Options
diff --git a/src/Analyses/CDF_2001_S4563131.cc b/src/Analyses/CDF_2001_S4563131.cc
--- a/src/Analyses/CDF_2001_S4563131.cc
+++ b/src/Analyses/CDF_2001_S4563131.cc
@@ -1,71 +1,71 @@
// -*- C++ -*-
#include "Rivet/Analysis.hh"
#include "Rivet/Projections/FinalState.hh"
#include "Rivet/Projections/FastJets.hh"
namespace Rivet {
/// @brief CDF Run I inclusive jet cross-section
class CDF_2001_S4563131 : public Analysis {
public:
/// @name Constructors etc.
//@{
/// Constructor
CDF_2001_S4563131()
: Analysis("CDF_2001_S4563131")
{ }
//@}
public:
/// @name Analysis methods
//@{
/// Book histograms and initialise projections before the run
void init() {
- FinalState fs(-4,2, 4.2);
+ FinalState fs(-4.2, 4.2);
addProjection(FastJets(fs, FastJets::CDFJETCLU, 0.7), "Jets");
_h_ET = bookHisto1D(1, 1, 1);
}
/// Perform the per-event analysis
void analyze(const Event& event) {
const double weight = event.weight();
Jets jets = applyProjection<FastJets>(event, "Jets").jets(Cuts::pT > 40*GeV, cmpMomByEt);
foreach (const Jet& jet, jets) {
if (inRange(jet.abseta(), 0.1, 0.7))
_h_ET->fill(jet.Et(), weight);
}
}
/// Normalise histograms etc., after the run
void finalize() {
const double deta = 1.2;
scale(_h_ET, crossSection()/sumOfWeights()/deta/nanobarn);
}
//@}
private:
/// @name Histograms
//@{
Histo1DPtr _h_ET;
//@}
};
// The hook for the plugin system
DECLARE_RIVET_PLUGIN(CDF_2001_S4563131);
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Tue, Nov 19, 8:30 PM (1 d, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3806043
Default Alt Text
(1 KB)
Attached To
rRIVETHG rivethg
Event Timeline
Log In to Comment