#include <PhotonEventResult.h>
Public Member Functions | |
| PhotonEventResult () | |
| PhotonEventResult (const PhotonEventResult &rhs) | |
| virtual | ~PhotonEventResult () |
| void | Reset () |
| void | operator= (const PhotonEventResult &other) |
| virtual void | Print (Option_t *option="") const |
| virtual std::ostream & | FormatToOStream (std::ostream &os, Option_t *option="") const |
Public Attributes | |
| Int_t | totalHits |
| Float_t | totalHitEnergy |
| Int_t | totalStripsHit |
| Int_t | hitsDiscardedGeom |
| Int_t | hitsDiscardedBad |
| Float_t | energyDiscardedGeom |
| Float_t | energyDiscardedBad |
| Int_t | bluePhotons |
| Int_t | greenPhotons |
| Int_t | bluePhotons_nonprescaled |
| Int_t | greenPhotons_nonprescaled |
| Int_t | totalPE |
| Int_t | noisePE |
| Int_t | afterpulsePE |
| Int_t | totalPixels |
Protected Member Functions | |
| ClassDef (PhotonEventResult, 4) | |
Protected Attributes | |
| std::set< Int_t > | fStripsHit |
| std::set< Int_t > | fPixelsHit |
Friends | |
| class | PhotonTransport |
| std::ostream & | operator<< (std::ostream &os, const PhotonEventResult &r) |
|
|
Definition at line 8 of file PhotonEventResult.cxx. 00008 : 00009 TNamed("PhotonEventResult","PhotonTransport Event Statistics") 00010 { 00011 Reset(); 00012 }
|
|
|
Definition at line 14 of file PhotonEventResult.cxx. 00014 : 00015 TNamed("PhotonEventResult","PhotonTransport Event Statistics") 00016 { 00017 (*this)=rhs; 00018 }
|
|
|
Definition at line 17 of file PhotonEventResult.h. References Reset(). 00017 { Reset(); };
|
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 71 of file PhotonEventResult.cxx. References afterpulsePE, bluePhotons, bluePhotons_nonprescaled, energyDiscardedBad, energyDiscardedGeom, greenPhotons, greenPhotons_nonprescaled, hitsDiscardedBad, hitsDiscardedGeom, noisePE, totalHitEnergy, totalHits, totalPE, totalPixels, and totalStripsHit. Referenced by operator<<(), and Print(). 00073 {
00074 os << "PhotonEventResult: " << endl
00075 << " Total Scint Hits: " << totalHits << endl
00076 << " Total Hit Energy: " << totalHitEnergy/Munits::MeV << " MeV" << endl
00077 << " Total Strips Hit: " << totalStripsHit << endl
00078 << " Hits Discarded (bad geom) " << hitsDiscardedGeom << endl
00079 << " Hits Discarded (bad hit) " << hitsDiscardedBad << endl
00080 << " Energy Discarded (bad geom) " << energyDiscardedGeom/Munits::MeV << " MeV" << endl
00081 << " Energy Discarded (bad hit) " << energyDiscardedBad/Munits::MeV << " MeV" << endl
00082 << " Number of Blue Photons: " << bluePhotons << " (pre: " <<
00083 bluePhotons_nonprescaled << ")" << endl
00084 << " Number of Green Photons: " << greenPhotons << " (pre: " <<
00085 greenPhotons_nonprescaled << ")" << endl
00086 << " Number of PE: " << totalPE << endl
00087 << " Number of noise PE: " << noisePE << endl
00088 << " Number of afterpulse PE: " << afterpulsePE << endl
00089 << " Pixels hit: " << totalPixels << endl;
00090
00091 return os;
00092 }
|
|
|
Definition at line 20 of file PhotonEventResult.cxx. References afterpulsePE, bluePhotons, bluePhotons_nonprescaled, energyDiscardedBad, energyDiscardedGeom, greenPhotons, greenPhotons_nonprescaled, hitsDiscardedBad, hitsDiscardedGeom, noisePE, totalHitEnergy, totalHits, totalPE, totalPixels, and totalStripsHit. 00021 {
00022 totalHits = rhs.totalHits;
00023 totalHitEnergy = rhs.totalHitEnergy;
00024 totalStripsHit = rhs.totalStripsHit;
00025 hitsDiscardedGeom = rhs.hitsDiscardedGeom;
00026 hitsDiscardedBad = rhs.hitsDiscardedBad;
00027 energyDiscardedGeom = rhs.energyDiscardedGeom;
00028 energyDiscardedBad = rhs.energyDiscardedBad;
00029 bluePhotons = rhs.bluePhotons;
00030 greenPhotons = rhs.greenPhotons;
00031 bluePhotons_nonprescaled = rhs.bluePhotons_nonprescaled;
00032 greenPhotons_nonprescaled = rhs.greenPhotons_nonprescaled;
00033 totalPE = rhs.totalPE;
00034 noisePE = rhs.noisePE;
00035 afterpulsePE = rhs.afterpulsePE;
00036 totalPixels = rhs.totalPixels;
00037 }
|
|
|
Definition at line 65 of file PhotonEventResult.cxx. References FormatToOStream(), and option. Referenced by PhotonTransport::Ana(). 00066 {
00067 FormatToOStream(std::cout,option);
00068 }
|
|
|
Definition at line 40 of file PhotonEventResult.cxx. References afterpulsePE, bluePhotons, bluePhotons_nonprescaled, energyDiscardedBad, energyDiscardedGeom, fPixelsHit, fStripsHit, greenPhotons, greenPhotons_nonprescaled, hitsDiscardedBad, hitsDiscardedGeom, noisePE, totalHitEnergy, totalHits, totalPE, totalPixels, and totalStripsHit. Referenced by PhotonTransport::Get(), and ~PhotonEventResult(). 00041 {
00042 totalHits =0;
00043 totalHitEnergy =0;
00044 totalStripsHit =0;
00045 hitsDiscardedGeom =0;
00046 hitsDiscardedBad =0;
00047 energyDiscardedGeom =0;
00048 energyDiscardedBad =0;
00049 bluePhotons =0;
00050 greenPhotons =0;
00051 bluePhotons_nonprescaled =0;
00052 greenPhotons_nonprescaled =0;
00053 totalPE =0;
00054 noisePE =0;
00055 afterpulsePE =0;
00056 totalPixels =0;
00057 fStripsHit.clear();
00058 fPixelsHit.clear();
00059 }
|
|
||||||||||||
|
|
|
|
Definition at line 13 of file PhotonEventResult.h. |
|
|
Definition at line 42 of file PhotonEventResult.h. Referenced by PhotonTransport::AddAfterpulsing(), FormatToOStream(), operator=(), and Reset(). |
|
|
Definition at line 36 of file PhotonEventResult.h. Referenced by NtpMCModule::FillNtpMCPhotonResult(), FormatToOStream(), operator=(), Reset(), and PhotonTransport::SimulateScintHit(). |
|
|
Definition at line 38 of file PhotonEventResult.h. Referenced by NtpMCModule::FillNtpMCPhotonResult(), FormatToOStream(), operator=(), Reset(), and PhotonTransport::SimulateScintHit(). |
|
|
Definition at line 34 of file PhotonEventResult.h. Referenced by NtpMCModule::FillNtpMCPhotonResult(), FormatToOStream(), operator=(), Reset(), PhotonTransport::SimulateEvent(), and PhotonTransport::SimulateScintHit(). |
|
|
Definition at line 33 of file PhotonEventResult.h. Referenced by NtpMCModule::FillNtpMCPhotonResult(), FormatToOStream(), operator=(), Reset(), PhotonTransport::SimulateEvent(), and PhotonTransport::SimulateScintHit(). |
|
|
Definition at line 48 of file PhotonEventResult.h. Referenced by Reset(), PhotonTransport::SimulateEvent(), and PhotonTransport::SimulateScintHit(). |
|
|
Definition at line 47 of file PhotonEventResult.h. Referenced by Reset(), PhotonTransport::SimulateEvent(), and PhotonTransport::SimulateScintHit(). |
|
|
Definition at line 37 of file PhotonEventResult.h. Referenced by NtpMCModule::FillNtpMCPhotonResult(), FormatToOStream(), operator=(), Reset(), and PhotonTransport::SimulateScintHit(). |
|
|
Definition at line 39 of file PhotonEventResult.h. Referenced by NtpMCModule::FillNtpMCPhotonResult(), FormatToOStream(), operator=(), Reset(), and PhotonTransport::SimulateScintHit(). |
|
|
Definition at line 32 of file PhotonEventResult.h. Referenced by NtpMCModule::FillNtpMCPhotonResult(), FormatToOStream(), operator=(), Reset(), and PhotonTransport::SimulateScintHit(). |
|
|
Definition at line 31 of file PhotonEventResult.h. Referenced by NtpMCModule::FillNtpMCPhotonResult(), FormatToOStream(), operator=(), Reset(), and PhotonTransport::SimulateScintHit(). |
|
|
Definition at line 41 of file PhotonEventResult.h. Referenced by PhotonTransport::AddNoise(), FormatToOStream(), operator=(), and Reset(). |
|
|
Definition at line 29 of file PhotonEventResult.h. Referenced by NtpMCModule::FillNtpMCPhotonResult(), FormatToOStream(), operator=(), Reset(), PhotonTransport::SimulateEvent(), and PhotonTransport::SimulateScintHit(). |
|
|
Definition at line 28 of file PhotonEventResult.h. Referenced by NtpMCModule::FillNtpMCPhotonResult(), FormatToOStream(), operator=(), Reset(), and PhotonTransport::SimulateScintHit(). |
|
|
Definition at line 40 of file PhotonEventResult.h. Referenced by PhotonTransport::AddAfterpulsing(), PhotonTransport::AddNoise(), NtpMCModule::FillNtpMCPhotonResult(), FormatToOStream(), operator=(), Reset(), and PhotonTransport::SimulateScintHit(). |
|
|
Definition at line 43 of file PhotonEventResult.h. Referenced by NtpMCModule::FillNtpMCPhotonResult(), FormatToOStream(), operator=(), Reset(), and PhotonTransport::SimulateEvent(). |
|
|
Definition at line 30 of file PhotonEventResult.h. Referenced by NtpMCModule::FillNtpMCPhotonResult(), FormatToOStream(), operator=(), Reset(), and PhotonTransport::SimulateEvent(). |
1.3.9.1