#include <HodoCluster.h>
Definition at line 23 of file HodoCluster.h.
 
◆ HodoCluster() [1/2]
◆ HodoCluster() [2/2]
  
  | 
        
          | HodoCluster | ( | int | ix, |  
          |  |  | int | iy, |  
          |  |  | int | layer, |  
          |  |  | double | energy, |  
          |  |  | double | time |  
          |  | ) |  |  |  | inline | 
 
 
◆ ~HodoCluster()
◆ addHit()
      
        
          | void addHit | ( | TObject * | hit | ) |  | 
      
 
Add a reference to a calorimeter hit composing this cluster.
- Parameters
- 
  
    | hit | : Cal hit composing with this cluster |  
 
Definition at line 22 of file HodoCluster.cxx.
 
 
◆ ClassDef()
◆ Clear()
      
        
          | void Clear | ( | Option_t * | option = "" | ) |  | 
      
 
 
◆ getEnergy()
  
  | 
        
          | double getEnergy | ( |  | ) | const |  | inline | 
 
- Returns
- The energy of the calorimeter cluster. 
Definition at line 59 of file HodoCluster.h.
 
 
◆ getHits()
  
  | 
        
          | TRefArray * getHits | ( |  | ) | const |  | inline | 
 
- Returns
- An array of references to the calorimeter hits composing this cluster. 
Definition at line 49 of file HodoCluster.h.
 
 
◆ getIndices()
  
  | 
        
          | std::vector< int > getIndices | ( |  | ) | const |  | inline | 
 
 
◆ getLayer()
  
  | 
        
          | double getLayer | ( |  | ) | const |  | inline | 
 
- Returns
- The layer number of the hit. 
Definition at line 69 of file HodoCluster.h.
 
 
◆ getTime()
- Returns
- The time of the cluster. 
Definition at line 80 of file HodoCluster.h.
 
 
◆ setEnergy()
  
  | 
        
          | void setEnergy | ( | const double | energy | ) |  |  | inline | 
 
Set the energy of the calorimeter cluster.
- Parameters
- 
  
    | energy | : The energy of the calorimeter cluster. |  
 
Definition at line 56 of file HodoCluster.h.
 
 
◆ setIndices()
  
  | 
        
          | void setIndices | ( | int | index_x, |  
          |  |  | int | index_y |  
          |  | ) |  |  |  | inline | 
 
Set the indices of the crystal.
- Parameters
- 
  
    | index_x | The index along x |  | index_y | The index along y |  
 
Definition at line 88 of file HodoCluster.h.
 
 
◆ setLayer()
  
  | 
        
          | void setLayer | ( | const int | layer | ) |  |  | inline | 
 
Set the layer of the hit.
- Parameters
- 
  
    | layer | The layer of the hit. |  
 
Definition at line 66 of file HodoCluster.h.
 
 
◆ setTime()
  
  | 
        
          | void setTime | ( | const double | time | ) |  |  | inline | 
 
Set the time of the calorimeter clusters.
- Parameters
- 
  
  
Definition at line 77 of file HodoCluster.h.
 
 
◆ energy_
◆ hits_
      
        
          | TRefArray* hits_ {new TRefArray{}} | 
      
 
An array of references to the hits associated withi this cluster. 
Definition at line 102 of file HodoCluster.h.
 
 
◆ index_x_
◆ index_y_
◆ layer_
◆ n_hits_
The number of hits composing this cluster. 
Definition at line 105 of file HodoCluster.h.
 
 
◆ time_
The documentation for this class was generated from the following files: