#include <CalCluster.h>
Definition at line 23 of file CalCluster.h.
 
◆ CalCluster()
◆ ~CalCluster()
◆ 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 36 of file CalCluster.cxx.
 
 
◆ ClassDef()
◆ Clear()
      
        
          | void Clear | ( | Option_t * | option = "" | ) |  | 
      
 
 
◆ getEnergy()
  
  | 
        
          | double getEnergy | ( |  | ) | const |  | inline | 
 
- Returns
- The energy of the calorimeter cluster. 
Definition at line 73 of file CalCluster.h.
 
 
◆ getHits()
  
  | 
        
          | TRefArray getHits | ( |  | ) | const |  | inline | 
 
- Returns
- An array of references to the calorimeter hits composing this cluster. 
Definition at line 47 of file CalCluster.h.
 
 
◆ getNHits()
- Returns
- number of references to the calorimeter hits composing this cluster. 
Definition at line 53 of file CalCluster.h.
 
 
◆ getPosition()
  
  | 
        
          | std::vector< double > getPosition | ( |  | ) | const |  | inline | 
 
- Returns
- The position of the calorimeter cluster. 
Definition at line 63 of file CalCluster.h.
 
 
◆ getSeed()
  
  | 
        
          | TObject * getSeed | ( |  | ) | const |  | inline | 
 
- Returns
- The seed hit of the cluster. 
Definition at line 93 of file CalCluster.h.
 
 
◆ getTime()
- Returns
- The time of the cluster. 
Definition at line 83 of file CalCluster.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 70 of file CalCluster.h.
 
 
◆ setPosition()
      
        
          | void setPosition | ( | const float * | position | ) |  | 
      
 
Set the position of the calorimeter cluster.
- Parameters
- 
  
    | position | : The position of the calorimeter cluster |  
 
Definition at line 30 of file CalCluster.cxx.
 
 
◆ setSeed()
  
  | 
        
          | void setSeed | ( | TObject * | seed_hit | ) |  |  | inline | 
 
Set the cluster seed i.e. the hit with the highest energy.
- Parameters
- 
  
  
Definition at line 90 of file CalCluster.h.
 
 
◆ setTime()
  
  | 
        
          | void setTime | ( | const double | time | ) |  |  | inline | 
 
Set the time of the calorimeter clusters.
- Parameters
- 
  
  
Definition at line 80 of file CalCluster.h.
 
 
◆ energy_
The energy of the cluster in GeV. 
Definition at line 118 of file CalCluster.h.
 
 
◆ hits_
An array of references to the hits associated withi this cluster. 
Definition at line 100 of file CalCluster.h.
 
 
◆ n_hits_
The number of hits composing this cluster. 
Definition at line 106 of file CalCluster.h.
 
 
◆ seed_hit_
A reference to the seed hit of this cluster. 
Definition at line 103 of file CalCluster.h.
 
 
◆ time_
◆ x_
The x position of the cluster in (mm). 
Definition at line 109 of file CalCluster.h.
 
 
◆ y_
The y position of the cluster in (mm). 
Definition at line 112 of file CalCluster.h.
 
 
◆ z_
The z position of the cluster in (mm). 
Definition at line 115 of file CalCluster.h.
 
 
The documentation for this class was generated from the following files: