MRCCParent.h
Go to the documentation of this file.
1 
2 
3 ////////////////////////////////////////////////////////////////////////
4 // \file MRCCParent.h
5 // \brief MRCCParent object is a container for information
6 // about the parent slice of a MRCC event. The parent slice
7 // is the original slice that a MRCC slice maps to with maximum
8 // purity. Only the information that has been found to be
9 // important for the MRCC analysis so far is being added to
10 // this object.
11 // \author Kanika Sachdev (ksachdev@physics.umn.edu)
12 ////////////////////////////////////////////////////////////////////////
13 
14 
15 #ifndef MRCCParent_h
16 #define MRCCParent_h
17 
18 namespace murem
19 {
20 
21  class MRCCParent
22  {
23 
24  public:
25 
26  /// Default constructor
28 
29  /// Default destructor
31 
32  /// Set the index of the parent slice
33  void SetParentIndex( int parentIdx) { fParentIdx = parentIdx; }
34  /// Returns the index of the parent slice
35  int ParentIndex() const { return fParentIdx; }
36 
37 
38  /// Set the efficiency of MRCC slice wrt the parent
39  void SetParentEff( float parentEff) { fParentEff = parentEff; }
40  /// Returns the efficiency of MRCC slice wrt the parent
41  float ParentEff() const { return fParentEff; }
42 
43 
44  /// Set the purity of MRCC slice wrt the parent
45  void SetParentPur( float parentPur) { fParentPur = parentPur; }
46  /// Returns the purity of MRCC slice wrt the parent
47  float ParentPur() const { return fParentPur; }
48 
49  private:
50 
52  float fParentEff;
53  float fParentPur;
54 
55  }; // End of MRCCParent class definition
56 
57 }// End of namespace murem
58 
59 #endif
void SetParentIndex(int parentIdx)
Set the index of the parent slice.
Definition: MRCCParent.h:33
float ParentEff() const
Returns the efficiency of MRCC slice wrt the parent.
Definition: MRCCParent.h:41
MRCCParent()
Default constructor.
Definition: MRCCParent.h:27
void SetParentEff(float parentEff)
Set the efficiency of MRCC slice wrt the parent.
Definition: MRCCParent.h:39
~MRCCParent()
Default destructor.
Definition: MRCCParent.h:30
int ParentIndex() const
Returns the index of the parent slice.
Definition: MRCCParent.h:35
float ParentPur() const
Returns the purity of MRCC slice wrt the parent.
Definition: MRCCParent.h:47
void SetParentPur(float parentPur)
Set the purity of MRCC slice wrt the parent.
Definition: MRCCParent.h:45