RockMatrix Class Reference

#include <RockMatrix.h>

Inheritance diagram for RockMatrix:
NuMatrix Rock1DMatrix RockMatrixRAF0720Eonly RockMatrixRAF0720Ext RockMatrixRAF0720Std

List of all members.

Public Types

enum  Energy {
  kUnknown = 0, kTrue = 1, kReco = 2, kTrack,
  kTrueTrack
}

Public Member Functions

 RockMatrix (void)
 RockMatrix (Double_t POT)
virtual ~RockMatrix ()
virtual void PrepareBins (RockEvent *nu) const =0
 Returns a copy of the current RockMatrix instance.
virtual void Fill (const NuEvent &evt)
 Stores a NuEvent in the data representation of this NuMatrix.
virtual void FillJess (const RockEvent &, const Double_t)
virtual void Fill (const NuEvent &nu, const Double_t weight, const bool display=false)=0
virtual void Fill (const RockEvent &nu, const Double_t weight, const bool display=false)=0
virtual void True (void)
virtual void Reco (void)
virtual void TrueTrack (void)
virtual void TrackEnergy (void)
virtual Energy EnergyState (void)
virtual void SetFillTrueEnergy (void)
 We want to fill this matrix with true energy varaibles.
virtual void SetFillRecoEnergy (void)
 We want to fill this matrix with reco energy variables.

Protected Attributes

Energy fEnergyState

Detailed Description

Represents the 'binning' of the rock muon fitting. This may entail multiple dimensions of binning, which is why it is abstracted to this. It is designed as the rock muon equivalent of the NuMatrixSpectrum. This itself is an abstract 'interface' class. The use of multiple inheritance here was a step taken with reluctance, but seems to be the best way to implement a swappable Rock Matrix system

Definition at line 17 of file RockMatrix.h.


Member Enumeration Documentation

This energy state infrastructure was implemented before the NuMatrix-native filling functionality. For now, just duplicate it.

Enumerator:
kUnknown 
kTrue 
kReco 
kTrack 
kTrueTrack 

Definition at line 38 of file RockMatrix.h.

00038               {
00039     kUnknown = 0,
00040     kTrue    = 1,
00041     kReco    = 2,
00042     kTrack,
00043     kTrueTrack
00044   };


Constructor & Destructor Documentation

RockMatrix::RockMatrix ( void   )  [inline]

Definition at line 20 of file RockMatrix.h.

00020 : NuMatrix() {};

RockMatrix::RockMatrix ( Double_t  POT  )  [inline]

Definition at line 21 of file RockMatrix.h.

00021 : NuMatrix(POT) {};

virtual RockMatrix::~RockMatrix (  )  [inline, virtual]

Definition at line 23 of file RockMatrix.h.

00023 {};


Member Function Documentation

virtual Energy RockMatrix::EnergyState ( void   )  [inline, virtual]

Definition at line 57 of file RockMatrix.h.

References fEnergyState.

00057 { return fEnergyState; }

virtual void RockMatrix::Fill ( const RockEvent nu,
const Double_t  weight,
const bool  display = false 
) [pure virtual]
virtual void RockMatrix::Fill ( const NuEvent nu,
const Double_t  weight,
const bool  display = false 
) [pure virtual]
virtual void RockMatrix::Fill ( const NuEvent evt  )  [inline, virtual]

Stores a NuEvent in the data representation of this NuMatrix.

Reimplemented from NuMatrix.

Reimplemented in Rock1DMatrix.

Definition at line 31 of file RockMatrix.h.

References Fill(), and NuEvent::rw.

Referenced by Fill(), and RockFiller::GetRockMatrix().

00031 {Fill(evt, evt.rw);}

virtual void RockMatrix::FillJess ( const RockEvent ,
const   Double_t 
) [inline, virtual]

Reimplemented in RockMatrixRAF0720Eonly, RockMatrixRAF0720Ext, and RockMatrixRAF0720Std.

Definition at line 32 of file RockMatrix.h.

Referenced by RockFiller::GetRockMatrix().

00032 {/*nu, weight*/}

virtual void RockMatrix::PrepareBins ( RockEvent nu  )  const [pure virtual]

Returns a copy of the current RockMatrix instance.

Precalculates a RockEvents bins for the RockMatrix histograms

Implemented in Rock1DMatrix, RockMatrixRAF0720Eonly, RockMatrixRAF0720Ext, and RockMatrixRAF0720Std.

Referenced by RockFiller::AddFile().

virtual void RockMatrix::Reco ( void   )  [inline, virtual]

Definition at line 48 of file RockMatrix.h.

References fEnergyState, and kReco.

Referenced by Rock1DMatrix::Rock1DMatrix(), and SetFillRecoEnergy().

00048                           {
00049     fEnergyState = kReco;
00050   }

virtual void RockMatrix::SetFillRecoEnergy ( void   )  [inline, virtual]

We want to fill this matrix with reco energy variables.

Reimplemented from NuMatrix.

Definition at line 61 of file RockMatrix.h.

References Reco().

virtual void RockMatrix::SetFillTrueEnergy ( void   )  [inline, virtual]

We want to fill this matrix with true energy varaibles.

Sets what kind of data this NuMatrix holds. An example of this is entirely Reco, entirely Tru

Reimplemented from NuMatrix.

Definition at line 60 of file RockMatrix.h.

References True().

virtual void RockMatrix::TrackEnergy ( void   )  [inline, virtual]

Definition at line 54 of file RockMatrix.h.

References fEnergyState, and kTrack.

00054                                  {
00055     fEnergyState = kTrack;
00056   }

virtual void RockMatrix::True ( void   )  [inline, virtual]

Definition at line 45 of file RockMatrix.h.

References fEnergyState, and kTrue.

Referenced by SetFillTrueEnergy().

00045                           {
00046     fEnergyState = kTrue;
00047   }

virtual void RockMatrix::TrueTrack ( void   )  [inline, virtual]

Definition at line 51 of file RockMatrix.h.

References fEnergyState, and kTrueTrack.

00051                                {
00052     fEnergyState = kTrueTrack;
00053   }


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1