| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

DsPullEvent Class Reference

Pull the G4Event out of GiGa, convert it to data model objects. More...

#include <DsPullEvent.h>

Inheritance diagram for DsPullEvent:

[legend]
Collaboration diagram for DsPullEvent:
[legend]
List of all members.

Public Member Functions

 DsPullEvent (const std::string &name, ISvcLocator *pSvcLocator)
virtual ~DsPullEvent ()
virtual StatusCode initialize ()
virtual StatusCode execute ()
virtual StatusCode finalize ()
DayaBay::SimHeaderGetCurrentHeaderObject () const
virtual StatusCode sysInitialize ()
virtual StatusCode sysExecute ()
virtual StatusCode preExecute ()
virtual StatusCode postExecute ()
virtual StatusCode sysFinalize ()
IDataProviderSvcarcSvc () const
void putTES (DataObject *obj, std::string location) const
TYPE * getTES (std::string location) const
TYPE * getAES (std::string location, int index) const
std::vector< DataObject * > getAEScollection (std::string location) const
int getExecNum ()
std::string Location () const
void put (IDataProviderSvc *svc, DataObject *object, const std::string &address, const bool useRootInTES=true) const
void put (DataObject *object, const std::string &address, const bool useRootInTES=true) const
Gaudi::Utils::GetData< TYPE
>::return_type 
get (IDataProviderSvc *svc, const std::string &location, const bool useRootInTES=true) const
Gaudi::Utils::GetData< TYPE
>::return_type 
get (const std::string &location, const bool useRootInTES=true) const
TYPE * getDet (IDataProviderSvc *svc, const std::string &location) const
TYPE * getDet (const std::string &location) const
bool exist (IDataProviderSvc *svc, const std::string &location, const bool useRootInTES=true) const
bool exist (const std::string &location, const bool useRootInTES=true) const
bool existDet (IDataProviderSvc *svc, const std::string &location) const
bool existDet (const std::string &location) const
TYPE * getOrCreate (IDataProviderSvc *svc, const std::string &location, const bool useRootInTES=true) const
TYPE * getOrCreate (const std::string &location, const bool useRootInTES=true) const
bool registerContext () const
INTupleSvcevtColSvc () const
IAlgContextSvccontextSvc () const
TOOL * tool (const std::string &type, const std::string &name, const IInterface *parent=0, bool create=true) const
TOOL * tool (const std::string &type, const IInterface *parent=0, bool create=true) const
SERVICE * svc (const std::string &name, const bool create=true) const
IUpdateManagerSvcupdMgrSvc () const
IDataProviderSvcfastContainersSvc () const
StatusCode Error (const std::string &msg, const StatusCode st=StatusCode::FAILURE, const size_t mx=10) const
StatusCode Warning (const std::string &msg, const StatusCode st=StatusCode::FAILURE, const size_t mx=10) const
StatusCode Print (const std::string &msg, const StatusCode st=StatusCode::SUCCESS, const MSG::Level lev=MSG::INFO) const
StatusCode Assert (const bool ok, const std::string &message="", const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const
StatusCode Assert (const bool ok, const char *message, const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const
StatusCode Exception (const std::string &msg, const GaudiException &exc, const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const
StatusCode Exception (const std::string &msg, const std::exception &exc, const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const
StatusCode Exception (const std::string &msg="no message", const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const
MsgStreammsgStream (const MSG::Level level) const
MsgStreamalways () const
MsgStreamfatal () const
MsgStreamerr () const
MsgStreamerror () const
MsgStreamwarning () const
MsgStreaminfo () const
MsgStreamdebug () const
MsgStreamverbose () const
MsgStreammsg () const
const Statisticscounters () const
StatEntitycounter (const std::string &tag) const
MSG::Level msgLevel () const
bool msgLevel (const MSG::Level level) const
void resetMsgStream () const
bool typePrint () const
bool propsPrint () const
bool statPrint () const
bool errorsPrint () const
long printStat (const MSG::Level level=MSG::ALWAYS) const
long printErrors (const MSG::Level level=MSG::ALWAYS) const
long printProps (const MSG::Level level=MSG::ALWAYS) const
void registerCondition (const std::string &condition, StatusCode(CallerClass::*mf)()=NULL)
void registerCondition (const std::string &condition, CondType *&condPtrDest, StatusCode(CallerClass::*mf)()=NULL)
void registerCondition (char *condition, StatusCode(CallerClass::*mf)()=NULL)
void registerCondition (TargetClass *condition, StatusCode(CallerClass::*mf)()=NULL)
StatusCode runUpdate ()
TransientFastContainer< T > * getFastContainer (const std::string &location, typename TransientFastContainer< T >::size_type initial=0)
StatusCode release (const IInterface *interface) const
unsigned long release ()
const std::string & context () const
const std::string & rootInTES () const
double globalTimeOffset () const
virtual StatusCode sysStart ()
virtual StatusCode sysReinitialize ()
virtual StatusCode sysRestart ()
virtual StatusCode sysStop ()
virtual StatusCode sysBeginRun ()
virtual StatusCode sysEndRun ()
virtual const std::string & name () const
virtual const std::string & version () const
virtual StatusCode configure ()
virtual StatusCode terminate ()
virtual StatusCode start ()
virtual StatusCode stop ()
virtual StatusCode reinitialize ()
virtual StatusCode restart ()
virtual bool isExecuted () const
virtual void setExecuted (bool state)
virtual void resetExecuted ()
virtual StatusCode beginRun ()
virtual StatusCode endRun ()
virtual Gaudi::StateMachine::State FSMState () const
virtual Gaudi::StateMachine::State targetFSMState () const
virtual bool isEnabled () const
virtual bool filterPassed () const
virtual void setFilterPassed (bool state)
StatusCode service (const std::string &name, T *&psvc, bool createIf=true) const
StatusCode service (const std::string &svcType, const std::string &svcName, T *&psvc) const
void setOutputLevel (int level)
IAuditorSvcauditorSvc () const
IChronoStatSvcchronoSvc () const
IChronoStatSvcchronoStatService () const
IDataProviderSvcdetSvc () const
IDataProviderSvcdetDataService () const
IConversionSvcdetCnvSvc () const
IConversionSvcdetDataCnvService () const
IDataProviderSvceventSvc () const
IDataProviderSvcevtSvc () const
IDataProviderSvceventDataService () const
IConversionSvceventCnvSvc () const
IConversionSvceventDataCnvService () const
IHistogramSvchistoSvc () const
IHistogramSvchistogramDataService () const
IMessageSvcmsgSvc () const
IMessageSvcmessageService () const
INTupleSvcntupleSvc () const
INTupleSvcntupleService () const
IRndmGenSvcrandSvc () const
IToolSvctoolSvc () const
IExceptionSvcexceptionSvc () const
ISvcLocatorserviceLocator () const
ISvcLocatorsvcLoc () const
StatusCode createSubAlgorithm (const std::string &type, const std::string &name, Algorithm *&pSubAlg)
std::vector< Algorithm * > * subAlgorithms () const
virtual StatusCode setProperty (const Property &p)
virtual StatusCode setProperty (const std::string &s)
virtual StatusCode setProperty (const std::string &n, const std::string &v)
StatusCode setProperty (const std::string &name, const TYPE &value)
virtual StatusCode getProperty (Property *p) const
virtual const PropertygetProperty (const std::string &name) const
virtual StatusCode getProperty (const std::string &n, std::string &v) const
virtual const std::vector<
Property * > & 
getProperties () const
StatusCode setProperties ()
PropertydeclareProperty (const std::string &name, T &property, const std::string &doc="none") const
PropertydeclareRemoteProperty (const std::string &name, IProperty *rsvc, const std::string &rname="") const
IMonitorSvcmonitorSvc () const
void declareInfo (const std::string &name, const T &var, const std::string &desc) const
void declareInfo (const std::string &name, const std::string &format, const void *var, int size, const std::string &desc) const
unsigned long addRef ()
StatusCode queryInterface (const InterfaceID &riid, void **)

Static Public Member Functions

static const InterfaceIDinterfaceID ()
static const InterfaceIDinterfaceID ()
static const InterfaceIDinterfaceID ()

Public Attributes

 SUCCESS
 NO_INTERFACE
 VERSMISMATCH
 LAST_ERROR

Protected Types

typedef std::map< std::string,
StatEntity
Statistics
typedef std::map< std::string,
unsigned int > 
Counter
typedef std::vector< IAlgTool * > AlgTools
typedef std::pair< IInterface *,
std::string > 
ServiceEntry
typedef std::vector< ServiceEntryServices

Protected Member Functions

DayaBay::SimHeaderMakeHeaderObject ()
void InitializeHeader (DayaBay::HeaderObject *header)
void AppendInputHeader (const DayaBay::HeaderObject *header) const
StatusCode releaseTool (const IAlgTool *tool) const
StatusCode releaseSvc (const IInterface *svc) const
bool isInitialized () const
bool isFinalized () const
int outputLevel () const
IntegerPropertyoutputLevelProperty ()
void initOutputLevel (Property &prop)

Protected Attributes

DayaBay::HeaderObjectm_headerObject
bool m_pullMode
std::string m_location

Static Protected Attributes

static const bool IgnoreRootInTES
static const bool UseRootInTES

Private Attributes

std::string m_genLocation
 Property GenLocation - location in TES where the input GenHeader is to be found.
IGiGaSvcm_giga
IHistoryKeeperm_historyKeeper
INeutronCaptureInfom_capinfo

Detailed Description

Pull the G4Event out of GiGa, convert it to data model objects.

bv@bnl.gov Thu Jan 3 16:12:24 2008

Definition at line 28 of file DsPullEvent.h.


Member Typedef Documentation

typedef std::map< std::string, StatEntity > DybAlgorithm< DayaBay::SimHeader >::Statistics [protected, inherited]

Reimplemented from DybBaseAlg.

typedef std::map< std::string, unsigned int > DybAlgorithm< DayaBay::SimHeader >::Counter [protected, inherited]

Reimplemented from DybBaseAlg.

typedef std::vector< IAlgTool * > DybAlgorithm< DayaBay::SimHeader >::AlgTools [protected, inherited]

Reimplemented from DybBaseAlg.

typedef std::pair< IInterface *, std::string > DybAlgorithm< DayaBay::SimHeader >::ServiceEntry [protected, inherited]

Reimplemented from DybBaseAlg.

typedef std::vector< ServiceEntry > DybAlgorithm< DayaBay::SimHeader >::Services [protected, inherited]

Reimplemented from DybBaseAlg.


Constructor & Destructor Documentation

DsPullEvent::DsPullEvent ( const std::string &  name,
ISvcLocator pSvcLocator 
)

Definition at line 16 of file DsPullEvent.cc.

00017     : DybAlgorithm<DayaBay::SimHeader>(name,pSvcLocator)
00018     , m_giga(0)
00019     , m_historyKeeper(0)
00020       //, m_converter(0)
00021 {
00022     declareProperty("GenLocation",m_genLocation=DayaBay::GenHeaderLocation::Default,
00023                     "Location in the TES where the input GenHeader is to be found.");
00024 }

DsPullEvent::~DsPullEvent (  )  [virtual]

Definition at line 26 of file DsPullEvent.cc.

00027 {
00028 }


Member Function Documentation

StatusCode DsPullEvent::initialize (  )  [virtual]

Reimplemented from DybAlgorithm< DayaBay::SimHeader >.

Definition at line 30 of file DsPullEvent.cc.

00031 {
00032     m_giga = svc<IGiGaSvc>("GiGa",true);
00033     m_historyKeeper = svc<IHistoryKeeper>("HistoryKeeper",true);
00034 
00035     m_capinfo = tool<INeutronCaptureInfo>("G4DhNeutronCaptureInfoTool");
00036 
00037     return StatusCode::SUCCESS;
00038 }

StatusCode DsPullEvent::execute (  )  [virtual]

Reimplemented from DybAlgorithm< DayaBay::SimHeader >.

Definition at line 40 of file DsPullEvent.cc.

00041 {
00042     DayaBay::SimHeader* header = MakeHeaderObject();
00043 
00044     // Just pass through GenHeader's timestamp.  This also causes
00045     // GenHeader to be registered as input, something that would
00046     // normally just happen if DsPushKine and DsPullEvent were the
00047     // same algorithm.
00048     DayaBay::GenHeader* gen_header = getTES<DayaBay::GenHeader>(m_genLocation);
00049     header->setTimeStamp(gen_header->timeStamp());
00050 
00052     // Primary event vertices.
00053     const G4Event* g4event = 0;
00054     m_giga->retrieveEvent(g4event);
00055     if (!g4event) {
00056         error() << "No G4Event!" << endreq;
00057         return StatusCode::FAILURE;
00058     }
00059 
00060     // reset Capture
00061     G4DhNeutronCapture capture;
00062     m_capinfo->addCapture(capture);
00063 
00064     int nverts = g4event->GetNumberOfPrimaryVertex();
00065     if( nverts == 0 ) {
00066         warning() << "The g4event has zero primary vertices!" << endreq;
00067         return StatusCode::SUCCESS;
00068     }
00069 
00070 
00071     debug() << "Pulled event with " << nverts 
00072            << " primary vertices, event id:" << g4event->GetEventID() << endreq;
00073     G4PrimaryVertex* g4vtx = g4event->GetPrimaryVertex(0);
00074     while (g4vtx) {
00075         debug() << "\n\tat (" << g4vtx->GetX0() << "," << g4vtx->GetY0() << "," << g4vtx->GetZ0() << ")";
00076         g4vtx = g4vtx->GetNext();
00077         break;
00078     }
00079     debug() << endreq;
00080 
00082     // particle histories.
00083     // Do this first so we can use it below.
00084     DayaBay::SimParticleHistory* history =0;
00085     m_historyKeeper->ClaimCurrentHistory(history); // This takes ownership from the Keeper.
00086     header->setParticleHistory(history);
00087 
00089     // Unobservable Statistics
00090     DayaBay::SimUnobservableStatisticsHeader* unobs =0;
00091     m_historyKeeper->ClaimCurrentUnobservable(unobs); // This takes ownership from the Keeper.
00092     header->setUnobservableStatistics(unobs);
00093 
00095     // Hit collections.
00096     G4HCofThisEvent* hcs = g4event->GetHCofThisEvent();
00097     if (!hcs) {
00098         warning() << "No HitCollections in this event" << endreq;
00099         return StatusCode::SUCCESS;
00100     }
00101     int nhc = hcs->GetNumberOfCollections();
00102     if (!nhc) {
00103         warning() << "Number of HitCollections is zero" << endreq;
00104         return StatusCode::SUCCESS;
00105     }
00106     debug () << "# HitCollections = " << nhc << endreq;
00107 
00108     // introduce the headers to each other
00109     DayaBay::SimHitHeader* hit_header = new DayaBay::SimHitHeader(header);
00110     header->setHits(hit_header);
00111 
00112     double earliestTime = 0;
00113     double latestTime = 0;
00114     Context context;
00115     context.SetSimFlag(SimFlag::kMC);
00116     bool firstDetector = true;
00117     int hitcount=0;  // deal with no hits situation
00118 
00119     for (int ihc=0; ihc<nhc; ++ihc) {
00120         G4DhHitCollection* g4hc = dynamic_cast<G4DhHitCollection*>(hcs->GetHC(ihc));
00121         if (!g4hc) {
00122             error() << "Failed to get hit collection #" << ihc << endreq;
00123             return StatusCode::FAILURE;
00124         }
00125 
00126         // DetSim produces hit collections even for unsimulated detectors
00127         size_t nhits = g4hc->GetSize();
00128         hitcount+=nhits;
00129         if (!nhits) continue;
00130 
00131         bool firstHit = true;
00132         DayaBay::SimHitCollection::hit_container hits;
00133         DayaBay::Detector detector;
00134         DayaBay::SimHitCollection* shc = 
00135           new DayaBay::SimHitCollection(hit_header,detector,hits);
00136         for (size_t ihit=0; ihit<nhits; ++ihit) {
00137           DayaBay::SimHit* simhit = (*g4hc)[ihit]->get();
00138           if(history) {
00139             int trackid = (*g4hc)[ihit]->trackId();          
00140             simhit->setAncestor(history->track(trackid));
00141           }
00142           // Set detector and site using first hit
00143           if(firstHit){ 
00144             detector = DayaBay::Detector(simhit->sensDetId()).siteDetPackedData();
00145             if(firstDetector){
00146               // Keep track of sites/detectors in this simulation for context
00147               context.SetSite(detector.site());
00148               context.SetDetId(detector.detectorId());
00149             }
00150             if(context.GetSite() != detector.site()){
00151               // Simulation contains multiple sites, unset
00152               context.SetSite(Site::kUnknown);
00153             }
00154             if(context.GetDetId() != detector.detectorId()){
00155               // Simulation contains multiple detectors, unset
00156               context.SetDetId(DetectorId::kUnknown);
00157             }
00158           }
00159           // Record earliest/latest simhit
00160           debug() << "Hit Time: " << simhit->hitTime() << endreq;
00161           if((firstHit && firstDetector) || simhit->hitTime() < earliestTime) 
00162             earliestTime = simhit->hitTime();
00163           if((firstHit && firstDetector) || simhit->hitTime() > latestTime) 
00164             latestTime = simhit->hitTime();
00165           firstHit = false;
00166 
00167           simhit->setHc(shc);
00168           hits.push_back(simhit);
00169         }
00170         firstDetector = false;
00171 
00172         shc->setDetector(detector);
00173         shc->setCollection(hits);
00174         debug() << "Adding " << detector.detName() << " hits (" 
00175                 << shc->collection().size() << ") to header." << endreq;
00176         hit_header->addHitCollection(shc);
00177     }
00178 
00179     // Set header time range based on hit times
00180     debug() << "Header Time sec, nanosec: " << header->timeStamp().GetSec()
00181             << "  " << header->timeStamp().GetNanoSec() << endreq;
00182     debug() << "Earliest Hit: " << earliestTime << endreq;
00183     debug() << "Latest Hit: " << latestTime << endreq;
00184     TimeStamp earliestTS(header->timeStamp());
00185     TimeStamp latestTS(header->timeStamp());
00186     earliestTS.Add(earliestTime * 1e-9);
00187     latestTS.Add(latestTime * 1e-9);
00188     debug() << "Earliest Time sec, nanosec: " << earliestTS.GetSec()
00189             << "  " << earliestTS.GetNanoSec() << endreq;
00190     debug() << "Latest Time sec, nanosec: " << latestTS.GetSec()
00191             << "  " << latestTS.GetNanoSec() << endreq;
00192     header->setEarliest(earliestTS);
00193     header->setLatest(latestTS);
00194     debug() << "Earliest Time sec, nanosec: " << header->earliest().GetSec()
00195             << "  " << header->earliest().GetNanoSec() << endreq;
00196     debug() << "Latest Time sec, nanosec: " << header->latest().GetSec()
00197             << "  " << header->latest().GetNanoSec() << endreq;
00198     context.SetTimeStamp(gen_header->timeStamp());
00199     header->setContext(context);
00200 
00201     if(hitcount==0) {  // when there is no hit, set time stamp to genheader's earliest() to save causality
00202       header->setTimeStamp(gen_header->earliest());
00203       header->setEarliest(gen_header->earliest());
00204       header->setLatest(gen_header->earliest());
00205     }
00206 
00207     return StatusCode::SUCCESS;
00208 }

StatusCode DsPullEvent::finalize (  )  [virtual]

Reimplemented from DybAlgorithm< DayaBay::SimHeader >.

Definition at line 210 of file DsPullEvent.cc.

00211 {
00212     return StatusCode::SUCCESS;
00213 }

DayaBay::SimHeader * DybAlgorithm< DayaBay::SimHeader >::GetCurrentHeaderObject (  )  const [inherited]

virtual StatusCode DybAlgorithm< DayaBay::SimHeader >::sysInitialize (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::SimHeader >::sysExecute (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::SimHeader >::preExecute (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::SimHeader >::postExecute (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::SimHeader >::sysFinalize (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

IDataProviderSvc * DybAlgorithm< DayaBay::SimHeader >::arcSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

void DybAlgorithm< DayaBay::SimHeader >::putTES ( DataObject obj,
std::string  location 
) const [inherited]

Reimplemented from DybBaseAlg.

TYPE * DybAlgorithm< DayaBay::SimHeader >::getTES ( std::string  location  )  const [inherited]

Reimplemented from DybBaseAlg.

TYPE * DybAlgorithm< DayaBay::SimHeader >::getAES ( std::string  location,
int  index 
) const [inherited]

Reimplemented from DybBaseAlg.

std::vector< DataObject * > DybAlgorithm< DayaBay::SimHeader >::getAEScollection ( std::string  location  )  const [inherited]

Reimplemented from DybBaseAlg.

int DybAlgorithm< DayaBay::SimHeader >::getExecNum (  )  [inherited]

Reimplemented from DybBaseAlg.

std::string DybAlgorithm< DayaBay::SimHeader >::Location (  )  const [inherited]

Reimplemented from DybBaseAlg.

void DybAlgorithm< DayaBay::SimHeader >::put ( IDataProviderSvc svc,
DataObject object,
const std::string &  address,
const bool  useRootInTES = true 
) const [inherited]

Reimplemented from DybBaseAlg.

void DybAlgorithm< DayaBay::SimHeader >::put ( DataObject object,
const std::string &  address,
const bool  useRootInTES = true 
) const [inherited]

Reimplemented from DybBaseAlg.

Gaudi::Utils::GetData< TYPE >::return_type DybAlgorithm< DayaBay::SimHeader >::get ( IDataProviderSvc svc,
const std::string &  location,
const bool  useRootInTES = true 
) const [inherited]

Reimplemented from DybBaseAlg.

Gaudi::Utils::GetData< TYPE >::return_type DybAlgorithm< DayaBay::SimHeader >::get ( const std::string &  location,
const bool  useRootInTES = true 
) const [inherited]

Reimplemented from DybBaseAlg.

TYPE * DybAlgorithm< DayaBay::SimHeader >::getDet ( IDataProviderSvc svc,
const std::string &  location 
) const [inherited]

Reimplemented from DybBaseAlg.

TYPE * DybAlgorithm< DayaBay::SimHeader >::getDet ( const std::string &  location  )  const [inherited]

Reimplemented from DybBaseAlg.

bool DybAlgorithm< DayaBay::SimHeader >::exist ( IDataProviderSvc svc,
const std::string &  location,
const bool  useRootInTES = true 
) const [inherited]

Reimplemented from DybBaseAlg.

bool DybAlgorithm< DayaBay::SimHeader >::exist ( const std::string &  location,
const bool  useRootInTES = true 
) const [inherited]

Reimplemented from DybBaseAlg.

bool DybAlgorithm< DayaBay::SimHeader >::existDet ( IDataProviderSvc svc,
const std::string &  location 
) const [inherited]

Reimplemented from DybBaseAlg.

bool DybAlgorithm< DayaBay::SimHeader >::existDet ( const std::string &  location  )  const [inherited]

Reimplemented from DybBaseAlg.

TYPE * DybAlgorithm< DayaBay::SimHeader >::getOrCreate ( IDataProviderSvc svc,
const std::string &  location,
const bool  useRootInTES = true 
) const [inherited]

Reimplemented from DybBaseAlg.

TYPE * DybAlgorithm< DayaBay::SimHeader >::getOrCreate ( const std::string &  location,
const bool  useRootInTES = true 
) const [inherited]

Reimplemented from DybBaseAlg.

bool DybAlgorithm< DayaBay::SimHeader >::registerContext (  )  const [inherited]

Reimplemented from DybBaseAlg.

INTupleSvc * DybAlgorithm< DayaBay::SimHeader >::evtColSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

IAlgContextSvc * DybAlgorithm< DayaBay::SimHeader >::contextSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

TOOL * DybAlgorithm< DayaBay::SimHeader >::tool ( const std::string &  type,
const std::string &  name,
const IInterface parent = 0,
bool  create = true 
) const [inherited]

Reimplemented from DybBaseAlg.

TOOL * DybAlgorithm< DayaBay::SimHeader >::tool ( const std::string &  type,
const IInterface parent = 0,
bool  create = true 
) const [inherited]

Reimplemented from DybBaseAlg.

SERVICE * DybAlgorithm< DayaBay::SimHeader >::svc ( const std::string &  name,
const bool  create = true 
) const [inherited]

Reimplemented from DybBaseAlg.

IUpdateManagerSvc * DybAlgorithm< DayaBay::SimHeader >::updMgrSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

IDataProviderSvc * DybAlgorithm< DayaBay::SimHeader >::fastContainersSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::SimHeader >::Error ( const std::string &  msg,
const StatusCode  st = StatusCode::FAILURE,
const size_t  mx = 10 
) const [inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::SimHeader >::Warning ( const std::string &  msg,
const StatusCode  st = StatusCode::FAILURE,
const size_t  mx = 10 
) const [inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::SimHeader >::Print ( const std::string &  msg,
const StatusCode  st = StatusCode::SUCCESS,
const MSG::Level  lev = MSG::INFO 
) const [inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::SimHeader >::Assert ( const bool  ok,
const std::string &  message = "",
const StatusCode  sc = StatusCode(StatusCode::FAILURE, true) 
) const [inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::SimHeader >::Assert ( const bool  ok,
const char *  message,
const StatusCode  sc = StatusCode(StatusCode::FAILURE, true) 
) const [inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::SimHeader >::Exception ( const std::string &  msg,
const GaudiException exc,
const StatusCode  sc = StatusCode(StatusCode::FAILURE, true) 
) const [inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::SimHeader >::Exception ( const std::string &  msg,
const std::exception &  exc,
const StatusCode  sc = StatusCode(StatusCode::FAILURE, true) 
) const [inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::SimHeader >::Exception ( const std::string &  msg = "no message",
const StatusCode  sc = StatusCode(StatusCode::FAILURE, true) 
) const [inherited]

Reimplemented from DybBaseAlg.

MsgStream & DybAlgorithm< DayaBay::SimHeader >::msgStream ( const MSG::Level  level  )  const [inherited]

Reimplemented from DybBaseAlg.

MsgStream & DybAlgorithm< DayaBay::SimHeader >::always (  )  const [inherited]

Reimplemented from DybBaseAlg.

MsgStream & DybAlgorithm< DayaBay::SimHeader >::fatal (  )  const [inherited]

Reimplemented from DybBaseAlg.

MsgStream & DybAlgorithm< DayaBay::SimHeader >::err (  )  const [inherited]

Reimplemented from DybBaseAlg.

MsgStream & DybAlgorithm< DayaBay::SimHeader >::error (  )  const [inherited]

Reimplemented from DybBaseAlg.

MsgStream & DybAlgorithm< DayaBay::SimHeader >::warning (  )  const [inherited]

Reimplemented from DybBaseAlg.

MsgStream & DybAlgorithm< DayaBay::SimHeader >::info (  )  const [inherited]

Reimplemented from DybBaseAlg.

MsgStream & DybAlgorithm< DayaBay::SimHeader >::debug (  )  const [inherited]

Reimplemented from DybBaseAlg.

MsgStream & DybAlgorithm< DayaBay::SimHeader >::verbose (  )  const [inherited]

Reimplemented from DybBaseAlg.

MsgStream & DybAlgorithm< DayaBay::SimHeader >::msg (  )  const [inherited]

Reimplemented from DybBaseAlg.

const Statistics & DybAlgorithm< DayaBay::SimHeader >::counters (  )  const [inherited]

Reimplemented from DybBaseAlg.

StatEntity & DybAlgorithm< DayaBay::SimHeader >::counter ( const std::string &  tag  )  const [inherited]

Reimplemented from DybBaseAlg.

MSG::Level DybAlgorithm< DayaBay::SimHeader >::msgLevel (  )  const [inherited]

Reimplemented from DybBaseAlg.

bool DybAlgorithm< DayaBay::SimHeader >::msgLevel ( const MSG::Level  level  )  const [inherited]

Reimplemented from DybBaseAlg.

void DybAlgorithm< DayaBay::SimHeader >::resetMsgStream (  )  const [inherited]

Reimplemented from DybBaseAlg.

bool DybAlgorithm< DayaBay::SimHeader >::typePrint (  )  const [inherited]

Reimplemented from DybBaseAlg.

bool DybAlgorithm< DayaBay::SimHeader >::propsPrint (  )  const [inherited]

Reimplemented from DybBaseAlg.

bool DybAlgorithm< DayaBay::SimHeader >::statPrint (  )  const [inherited]

Reimplemented from DybBaseAlg.

bool DybAlgorithm< DayaBay::SimHeader >::errorsPrint (  )  const [inherited]

Reimplemented from DybBaseAlg.

long DybAlgorithm< DayaBay::SimHeader >::printStat ( const MSG::Level  level = MSG::ALWAYS  )  const [inherited]

Reimplemented from DybBaseAlg.

long DybAlgorithm< DayaBay::SimHeader >::printErrors ( const MSG::Level  level = MSG::ALWAYS  )  const [inherited]

Reimplemented from DybBaseAlg.

long DybAlgorithm< DayaBay::SimHeader >::printProps ( const MSG::Level  level = MSG::ALWAYS  )  const [inherited]

Reimplemented from DybBaseAlg.

void DybAlgorithm< DayaBay::SimHeader >::registerCondition ( const std::string &  condition,
StatusCode(CallerClass::*)()  mf = NULL 
) [inherited]

Reimplemented from DybBaseAlg.

void DybAlgorithm< DayaBay::SimHeader >::registerCondition ( const std::string &  condition,
CondType *&  condPtrDest,
StatusCode(CallerClass::*)()  mf = NULL 
) [inherited]

Reimplemented from DybBaseAlg.

void DybAlgorithm< DayaBay::SimHeader >::registerCondition ( char *  condition,
StatusCode(CallerClass::*)()  mf = NULL 
) [inherited]

Reimplemented from DybBaseAlg.

void DybAlgorithm< DayaBay::SimHeader >::registerCondition ( TargetClass *  condition,
StatusCode(CallerClass::*)()  mf = NULL 
) [inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::SimHeader >::runUpdate (  )  [inherited]

Reimplemented from DybBaseAlg.

TransientFastContainer< T > * DybAlgorithm< DayaBay::SimHeader >::getFastContainer ( const std::string &  location,
typename TransientFastContainer< T >::size_type  initial = 0 
) [inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::SimHeader >::release ( const IInterface interface  )  const [inherited]

Reimplemented from DybBaseAlg.

unsigned long DybAlgorithm< DayaBay::SimHeader >::release (  )  [inherited]

Reimplemented from DybBaseAlg.

const std::string & DybAlgorithm< DayaBay::SimHeader >::context (  )  const [inherited]

Reimplemented from DybBaseAlg.

const std::string & DybAlgorithm< DayaBay::SimHeader >::rootInTES (  )  const [inherited]

Reimplemented from DybBaseAlg.

double DybAlgorithm< DayaBay::SimHeader >::globalTimeOffset (  )  const [inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::SimHeader >::sysStart (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::SimHeader >::sysReinitialize (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::SimHeader >::sysRestart (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::SimHeader >::sysStop (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::SimHeader >::sysBeginRun (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::SimHeader >::sysEndRun (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual const std::string & DybAlgorithm< DayaBay::SimHeader >::name (  )  const [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual const std::string & DybAlgorithm< DayaBay::SimHeader >::version (  )  const [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::SimHeader >::configure (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::SimHeader >::terminate (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::SimHeader >::start (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::SimHeader >::stop (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::SimHeader >::reinitialize (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::SimHeader >::restart (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual bool DybAlgorithm< DayaBay::SimHeader >::isExecuted (  )  const [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual void DybAlgorithm< DayaBay::SimHeader >::setExecuted ( bool  state  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual void DybAlgorithm< DayaBay::SimHeader >::resetExecuted (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::SimHeader >::beginRun (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::SimHeader >::endRun (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual Gaudi::StateMachine::State DybAlgorithm< DayaBay::SimHeader >::FSMState (  )  const [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual Gaudi::StateMachine::State DybAlgorithm< DayaBay::SimHeader >::targetFSMState (  )  const [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual bool DybAlgorithm< DayaBay::SimHeader >::isEnabled (  )  const [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual bool DybAlgorithm< DayaBay::SimHeader >::filterPassed (  )  const [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual void DybAlgorithm< DayaBay::SimHeader >::setFilterPassed ( bool  state  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::SimHeader >::service ( const std::string &  name,
T *&  psvc,
bool  createIf = true 
) const [inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::SimHeader >::service ( const std::string &  svcType,
const std::string &  svcName,
T *&  psvc 
) const [inherited]

Reimplemented from DybBaseAlg.

void DybAlgorithm< DayaBay::SimHeader >::setOutputLevel ( int  level  )  [inherited]

Reimplemented from DybBaseAlg.

IAuditorSvc * DybAlgorithm< DayaBay::SimHeader >::auditorSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

IChronoStatSvc * DybAlgorithm< DayaBay::SimHeader >::chronoSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

IChronoStatSvc * DybAlgorithm< DayaBay::SimHeader >::chronoStatService (  )  const [inherited]

Reimplemented from DybBaseAlg.

IDataProviderSvc * DybAlgorithm< DayaBay::SimHeader >::detSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

IDataProviderSvc * DybAlgorithm< DayaBay::SimHeader >::detDataService (  )  const [inherited]

Reimplemented from DybBaseAlg.

IConversionSvc * DybAlgorithm< DayaBay::SimHeader >::detCnvSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

IConversionSvc * DybAlgorithm< DayaBay::SimHeader >::detDataCnvService (  )  const [inherited]

Reimplemented from DybBaseAlg.

IDataProviderSvc * DybAlgorithm< DayaBay::SimHeader >::eventSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

IDataProviderSvc * DybAlgorithm< DayaBay::SimHeader >::evtSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

IDataProviderSvc * DybAlgorithm< DayaBay::SimHeader >::eventDataService (  )  const [inherited]

Reimplemented from DybBaseAlg.

IConversionSvc * DybAlgorithm< DayaBay::SimHeader >::eventCnvSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

IConversionSvc * DybAlgorithm< DayaBay::SimHeader >::eventDataCnvService (  )  const [inherited]

Reimplemented from DybBaseAlg.

IHistogramSvc * DybAlgorithm< DayaBay::SimHeader >::histoSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

IHistogramSvc * DybAlgorithm< DayaBay::SimHeader >::histogramDataService (  )  const [inherited]

Reimplemented from DybBaseAlg.

IMessageSvc * DybAlgorithm< DayaBay::SimHeader >::msgSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

IMessageSvc * DybAlgorithm< DayaBay::SimHeader >::messageService (  )  const [inherited]

Reimplemented from DybBaseAlg.

INTupleSvc * DybAlgorithm< DayaBay::SimHeader >::ntupleSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

INTupleSvc * DybAlgorithm< DayaBay::SimHeader >::ntupleService (  )  const [inherited]

Reimplemented from DybBaseAlg.

IRndmGenSvc * DybAlgorithm< DayaBay::SimHeader >::randSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

IToolSvc * DybAlgorithm< DayaBay::SimHeader >::toolSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

IExceptionSvc * DybAlgorithm< DayaBay::SimHeader >::exceptionSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

ISvcLocator * DybAlgorithm< DayaBay::SimHeader >::serviceLocator (  )  const [inherited]

Reimplemented from DybBaseAlg.

ISvcLocator * DybAlgorithm< DayaBay::SimHeader >::svcLoc (  )  const [inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::SimHeader >::createSubAlgorithm ( const std::string &  type,
const std::string &  name,
Algorithm *&  pSubAlg 
) [inherited]

Reimplemented from DybBaseAlg.

std::vector< Algorithm * > * DybAlgorithm< DayaBay::SimHeader >::subAlgorithms (  )  const [inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::SimHeader >::setProperty ( const Property p  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::SimHeader >::setProperty ( const std::string &  s  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::SimHeader >::setProperty ( const std::string &  n,
const std::string &  v 
) [virtual, inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::SimHeader >::setProperty ( const std::string &  name,
const TYPE &  value 
) [inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::SimHeader >::getProperty ( Property p  )  const [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual const Property & DybAlgorithm< DayaBay::SimHeader >::getProperty ( const std::string &  name  )  const [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::SimHeader >::getProperty ( const std::string &  n,
std::string &  v 
) const [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual const std::vector< Property * > & DybAlgorithm< DayaBay::SimHeader >::getProperties (  )  const [virtual, inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::SimHeader >::setProperties (  )  [inherited]

Reimplemented from DybBaseAlg.

Property * DybAlgorithm< DayaBay::SimHeader >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc = "none" 
) const [inherited]

Reimplemented from DybBaseAlg.

Property * DybAlgorithm< DayaBay::SimHeader >::declareRemoteProperty ( const std::string &  name,
IProperty rsvc,
const std::string &  rname = "" 
) const [inherited]

Reimplemented from DybBaseAlg.

IMonitorSvc * DybAlgorithm< DayaBay::SimHeader >::monitorSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

void DybAlgorithm< DayaBay::SimHeader >::declareInfo ( const std::string &  name,
const T &  var,
const std::string &  desc 
) const [inherited]

Reimplemented from DybBaseAlg.

void DybAlgorithm< DayaBay::SimHeader >::declareInfo ( const std::string &  name,
const std::string &  format,
const void *  var,
int  size,
const std::string &  desc 
) const [inherited]

Reimplemented from DybBaseAlg.

unsigned long DybAlgorithm< DayaBay::SimHeader >::addRef (  )  [inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::SimHeader >::queryInterface ( const InterfaceID riid,
void **   
) [inherited]

Reimplemented from DybBaseAlg.

static const InterfaceID & DybAlgorithm< DayaBay::SimHeader >::interfaceID (  )  [static, inherited]

Reimplemented from DybBaseAlg.

static const InterfaceID & DybAlgorithm< DayaBay::SimHeader >::interfaceID (  )  [static, inherited]

Reimplemented from DybBaseAlg.

static const InterfaceID & DybAlgorithm< DayaBay::SimHeader >::interfaceID (  )  [static, inherited]

Reimplemented from DybBaseAlg.

DayaBay::SimHeader * DybAlgorithm< DayaBay::SimHeader >::MakeHeaderObject (  )  [protected, inherited]

void DybAlgorithm< DayaBay::SimHeader >::InitializeHeader ( DayaBay::HeaderObject header  )  [protected, inherited]

Reimplemented from DybBaseAlg.

void DybAlgorithm< DayaBay::SimHeader >::AppendInputHeader ( const DayaBay::HeaderObject header  )  const [protected, inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::SimHeader >::releaseTool ( const IAlgTool tool  )  const [protected, inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::SimHeader >::releaseSvc ( const IInterface svc  )  const [protected, inherited]

Reimplemented from DybBaseAlg.

bool DybAlgorithm< DayaBay::SimHeader >::isInitialized (  )  const [protected, inherited]

Reimplemented from DybBaseAlg.

bool DybAlgorithm< DayaBay::SimHeader >::isFinalized (  )  const [protected, inherited]

Reimplemented from DybBaseAlg.

int DybAlgorithm< DayaBay::SimHeader >::outputLevel (  )  const [protected, inherited]

Reimplemented from DybBaseAlg.

IntegerProperty & DybAlgorithm< DayaBay::SimHeader >::outputLevelProperty (  )  [protected, inherited]

Reimplemented from DybBaseAlg.

void DybAlgorithm< DayaBay::SimHeader >::initOutputLevel ( Property prop  )  [protected, inherited]

Reimplemented from DybBaseAlg.


Member Data Documentation

std::string DsPullEvent::m_genLocation [private]

Property GenLocation - location in TES where the input GenHeader is to be found.

Default is DayaBay::GenHeader::Default

Definition at line 46 of file DsPullEvent.h.

IGiGaSvc* DsPullEvent::m_giga [private]

Definition at line 48 of file DsPullEvent.h.

IHistoryKeeper* DsPullEvent::m_historyKeeper [private]

Definition at line 49 of file DsPullEvent.h.

INeutronCaptureInfo* DsPullEvent::m_capinfo [private]

Definition at line 51 of file DsPullEvent.h.

DybAlgorithm< DayaBay::SimHeader >::SUCCESS [inherited]

Reimplemented from DybBaseAlg.

DybAlgorithm< DayaBay::SimHeader >::NO_INTERFACE [inherited]

Reimplemented from DybBaseAlg.

DybAlgorithm< DayaBay::SimHeader >::VERSMISMATCH [inherited]

Reimplemented from DybBaseAlg.

DybAlgorithm< DayaBay::SimHeader >::LAST_ERROR [inherited]

Reimplemented from DybBaseAlg.

DayaBay::HeaderObject * DybAlgorithm< DayaBay::SimHeader >::m_headerObject [protected, inherited]

Reimplemented from DybBaseAlg.

bool DybAlgorithm< DayaBay::SimHeader >::m_pullMode [protected, inherited]

Reimplemented from DybBaseAlg.

std::string DybAlgorithm< DayaBay::SimHeader >::m_location [protected, inherited]

Reimplemented from DybBaseAlg.

const bool DybAlgorithm< DayaBay::SimHeader >::IgnoreRootInTES [static, protected, inherited]

Reimplemented from DybBaseAlg.

const bool DybAlgorithm< DayaBay::SimHeader >::UseRootInTES [static, protected, inherited]

Reimplemented from DybBaseAlg.


The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:53:29 2011 for DetSim by doxygen 1.4.7