Inheritance diagram for McKludgeValsTool:


Public Member Functions | |
| McKludgeValsTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| virtual | ~McKludgeValsTool () |
| StatusCode | initialize () |
| StatusCode | calculate () |
| calculate all values; implemented by each XxxValsTool | |
Private Attributes | |
| float | MC_SourceId |
| float | MC_Tkr1DirErr |
| float | MC_Energy |
| float | MC_DirErr |
| float | MC_DirErrN |
| float | MC_DirErrN1 |
| float | MC_XDir |
| float | MC_YDir |
| float | MC_ZDir |
Definition at line 31 of file McKludgeValsTool.cxx.
|
||||||||||||||||
|
Definition at line 68 of file McKludgeValsTool.cxx.
00071 : ValBase( type, name, parent ) 00072 { 00073 // Declare additional interface 00074 declareInterface<IValsTool>(this); 00075 } |
|
|
Definition at line 39 of file McKludgeValsTool.cxx.
00039 { }
|
|
|
calculate all values; implemented by each XxxValsTool
Reimplemented from ValBase. Definition at line 139 of file McKludgeValsTool.cxx. References MC_DirErr, MC_DirErrN, MC_DirErrN1, MC_Energy, MC_SourceId, MC_Tkr1DirErr, MC_XDir, MC_YDir, and MC_ZDir.
00140 {
00141 StatusCode sc = StatusCode::SUCCESS;
00142
00143 MC_SourceId = -1.0f;
00144 MC_Energy = -1.0f;
00145 MC_DirErr = -1.0f;
00146 MC_Tkr1DirErr = -1.0f;
00147 MC_DirErrN = -1.0f;
00148 MC_DirErrN1 = -1.0f;
00149 MC_XDir = -2.0f;
00150 MC_YDir = -2.0f;
00151 MC_ZDir = -2.0f;
00152
00153
00154 return sc;
00155 }
|
|
|
Reimplemented from ValBase. Definition at line 103 of file McKludgeValsTool.cxx. References ValBase::addItem(), ValBase::initialize(), MC_DirErr, MC_DirErrN, MC_DirErrN1, MC_Energy, MC_SourceId, MC_Tkr1DirErr, MC_XDir, MC_YDir, MC_ZDir, and ValBase::zeroVals().
00104 {
00105 StatusCode sc = StatusCode::SUCCESS;
00106
00107 MsgStream log(msgSvc(), name());
00108
00109 if( ValBase::initialize().isFailure()) return StatusCode::FAILURE;
00110
00111 /*
00112 if( serviceLocator() ) {
00113 if( service("ParticlePropertySvc", m_ppsvc, true).isFailure() ) {
00114 log << MSG::ERROR << "Service [ParticlePropertySvc] not found" << endreq;
00115 }
00116 } else {
00117 return StatusCode::FAILURE;
00118 }
00119 */
00120
00121 // load up the map
00122
00123 addItem("McSourceId", &MC_SourceId);
00124 addItem("McEnergy", &MC_Energy);
00125 addItem("McDirErr", &MC_DirErr);
00126 addItem("McTkr1DirErr", &MC_Tkr1DirErr);
00127 addItem("McDirErrN", &MC_DirErrN);
00128 addItem("McDirErrN1", &MC_DirErrN1);
00129 addItem("McXDir", &MC_XDir);
00130 addItem("McYDir", &MC_YDir);
00131 addItem("McZDir", &MC_ZDir);
00132
00133 zeroVals();
00134
00135 return sc;
00136 }
|
|
|
Definition at line 51 of file McKludgeValsTool.cxx. Referenced by calculate(), and initialize(). |
|
|
Definition at line 52 of file McKludgeValsTool.cxx. Referenced by calculate(), and initialize(). |
|
|
Definition at line 53 of file McKludgeValsTool.cxx. Referenced by calculate(), and initialize(). |
|
|
Definition at line 50 of file McKludgeValsTool.cxx. Referenced by calculate(), and initialize(). |
|
|
Definition at line 48 of file McKludgeValsTool.cxx. Referenced by calculate(), and initialize(). |
|
|
Definition at line 49 of file McKludgeValsTool.cxx. Referenced by calculate(), and initialize(). |
|
|
Definition at line 54 of file McKludgeValsTool.cxx. Referenced by calculate(), and initialize(). |
|
|
Definition at line 55 of file McKludgeValsTool.cxx. Referenced by calculate(), and initialize(). |
|
|
Definition at line 56 of file McKludgeValsTool.cxx. Referenced by calculate(), and initialize(). |
1.3.3