#include <TruthReco.h>
Public Types | |
| enum | Type { kUnknown = -1, kEvent = 0, kTrack = 1, kShower = 2 } |
Public Member Functions | |
| TruthReco () | |
| TruthReco (Type rtype, int reco, int neu, int hep, float pur, float compa, float comps) | |
| ~TruthReco () | |
| float | Purity () const |
| float | ComplAll () const |
| float | ComplSlc () const |
| int | RecoIndex () const |
| int | TruthIndex () const |
| int | StdHepIndex () const |
| bool | IsEvent () const |
| bool | IsShower () const |
| bool | IsTrack () const |
| void | Print (std::ostream &o=std::cout) const |
Private Attributes | |
| Type | reco_type |
| Int_t | reco_index |
| Int_t | neumc_index |
| Int_t | neuhep_index |
| Float_t | purity |
| Float_t | complall |
| Float_t | complslc |
Friends | |
| class | FillTruth |
|
|
Definition at line 22 of file TruthReco.h.
|
|
|
Definition at line 15 of file TruthReco.cxx. 00016 :reco_type(kUnknown), 00017 reco_index(-1), 00018 neumc_index(-1), 00019 neuhep_index(-1), 00020 purity(-1.0e6), 00021 complall(-1.0e6), 00022 complslc(-1.0e6) 00023 { 00024 }
|
|
||||||||||||||||||||||||||||||||
|
Definition at line 27 of file TruthReco.cxx. 00034 :reco_type(rtype), 00035 reco_index(reco), 00036 neumc_index(neu), 00037 neuhep_index(hep), 00038 purity(pur), 00039 complall(compa), 00040 complslc(comps) 00041 { 00042 }
|
|
|
Definition at line 45 of file TruthReco.cxx. 00046 {
00047 }
|
|
|
Definition at line 77 of file TruthReco.h. 00077 { return complall; }
|
|
|
Definition at line 78 of file TruthReco.h. 00078 { return complslc; }
|
|
|
Definition at line 83 of file TruthReco.h. References reco_type. Referenced by Anp::operator==(). 00083 { return (reco_type == kEvent); }
|
|
|
Definition at line 84 of file TruthReco.h. References reco_type. Referenced by Anp::operator==(). 00084 { return (reco_type == kShower); }
|
|
|
Definition at line 85 of file TruthReco.h. References reco_type. Referenced by Anp::operator==(). 00085 { return (reco_type == kTrack); }
|
|
|
Definition at line 50 of file TruthReco.cxx. References complall, neuhep_index, neumc_index, purity, reco_index, and reco_type. 00051 {
00052 if(reco_type == kEvent)
00053 {
00054 o << "TruthReco (event, mc, hep, pur, com) = (";
00055 }
00056 else if(reco_type == kTrack)
00057 {
00058 o << "TruthReco (track, mc, hep, pur, com) = (";
00059 }
00060 else if(reco_type == kTrack)
00061 {
00062 o << "TruthReco (shower, mc, hep, pur, com) = (";
00063 }
00064 else
00065 {
00066 o << "TruthReco (reco, mc, hep, pur, com) = (";
00067 }
00068
00069 o << reco_index << ", "
00070 << neumc_index << ", "
00071 << neuhep_index << ", "
00072 << purity << ", "
00073 << complall << ")" << std::endl;
00074 }
|
|
|
Definition at line 76 of file TruthReco.h. 00076 { return purity; }
|
|
|
Definition at line 79 of file TruthReco.h. Referenced by Anp::operator==(). 00079 { return reco_index; }
|
|
|
Definition at line 81 of file TruthReco.h. 00081 { return neuhep_index; }
|
|
|
Definition at line 80 of file TruthReco.h. 00080 { return neumc_index; }
|
|
|
Definition at line 49 of file TruthReco.h. |
|
|
Definition at line 57 of file TruthReco.h. Referenced by Print(). |
|
|
Definition at line 58 of file TruthReco.h. |
|
|
Definition at line 54 of file TruthReco.h. Referenced by Print(). |
|
|
Definition at line 53 of file TruthReco.h. Referenced by Print(). |
|
|
Definition at line 56 of file TruthReco.h. Referenced by Print(). |
|
|
Definition at line 52 of file TruthReco.h. Referenced by Print(). |
|
|
Definition at line 51 of file TruthReco.h. Referenced by IsEvent(), IsShower(), IsTrack(), and Print(). |
1.3.9.1