cafe::RandomProcessor Class Reference

#include <RandomProcessor.hpp>

Inheritance diagram for cafe::RandomProcessor:

cafe::Processor cafe::RandomSelectUserObjects< T > List of all members.

Public Member Functions

 RandomProcessor (const char *name)
void inputFileOpened (TFile *file)
 Called for every new input file that was opened.

bool processEvent (cafe::Event &event)
 Called for every event.

 ClassDef (RandomProcessor, 0)

Protected Member Functions

TRandom & myRand ()
TRandom & myRandom ()
TRandom & myTRandom ()
 RandomProcessor ()

Private Attributes

UInt_t _seed
int _ROOT4patch
TRandom3 _rnd
bool _eventKey
bool _ignoreDirectory
int _nFirstCharsToIgnore
int _nLastCharsToIgnore
TString _addPrefix
int _mTable
std::vector< UInt_t > _seeds
UInt_t _fileHash

Constructor & Destructor Documentation

cafe::RandomProcessor::RandomProcessor const char *  name  ) 
 

Definition at line 67 of file RandomProcessor.cpp.

References _addPrefix, _eventKey, _ignoreDirectory, _mTable, _nFirstCharsToIgnore, _nLastCharsToIgnore, _rnd, _ROOT4patch, _seed, _seeds, cafe::Processor::debug(), cafe::Config::get(), cafe::hashString(), cafe::Processor::name(), cafe::Processor::out(), and cafe::patchedSetSeed().

cafe::RandomProcessor::RandomProcessor  )  [protected]
 

Definition at line 58 of file RandomProcessor.cpp.

References _eventKey, and _rnd.


Member Function Documentation

cafe::RandomProcessor::ClassDef RandomProcessor  ,
 

void cafe::RandomProcessor::inputFileOpened TFile *  file  )  [virtual]
 

Called for every new input file that was opened.

Reimplemented from cafe::Processor.

Reimplemented in cafe::RandomSelectUserObjects< T >.

Definition at line 120 of file RandomProcessor.cpp.

References _addPrefix, _eventKey, _fileHash, _ignoreDirectory, _nFirstCharsToIgnore, _nLastCharsToIgnore, cafe::Processor::debug(), cafe::hashString(), cafe::Processor::name(), and cafe::Processor::out().

TRandom& cafe::RandomProcessor::myRand  )  [inline, protected]
 

Definition at line 112 of file RandomProcessor.hpp.

References _rnd.

TRandom& cafe::RandomProcessor::myRandom  )  [inline, protected]
 

Definition at line 113 of file RandomProcessor.hpp.

References _rnd.

TRandom& cafe::RandomProcessor::myTRandom  )  [inline, protected]
 

Definition at line 114 of file RandomProcessor.hpp.

References _rnd.

bool cafe::RandomProcessor::processEvent cafe::Event event  )  [virtual]
 

Called for every event.

Reimplemented from cafe::Processor.

Reimplemented in cafe::RandomSelectUserObjects< T >.

Definition at line 146 of file RandomProcessor.cpp.

References _eventKey, _fileHash, _mTable, _rnd, _seeds, cafe::Processor::debug(), cafe::EventBase::getTree(), cafe::Processor::out(), and cafe::patchedSetSeed().


Member Data Documentation

TString cafe::RandomProcessor::_addPrefix [private]
 

Definition at line 128 of file RandomProcessor.hpp.

Referenced by inputFileOpened(), and RandomProcessor().

bool cafe::RandomProcessor::_eventKey [private]
 

Definition at line 124 of file RandomProcessor.hpp.

Referenced by inputFileOpened(), processEvent(), and RandomProcessor().

UInt_t cafe::RandomProcessor::_fileHash [private]
 

Definition at line 135 of file RandomProcessor.hpp.

Referenced by inputFileOpened(), and processEvent().

bool cafe::RandomProcessor::_ignoreDirectory [private]
 

Definition at line 125 of file RandomProcessor.hpp.

Referenced by inputFileOpened(), and RandomProcessor().

int cafe::RandomProcessor::_mTable [private]
 

Definition at line 132 of file RandomProcessor.hpp.

Referenced by processEvent(), and RandomProcessor().

int cafe::RandomProcessor::_nFirstCharsToIgnore [private]
 

Definition at line 126 of file RandomProcessor.hpp.

Referenced by inputFileOpened(), and RandomProcessor().

int cafe::RandomProcessor::_nLastCharsToIgnore [private]
 

Definition at line 127 of file RandomProcessor.hpp.

Referenced by inputFileOpened(), and RandomProcessor().

TRandom3 cafe::RandomProcessor::_rnd [private]
 

Definition at line 123 of file RandomProcessor.hpp.

Referenced by myRand(), myRandom(), myTRandom(), processEvent(), and RandomProcessor().

int cafe::RandomProcessor::_ROOT4patch [private]
 

Definition at line 122 of file RandomProcessor.hpp.

Referenced by RandomProcessor().

UInt_t cafe::RandomProcessor::_seed [private]
 

Definition at line 121 of file RandomProcessor.hpp.

Referenced by RandomProcessor().

std::vector<UInt_t> cafe::RandomProcessor::_seeds [private]
 

Definition at line 134 of file RandomProcessor.hpp.

Referenced by processEvent(), and RandomProcessor().


The documentation for this class was generated from the following files:
Generated on Thu Apr 3 04:14:27 2008 for CAF by doxygen 1.3.4