SRHadClust.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRHadClust.h
3 // \version $Id: SRHadClust.h,v 1.5 2012-12-07 21:06:22 rocco Exp $
4 // \author $Author: rocco $
5 // \date $Date: 2012-12-07 21:06:22 $
6 ////////////////////////////////////////////////////////////////////////
7 #ifndef SRHADCLUST_H
8 #define SRHADCLUST_H
9 
11 
12 namespace caf
13 {
14  /// Overarching information for a numu hadronic cluster
15  class SRHadClust
16  {
17  public:
18  SRHadClust();
19  virtual ~SRHadClust();
20 
21 
22  unsigned int nhit; ///< number of hits
23  unsigned int ncalhit; ///< number of hits with calibration
24  unsigned int nmiphit; ///< number of minimum ionizing hits
25  unsigned int ncontplanes; ///< number of continuous planes
26  unsigned int firstplane; ///< first plane
27  unsigned int lastplane; ///< last plane
28  unsigned int firstcell; ///< first cell
29  unsigned int lastcell; ///< last cell
30  unsigned int ncellsfromedge; ///< minimum number of cells to edge of detector
31  float calE; ///< Calorimetric energy of the cluster [GeV]
32  SRVector3D boxmin; ///< Minimum coordinates box containing all the hits [cm]
33  SRVector3D boxmax; ///< Maximum coordinates box containing all the hits [cm]
34  SRVector3D meanpos; ///< Mean position of hits in cluster, weighted by charge [cm]
35 
36  void setDefault();
37 
38  };
39 } // end namespace
40 
41 #endif // SRHADCLUST_H
42 //////////////////////////////////////////////////////////////////////////////
A 3-vector with more efficient storage than TVector3.
Definition: SRVector3D.h:14
unsigned int ncellsfromedge
minimum number of cells to edge of detector
Definition: SRHadClust.h:30
Overarching information for a numu hadronic cluster.
Definition: SRHadClust.h:15
unsigned int ncontplanes
number of continuous planes
Definition: SRHadClust.h:25
SRVector3D meanpos
Mean position of hits in cluster, weighted by charge [cm].
Definition: SRHadClust.h:34
unsigned int nhit
number of hits
Definition: SRHadClust.h:22
unsigned int nmiphit
number of minimum ionizing hits
Definition: SRHadClust.h:24
float calE
Calorimetric energy of the cluster [GeV].
Definition: SRHadClust.h:31
unsigned int lastcell
last cell
Definition: SRHadClust.h:29
unsigned int ncalhit
number of hits with calibration
Definition: SRHadClust.h:23
This module creates Common Analysis Files.
Definition: FileReducer.h:10
SRVector3D boxmin
Minimum coordinates box containing all the hits [cm].
Definition: SRHadClust.h:32
unsigned int firstcell
first cell
Definition: SRHadClust.h:28
unsigned int firstplane
first plane
Definition: SRHadClust.h:26
virtual ~SRHadClust()
Definition: SRHadClust.cxx:28
unsigned int lastplane
last plane
Definition: SRHadClust.h:27
SRVector3D boxmax
Maximum coordinates box containing all the hits [cm].
Definition: SRHadClust.h:33