#include <SimSnarlHeader.h>
Inheritance diagram for SimSnarlHeader:

Public Member Functions | |
| SimSnarlHeader () | |
| SimSnarlHeader (const VldContext &vldc, Int_t run, Short_t subrun, Short_t runtype, UInt_t errcode, Int_t snarl, UInt_t trigsrc, Int_t timeframe, Int_t spilltype, const VldTimeStamp &mcGenTime, std::string &codename, std::string &hostname) | |
| virtual | ~SimSnarlHeader () |
| virtual void | Print (Option_t *option="") const |
| virtual std::ostream & | Print (std::ostream &os) const |
| const VldTimeStamp & | GetMcGenTime () const |
| const std::string & | GetMcGenCodename () const |
| const std::string & | GetMcGenHostname () const |
Static Public Member Functions | |
| std::string | TrimCodename (const std::string &cvsname) |
Private Attributes | |
| VldTimeStamp | fMcGenTime |
| std::string | fMcGenCodename |
| std::string | fMcGenHostname |
|
|
Definition at line 26 of file SimSnarlHeader.h. References fMcGenTime. 00026 : fMcGenTime(0,0) {} // necessary for streamer io
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 27 of file SimSnarlHeader.h. References fMcGenCodename, fMcGenHostname, fMcGenTime, hostname, and run(). 00032 : RecPhysicsHeader(vldc,run,subrun,runtype,errcode,snarl,trigsrc, 00033 timeframe,spilltype), fMcGenTime(mcGenTime), 00034 fMcGenCodename(codename), fMcGenHostname(hostname) { }
|
|
|
Definition at line 35 of file SimSnarlHeader.h. 00035 { }
|
|
|
Definition at line 41 of file SimSnarlHeader.h. Referenced by NtpMCModule::Reco(). 00041 { return fMcGenCodename; }
|
|
|
Definition at line 42 of file SimSnarlHeader.h. Referenced by NtpMCModule::Reco(). 00042 { return fMcGenHostname; }
|
|
|
Definition at line 40 of file SimSnarlHeader.h. Referenced by HepevtModule::Get(), and NtpMCModule::Reco(). 00040 { return fMcGenTime; }
|
|
|
Reimplemented from RecPhysicsHeader. Definition at line 27 of file SimSnarlHeader.cxx. References VldTimeStamp::AsString(), fMcGenCodename, fMcGenTime, and RecPhysicsHeader::Print(). 00027 {
00028 // Purpose: Print header on ostream
00029 // Arguments: os ostream to display on.
00030 // Return: ostream reference.
00031
00032 RecPhysicsHeader::Print(os);
00033 os << std::endl;
00034 os << " Generated: " << fMcGenTime.AsString("sql")
00035 << " using '" << fMcGenCodename << "' on " << fMcGenHostname;
00036 return os;
00037
00038 }
|
|
|
Reimplemented from RecPhysicsHeader. Definition at line 41 of file SimSnarlHeader.cxx. Referenced by RerootToTruthModule::Ana(), HepevtModule::Ana(), and DataUtil::dump_mom(). 00041 {
00042 this -> Print(std::cout);
00043 }
|
|
|
Definition at line 46 of file SimSnarlHeader.cxx. Referenced by ToyMCModule::Get(), PhotonInjector::Get(), MCMerge::Get(), MCInitModule::Get(), LightInjector::Get(), GenieModule::Get(), EvtKinNuModule::Get(), and CustomLightInjector::Get(). 00047 {
00048 // Trim the CVS tag '$Name: $' to just give 'xyzzy'
00049 if (cvsname.substr(0,7) == "$Name: " &&
00050 cvsname.substr(cvsname.size()-2,2) == " $")
00051 return cvsname.substr(7,cvsname.size()-9);
00052 else
00053 return cvsname;
00054 }
|
|
|
Definition at line 49 of file SimSnarlHeader.h. Referenced by Print(), and SimSnarlHeader(). |
|
|
Definition at line 50 of file SimSnarlHeader.h. Referenced by SimSnarlHeader(). |
|
|
Definition at line 48 of file SimSnarlHeader.h. Referenced by Print(), and SimSnarlHeader(). |
1.3.9.1