18 const string& particle_name);
34 virtual void _analyze(
const Event& event,
const Particles& particles);
48 std::vector<Histo1DPtr> _h_pt;
49 std::vector<Histo1DPtr> _h_eta;
50 std::vector<Histo1DPtr> _h_eta_plus, _h_eta_minus;
51 std::vector<Histo1DPtr> _h_rap;
52 std::vector<Histo1DPtr> _h_rap_plus, _h_rap_minus;
53 std::vector<Estimate1DPtr> tmpeta, tmprap;
55 std::map<std::pair<size_t, size_t>,
Histo1DPtr> _h_deta;
56 std::map<std::pair<size_t, size_t>,
Histo1DPtr> _h_dphi;
57 std::map<std::pair<size_t, size_t>,
Histo1DPtr> _h_dR;
Base class providing common functionality for MC particle species validation analyses.
Definition MC_PARTICLES_BASE.hh:12
MC_PARTICLES_BASE(const string &name, size_t nparticles, const string &particle_name)
Default constructor.
virtual void analyze(const Event &event)=0
To be implemented by derived classes, making particle selection then calling _analyze.
virtual void init()
Bookings as usual, using the particle name specified by the derived classe.
virtual void finalize()
Normalization, division, etc.
Specialised vector of Particle objects.
Definition Particle.hh:21