#include <NtpMCStdHepHit.h>
Public Member Functions | |
| NtpMCStdHepHit () | |
| virtual | ~NtpMCStdHepHit () |
| virtual bool | IsValid () const |
| virtual std::ostream & | Print (std::ostream &os) const |
| virtual void | Print (const Option_t *option="") const |
Public Attributes | |
| Char_t | planeview |
| Short_t | strip |
| Short_t | plane |
| Float_t | vtx [4] |
| Float_t | mom [4] |
|
|
Definition at line 26 of file NtpMCStdHepHit.cxx. 00026 : planeview(0),strip(-1),plane(-1) { 00027 // Default constructor 00028 00029 for ( int ic = 0; ic < 4; ic++ ) vtx[ic] = 0.; 00030 for ( int ic = 0; ic < 4; ic++ ) mom[ic] = 0.; 00031 00032 }
|
|
|
Definition at line 23 of file NtpMCStdHepHit.h. 00023 {}
|
|
|
Definition at line 26 of file NtpMCStdHepHit.h. References plane. Referenced by NtpMCStdHep::Print(). 00026 { return ( plane >= 0 ) ? true : false; }
|
|
|
Definition at line 51 of file NtpMCStdHepHit.cxx. References Print(). 00051 {
00052 //
00053 // Purpose: Print stdhep hit data in form supported by TObject::Print.
00054 //
00055 // Arguments: option (not used)
00056 //
00057
00058 Print(std::cout);
00059 return;
00060
00061 }
|
|
|
Definition at line 34 of file NtpMCStdHepHit.cxx. References PlaneView::AsString(), mom, plane, planeview, strip, and vtx. Referenced by Print(). 00034 {
00035 //
00036 // Purpose: Print stdhep hit data on ostream.
00037 //
00038
00039 os << setw(4) << setfill('0') << plane
00040 << PlaneView::AsString((PlaneView::PlaneView_t)planeview)
00041 << "t" << setw(3) << setfill('0') << strip
00042 << " v:" << vtx[0] << "," << vtx[1] << "," << vtx[2]
00043 << " t(ns):" << vtx[3]/Munits::nanosecond << " p:"
00044 << mom[0] << "," << mom[1] << "," << mom[2] << " E:"
00045 << mom[3] << endl;
00046
00047 return os;
00048
00049 }
|
|
|
Definition at line 39 of file NtpMCStdHepHit.h. Referenced by NtpMCModule::FillNtpMCStdHep(), NuReco::GetMuonFirstHitEnergy(), NuReco::GetMuonLastHitEnergy(), NtpMCStdHepHit(), and Print(). |
|
|
Definition at line 37 of file NtpMCStdHepHit.h. Referenced by NtpMCModule::FillNtpMCStdHep(), IsValid(), and Print(). |
|
|
Definition at line 35 of file NtpMCStdHepHit.h. Referenced by NtpMCModule::FillNtpMCStdHep(), and Print(). |
|
|
Definition at line 36 of file NtpMCStdHepHit.h. Referenced by NtpMCModule::FillNtpMCStdHep(), and Print(). |
|
|
Definition at line 38 of file NtpMCStdHepHit.h. Referenced by NtpMCModule::FillNtpMCStdHep(), NtpMCStdHepHit(), and Print(). |
1.3.9.1