JobCInputModule Class Reference

#include <JobCInputModule.h>

Inheritance diagram for JobCInputModule:
JobCModule CustomLightInjector DummyInput IoInputModule JobCInput LightInjector PhotonInjector ToyMCModule

List of all members.

Public Member Functions

 JobCInputModule ()
virtual ~JobCInputModule ()
virtual JobCResult Get ()
virtual JobCResult Next (int n=1)
virtual JobCResult Prev (int n=1)
virtual JobCResult GoTo (int runNumber, int snarlNumber, int searchDir=0)
virtual JobCResult GoTo (const VldContext &vld)
virtual void List (const char *streamlist="*") const
virtual void AddFile (const char *filename, const char *streamlist="*", int at=-1)
virtual void RemoveFile (const char *filename, const char *streamlist="*")
virtual void Select (const char *stream, const char *cut, bool isrequired=false)
virtual void SetSequenceMode (const char *stream, Per::ESequenceMode seqmode=Per::kKey)
virtual void SetTestMode (const char *stream, bool testmode)
virtual void SetPerOwnedDisabled (const char *stream, bool perowneddisabled=true)
virtual void SetWindow (const char *stream, double lower, double upper)
virtual void DefineStream (const char *stream, const char *tree)
virtual void SetMaxFileRepeat (const char *stream, int numRepeat=0)
virtual void SetMeanMom (const char *stream, double mean=0.)
virtual void SetPushRandom (const char *stream, bool setRandom=true)
virtual void SetRandomSeed (int rSeed=0)
virtual JobCResult NextFile (int n=1, const char *streamlist="*")
virtual JobCResult PrevFile (int n=1, const char *streamlist="*")
virtual JobCResult GoToFile (int i, const char *streamlist="*")
virtual JobCResult GoToFile (const char *filename, const char *streamlist="*")
void SetMom (MomNavigator *mom)
MomNavigatorGetMom () const
virtual Int_t GetCurrentRun () const
virtual Int_t GetLastRun () const
virtual const char * GetCurrentFile (const char *streamname="*") const
virtual const char * GetLastFile (const char *streamname="*") const
virtual Int_t GetCurrentSnarl () const

Private Member Functions

virtual JobCResult Get (MomNavigator *mom)

Private Attributes

MomNavigatorfMom

Detailed Description

Definition at line 20 of file JobCInputModule.h.


Constructor & Destructor Documentation

JobCInputModule::JobCInputModule (  ) 

Definition at line 17 of file JobCInputModule.cxx.

00017 : fMom(0) { }

JobCInputModule::~JobCInputModule (  )  [virtual]

Definition at line 18 of file JobCInputModule.cxx.

00018 { }


Member Function Documentation

void JobCInputModule::AddFile ( const char *  filename,
const char *  streamlist = "*",
int  at = -1 
) [virtual]

Reimplemented in IoInputModule, JobCInput, and DummyInput.

Definition at line 30 of file JobCInputModule.cxx.

References noimp().

Referenced by JobCInput::AddFile().

00032                                                                   { noimp(); }

void JobCInputModule::DefineStream ( const char *  stream,
const char *  tree 
) [virtual]

Reimplemented in IoInputModule, and JobCInput.

Definition at line 45 of file JobCInputModule.cxx.

References noimp().

Referenced by JobCInput::DefineStream().

00046                                                                  { noimp(); }

JobCResult JobCInputModule::Get ( MomNavigator mom  )  [private, virtual]

Implement if your module needs to read data from some external source and fill mom

Reimplemented from JobCModule.

Reimplemented in IoInputModule, JobCInput, and DummyInput.

Definition at line 21 of file JobCInputModule.cxx.

References noimp().

00021 {noimp(); return gsNG;}

JobCResult JobCInputModule::Get (  )  [virtual]

Reimplemented in CustomLightInjector, LightInjector, IoInputModule, JobCInput, PhotonInjector, ToyMCModule, and DummyInput.

Definition at line 20 of file JobCInputModule.cxx.

References noimp().

Referenced by JobCInput::Get().

00020 {noimp(); return gsNG;}

const char * JobCInputModule::GetCurrentFile ( const char *  streamname = "*"  )  const [virtual]

Return the currently opened input file. This should not be overridden. Use this in BeginFile().

Reimplemented from JobCModule.

Reimplemented in IoInputModule, and JobCInput.

Definition at line 73 of file JobCInputModule.cxx.

References noimp().

Referenced by JobCModule::GetCurrentFile(), and JobCInput::GetCurrentFile().

00074 { noimp(); return 0; }

Int_t JobCInputModule::GetCurrentRun (  )  const [virtual]

Return the current run #. This should not be overridden. Use this in BeginRun().

Reimplemented from JobCModule.

Reimplemented in LightInjector, IoInputModule, and JobCInput.

Definition at line 71 of file JobCInputModule.cxx.

References noimp().

Referenced by JobCModule::GetCurrentRun(), JobCInput::GetCurrentRun(), and JobCPath::Run().

00071 { noimp(); return 0; }

Int_t JobCInputModule::GetCurrentSnarl (  )  const [virtual]

Reimplemented in LightInjector, IoInputModule, and JobCInput.

Definition at line 77 of file JobCInputModule.cxx.

References noimp().

Referenced by JobCInput::GetCurrentSnarl(), and JobCPath::Run().

00077 { noimp(); return 0; }

const char * JobCInputModule::GetLastFile ( const char *  streamname = "*"  )  const [virtual]

Return the previously opened input file. This should not be overridden. Use this in EndFile().

Reimplemented from JobCModule.

Reimplemented in IoInputModule, and JobCInput.

Definition at line 75 of file JobCInputModule.cxx.

References noimp().

Referenced by JobCInput::GetLastFile(), and JobCModule::GetLastFile().

00076 { noimp(); return 0; }

Int_t JobCInputModule::GetLastRun (  )  const [virtual]

Return the previous run #. This should not be overridden. Use this in EndRun().

Reimplemented from JobCModule.

Reimplemented in IoInputModule, and JobCInput.

Definition at line 72 of file JobCInputModule.cxx.

References noimp().

Referenced by JobCInput::GetLastRun(), and JobCModule::GetLastRun().

00072 { noimp(); return 0; }

MomNavigator * JobCInputModule::GetMom (  )  const
JobCResult JobCInputModule::GoTo ( const VldContext vld  )  [virtual]

Reimplemented in CustomLightInjector, LightInjector, IoInputModule, JobCInput, PhotonInjector, ToyMCModule, and DummyInput.

Definition at line 26 of file JobCInputModule.cxx.

References noimp().

00027                                                        {noimp(); return gsNG;}

JobCResult JobCInputModule::GoTo ( int  runNumber,
int  snarlNumber,
int  searchDir = 0 
) [virtual]

Reimplemented in CustomLightInjector, LightInjector, IoInputModule, JobCInput, PhotonInjector, ToyMCModule, and DummyInput.

Definition at line 24 of file JobCInputModule.cxx.

References noimp().

Referenced by JobCInput::GoTo().

00025                                                        {noimp(); return gsNG;}

JobCResult JobCInputModule::GoToFile ( const char *  filename,
const char *  streamlist = "*" 
) [virtual]

Reimplemented in IoInputModule, JobCInput, and DummyInput.

Definition at line 62 of file JobCInputModule.cxx.

References noimp().

00064                                                     { noimp(); return gsNG;}

JobCResult JobCInputModule::GoToFile ( int  i,
const char *  streamlist = "*" 
) [virtual]

Reimplemented in IoInputModule, JobCInput, and DummyInput.

Definition at line 60 of file JobCInputModule.cxx.

References noimp().

Referenced by JobCInput::GoToFile().

00061                                                    { noimp(); return gsNG;}

void JobCInputModule::List ( const char *  streamlist = "*"  )  const [virtual]

Reimplemented in IoInputModule, JobCInput, and DummyInput.

Definition at line 29 of file JobCInputModule.cxx.

References noimp().

Referenced by JobCInput::List().

00029 { noimp(); }

JobCResult JobCInputModule::Next ( int  n = 1  )  [virtual]

Reimplemented in CustomLightInjector, LightInjector, IoInputModule, JobCInput, PhotonInjector, ToyMCModule, and DummyInput.

Definition at line 22 of file JobCInputModule.cxx.

References noimp().

Referenced by JobCInput::Next(), and JobCPath::Run().

00022 {noimp(); return gsNG;}

JobCResult JobCInputModule::NextFile ( int  n = 1,
const char *  streamlist = "*" 
) [virtual]

Reimplemented in IoInputModule, JobCInput, and DummyInput.

Definition at line 56 of file JobCInputModule.cxx.

References noimp().

Referenced by JobCInput::NextFile().

00057                                                     { noimp(); return gsNG;}

JobCResult JobCInputModule::Prev ( int  n = 1  )  [virtual]

Reimplemented in CustomLightInjector, LightInjector, IoInputModule, JobCInput, PhotonInjector, ToyMCModule, and DummyInput.

Definition at line 23 of file JobCInputModule.cxx.

References noimp().

Referenced by JobCInput::Prev().

00023 {noimp(); return gsNG;}

JobCResult JobCInputModule::PrevFile ( int  n = 1,
const char *  streamlist = "*" 
) [virtual]

Reimplemented in IoInputModule, JobCInput, and DummyInput.

Definition at line 58 of file JobCInputModule.cxx.

References noimp().

Referenced by JobCInput::PrevFile().

00059                                                     { noimp(); return gsNG;}

void JobCInputModule::RemoveFile ( const char *  filename,
const char *  streamlist = "*" 
) [virtual]

Reimplemented in IoInputModule, JobCInput, and DummyInput.

Definition at line 33 of file JobCInputModule.cxx.

References noimp().

Referenced by JobCInput::RemoveFile().

00034                                                                { noimp(); }

void JobCInputModule::Select ( const char *  stream,
const char *  cut,
bool  isrequired = false 
) [virtual]

Reimplemented in IoInputModule, JobCInput, and DummyInput.

Definition at line 35 of file JobCInputModule.cxx.

References noimp().

Referenced by JobCInput::Select().

00037                                                                  { noimp(); }

void JobCInputModule::SetMaxFileRepeat ( const char *  stream,
int  numRepeat = 0 
) [virtual]

Reimplemented in IoInputModule, and JobCInput.

Definition at line 48 of file JobCInputModule.cxx.

References noimp().

Referenced by JobCInput::SetMaxFileRepeat().

00049                                                           { noimp(); }

void JobCInputModule::SetMeanMom ( const char *  stream,
double  mean = 0. 
) [virtual]

Reimplemented in IoInputModule, and JobCInput.

Definition at line 50 of file JobCInputModule.cxx.

References noimp().

Referenced by JobCInput::SetMeanMom().

00051                                                   { noimp(); }

void JobCInputModule::SetMom ( MomNavigator mom  ) 

Definition at line 66 of file JobCInputModule.cxx.

References fMom.

Referenced by JobC::Init(), IoInputModuleValidate::RunAllTests(), and JobCInput::Use().

00066 { fMom = mom; }

void JobCInputModule::SetPerOwnedDisabled ( const char *  stream,
bool  perowneddisabled = true 
) [virtual]

Reimplemented in IoInputModule, and JobCInput.

Definition at line 42 of file JobCInputModule.cxx.

References noimp().

Referenced by JobCInput::SetPerOwnedDisabled().

00043                                                         { noimp(); }

void JobCInputModule::SetPushRandom ( const char *  stream,
bool  setRandom = true 
) [virtual]

Reimplemented in IoInputModule, and JobCInput.

Definition at line 52 of file JobCInputModule.cxx.

References noimp().

Referenced by JobCInput::SetPushRandom().

00053                                                         { noimp(); }

void JobCInputModule::SetRandomSeed ( int  rSeed = 0  )  [virtual]

Reimplemented in IoInputModule, and JobCInput.

Definition at line 54 of file JobCInputModule.cxx.

References noimp().

Referenced by JobCInput::SetRandomSeed().

00054 { noimp(); }

void JobCInputModule::SetSequenceMode ( const char *  stream,
Per::ESequenceMode  seqmode = Per::kKey 
) [virtual]

Reimplemented in IoInputModule, and JobCInput.

Definition at line 38 of file JobCInputModule.cxx.

References noimp().

Referenced by JobCInput::SetSequenceMode().

00039                                                                 { noimp(); }

void JobCInputModule::SetTestMode ( const char *  stream,
bool  testmode 
) [virtual]

Reimplemented in IoInputModule, and JobCInput.

Definition at line 40 of file JobCInputModule.cxx.

References noimp().

Referenced by JobCInput::SetTestMode().

00041                                                 { noimp(); }

void JobCInputModule::SetWindow ( const char *  stream,
double  lower,
double  upper 
) [virtual]

Reimplemented in IoInputModule, and JobCInput.

Definition at line 44 of file JobCInputModule.cxx.

References noimp().

Referenced by JobCInput::SetWindow().

00044 { noimp(); }


Member Data Documentation

Definition at line 75 of file JobCInputModule.h.

Referenced by GetMom(), and SetMom().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1