LDMX Software
EcalCluster.h
Go to the documentation of this file.
1
7#ifndef EVENT_ECALCLUSTER_H_
8#define EVENT_ECALCLUSTER_H_
9
10// ldmx-sw
11#include "Ecal/Event/EcalHit.h"
13
14namespace ldmx {
15
21 public:
26
30 virtual ~EcalCluster();
31
37 void addHits(const std::vector<const ldmx::EcalHit*> hitsVec);
38
39 bool operator<(const EcalCluster& rhs) const {
40 return this->getEnergy() < rhs.getEnergy();
41 }
42
43 private:
44 // Could add further ECal-specific info here...
45
46 ClassDef(EcalCluster, 1);
47};
48} // namespace ldmx
49
50#endif
Class that stores calorimeter cluster information.
Stores cluster information from the ECal.
Definition CaloCluster.h:26
Stores cluster information from the ECal.
Definition EcalCluster.h:20
void addHits(const std::vector< const ldmx::EcalHit * > hitsVec)
Take in the hits that make up the cluster.
virtual ~EcalCluster()
Class destructor.
EcalCluster()
Class constructor.