1 #ifndef ICHiggsTauTau_SuperCluster_hh
2 #define ICHiggsTauTau_SuperCluster_hh
6 #include "Math/Point3D.h"
7 #include "Math/Point3Dfwd.h"
8 #include "Math/Vector4D.h"
9 #include "Math/Vector4Dfwd.h"
19 typedef ROOT::Math::XYZPoint Point;
20 typedef ROOT::Math::PtEtaPhiEVector Vector;
25 virtual void Print()
const;
29 inline Point
const&
point()
const {
return point_; }
33 inline double vx()
const {
return point_.x(); }
36 inline double vy()
const {
return point_.y(); }
39 inline double vz()
const {
return point_.z(); }
42 inline double pt()
const {
return (energy_ * sin(point_.theta())); }
45 inline double eta()
const {
return (point_.eta()); }
48 inline double phi()
const {
return (point_.phi()); }
51 inline double const&
energy()
const {
return energy_; }
54 inline double const&
raw_energy()
const {
return raw_energy_; }
61 inline bool const&
is_barrel()
const {
return is_barrel_; }
64 inline std::size_t
id()
const {
return id_; }
74 inline void set_vx(
double const& x) { point_.SetX(x); }
77 inline void set_vy(
double const& y) { point_.SetY(y); }
80 inline void set_vz(
double const& z) { point_.SetZ(z); }
83 inline void set_id(std::size_t
const&
id) { id_ =
id; }
104 #ifndef SKIP_CINT_DICT
void set_raw_energy(double const &raw_energy)
Raw supercluster energy.
void set_point(Point const &point)
The supercluster 3D co-ordinates.
double eta() const
The direction of the supercluster.
double const & raw_energy() const
Raw supercluster energy.
double vz() const
The supercluster z-coordinate.
void set_vy(double const &y)
The supercluster y-coordinate.
ClassDef(SuperCluster, 2)
void set_is_barrel(bool const &is_barrel)
True if the supercluster is in the EB, false otherwise.
void set_energy(double const &energy)
Corrected supercluster energy.
double pt() const
Defined as .
void set_vx(double const &x)
The supercluster x-coordinate.
Point const & point() const
The supercluster 3D co-ordinates.
virtual void Print() const
double vx() const
The supercluster x-coordinate.
bool const & is_barrel() const
True if the supercluster is in the EB, false otherwise.
double vy() const
The supercluster y-coordinate.
Vector vector() const
A four-momentum constructed from the pt(), eta(), phi() and energy() values.
std::size_t id() const
Unique identifier.
void set_vz(double const &z)
The supercluster z-coordinate.
double phi() const
The direction of the supercluster.
void set_id(std::size_t const &id)
Unique identifier.
std::vector< ic::SuperCluster > SuperClusterCollection
double const & energy() const
Corrected supercluster energy.