OscFit::Data Class Reference

#include <Data.h>

Inheritance diagram for OscFit::Data:
OscFit::ArgonData OscFit::AtmosData

List of all members.

Public Member Functions

 Data (RunType_t runtype, Sample_t sample, OscType_t osctype)
virtual ~Data ()
Sample_t GetSample ()
RunType_t GetRunType ()
OscType_t GetOscType ()
EventGetEvent (int n)
virtual EventBuildEvent (int)
virtual void AddFile (const char *)
virtual int GetNumEvents ()
virtual void Reset ()

Protected Attributes

OscType_t fOscType
Sample_t fSample
RunType_t fRunType
EventfEvent

Detailed Description

Definition at line 8 of file GhostFitter/HEAD/Data.h.


Constructor & Destructor Documentation

Data::Data ( RunType_t  runtype,
Sample_t  sample,
OscType_t  osctype 
)

Definition at line 5 of file GhostFitter/HEAD/Data.cxx.

References fEvent, fOscType, fRunType, and fSample.

00006 {
00007   fOscType = osctype;
00008 
00009   fSample  = sample;
00010   fRunType = runtype; 
00011   
00012   fEvent = new Event();
00013 }

Data::~Data (  )  [virtual]

Definition at line 15 of file GhostFitter/HEAD/Data.cxx.

References fEvent.

00016 {
00017   delete fEvent;
00018 }


Member Function Documentation

virtual void OscFit::Data::AddFile ( const char *   )  [inline, virtual]

Reimplemented in OscFit::ArgonData, and OscFit::AtmosData.

Definition at line 21 of file GhostFitter/HEAD/Data.h.

Referenced by OscFit::DataInterface::LoadData().

00021 { return;        }

virtual Event* OscFit::Data::BuildEvent ( int   )  [inline, virtual]

Reimplemented in OscFit::ArgonData, and OscFit::AtmosData.

Definition at line 20 of file GhostFitter/HEAD/Data.h.

References fEvent.

Referenced by GetEvent().

00020 { return fEvent; }

Event* OscFit::Data::GetEvent ( int  n  )  [inline]

Definition at line 18 of file GhostFitter/HEAD/Data.h.

References BuildEvent().

Referenced by OscFit::TemplateMaker::AddData().

00018 { return BuildEvent(n); }

virtual int OscFit::Data::GetNumEvents (  )  [inline, virtual]

Reimplemented in OscFit::ArgonData, and OscFit::AtmosData.

Definition at line 22 of file GhostFitter/HEAD/Data.h.

Referenced by OscFit::TemplateMaker::AddData().

00022 { return 0;      }

OscType_t OscFit::Data::GetOscType (  )  [inline]

Definition at line 16 of file GhostFitter/HEAD/Data.h.

References fOscType.

00016 { return fOscType;   }

RunType_t OscFit::Data::GetRunType (  )  [inline]

Definition at line 15 of file GhostFitter/HEAD/Data.h.

References fRunType.

00015 { return fRunType;   }

Sample_t OscFit::Data::GetSample (  )  [inline]

Definition at line 14 of file GhostFitter/HEAD/Data.h.

References fSample.

00014 { return fSample;    }

virtual void OscFit::Data::Reset (  )  [inline, virtual]

Reimplemented in OscFit::ArgonData, and OscFit::AtmosData.

Definition at line 23 of file GhostFitter/HEAD/Data.h.

00023 { return;        }


Member Data Documentation


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

Generated on 24 Jul 2018 for loon by  doxygen 1.6.1