/usr/include/Rivet/Projections/ChargedLeptons.hh is in librivet-dev 1.8.3-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | // -*- C++ -*-
#ifndef RIVET_ChargedLeptons_HH
#define RIVET_ChargedLeptons_HH
#include "Rivet/Projection.hh"
#include "Rivet/Projections/ChargedFinalState.hh"
#include "Rivet/Particle.hh"
#include "Rivet/Event.hh"
namespace Rivet {
/// @brief Get charged final-state leptons
///
/// NB. This is just electrons and muons, unless you set taus stable!
class ChargedLeptons : public FinalState {
public:
/// Constructor
ChargedLeptons(const FinalState& fsp)
{
setName("ChargedLeptons");
addProjection(ChargedFinalState(fsp), "ChFS");
}
/// Clone on the heap.
virtual const Projection* clone() const {
return new ChargedLeptons(*this);
}
protected:
/// Apply the projection to the event.
void project(const Event& evt);
/// Compare projections.
int compare(const Projection& other) const;
public:
/// Access the projected leptons.
const ParticleVector& chargedLeptons() const {
return _theParticles;
}
};
}
#endif
|