#include <NtpMCDigiScintHit.h>
Public Member Functions | |
| NtpMCDigiScintHit () | |
| virtual | ~NtpMCDigiScintHit () |
| virtual std::ostream & | Print (std::ostream &os) const |
| virtual void | Print (const Option_t *option="") const |
Public Attributes | |
| UInt_t | index |
| Char_t | planeview |
| UShort_t | strip |
| UShort_t | plane |
| Int_t | trkId |
| Int_t | pId |
| Float_t | t0 |
| Float_t | x0 |
| Float_t | y0 |
| Float_t | z0 |
| Float_t | t1 |
| Float_t | x1 |
| Float_t | y1 |
| Float_t | z1 |
| Float_t | dS |
| Float_t | dE |
| Float_t | pE |
| UShort_t | failbits |
|
|
Definition at line 24 of file NtpMCDigiScintHit.cxx. References LoadMinosPDG(). 00024 : index(0), planeview(0), strip(0), 00025 plane(0), trkId(0), pId(0), t0(0), x0(0), y0(0), z0(0), t1(0), x1(0), y1(0), 00026 z1(0), dS(0), dE(0), pE(0), failbits(0) { 00027 // Default constructor 00028 00029 LoadMinosPDG(); 00030 00031 }
|
|
|
Definition at line 22 of file NtpMCDigiScintHit.h. 00022 {}
|
|
|
Definition at line 63 of file NtpMCDigiScintHit.cxx. References Print(). 00063 {
00064 //
00065 // Purpose: Print digiscinthit data in form supported by TObject::Print.
00066 //
00067 // Arguments: option (not used)
00068 //
00069
00070 Print(std::cout);
00071 return;
00072
00073 }
|
|
|
Definition at line 33 of file NtpMCDigiScintHit.cxx. References PlaneView::AsString(), dE, dS, failbits, index, pE, pId, plane, planeview, strip, t0, t1, trkId, x0, x1, y0, y1, z0, and z1. Referenced by Print(). 00033 {
00034 //
00035 // Purpose: Print digiscinthit data on ostream.
00036 //
00037
00038 os << "NtpMCDigiScintHit::Print" << endl;
00039 const TDatabasePDG& dbpdg = *(TDatabasePDG::Instance());
00040 std::string partname = "???";
00041 if ( dbpdg.GetParticle(pId) ) partname=dbpdg.GetParticle(pId)->GetName();
00042
00043 os.precision(6); // 6 is the def, but sometimes is set elsewhere & not reset
00044 os << "index " << index << " Parent Particle Id " << pId
00045 << "/" << partname.c_str()
00046 << ", Energy " << pE << "(GeV), Track Id " << trkId << endl;
00047 os << "Plane " << plane << ", Strip " << strip << ", view "
00048 << PlaneView::AsString((PlaneView::PlaneView_t)planeview) << endl;
00049 os << "Start ((x,y,z)(m),t(nsec)) (" << x0 << "," << y0 << ","
00050 << z0 << "," << t0/Munits::nanosecond << ")" << endl;
00051 os << "End ((x,y,z)(m),t(nsec)) (" << x1 << "," << y1 << ","
00052 << z1 << "," << t1/Munits::nanosecond << ")" << endl;
00053 os << "Path length " << dS
00054 << "(m), energy deposit " << dE << "(GeV)"
00055 << " FailBits 0x" << std::hex << failbits << std::dec << endl;
00056
00057
00058
00059 return os;
00060
00061 }
|
|
|
|
|
Definition at line 55 of file NtpMCDigiScintHit.h. Referenced by NtpMCModule::FillNtpMCDigiScintHit(), and Print(). |
|
|
Definition at line 33 of file NtpMCDigiScintHit.h. Referenced by NtpMCModule::FillNtpMCDigiScintHit(), and Print(). |
|
|
Definition at line 54 of file NtpMCDigiScintHit.h. Referenced by MeuCuts::ExtractTruthInfo(), NtpMCModule::FillNtpMCDigiScintHit(), MCMonitorCosmicHistograms::FillTrueDigiHitdEdSByEndPointsvspE(), MCMonitorCosmicHistograms::FillTrueDigiHitdEdSvspE(), and Print(). |
|
|
|
Definition at line 36 of file NtpMCDigiScintHit.h. Referenced by MeuCuts::ExtractTruthInfo(), MCMonitorCosmicHistograms::FillHistsTrueDigiHit(), NtpMCModule::FillNtpMCDigiScintHit(), Print(), and ParticleTruthMaker::Reco(). |
|
|
Definition at line 34 of file NtpMCDigiScintHit.h. Referenced by NtpMCModule::FillNtpMCDigiScintHit(), Print(), and ParticleTruthMaker::Reco(). |
|
|
Definition at line 35 of file NtpMCDigiScintHit.h. Referenced by MeuCuts::ExtractTruthInfo(), NtpMCModule::FillNtpMCDigiScintHit(), Print(), and ParticleTruthMaker::Reco(). |
|
|
Definition at line 44 of file NtpMCDigiScintHit.h. Referenced by NtpMCModule::FillNtpMCDigiScintHit(), and Print(). |
|
|
Definition at line 48 of file NtpMCDigiScintHit.h. Referenced by NtpMCModule::FillNtpMCDigiScintHit(), and Print(). |
|
|
Definition at line 42 of file NtpMCDigiScintHit.h. Referenced by NtpMCModule::FillNtpMCDigiScintHit(), MCMonitorCosmicHistograms::FillTrueDigiHitTrkId(), Print(), and ParticleTruthMaker::Reco(). |
|
|
|
|
|
|
1.3.9.1