TruthCompare Class Reference

#include <TruthCompare.h>

List of all members.

Public Member Functions

 TruthCompare ()
virtual ~TruthCompare ()
void Reset ()
virtual void Clear (Option_t *option="")

Public Attributes

double frac_e_found
double frac_particles_found
double true_visible_e
double reco_matched_visible_e
double reco_visible_e
double matchangle
double truelepE
double emenergy
int particles_matched_to_true
int possible_true_particles
int truelepType
int stage
std::vector< std::vector< int > > reco_to_true_match
std::vector< int > reco_matched
std::vector< int > true_not_recoed
std::vector< int > reco_not_matched

Private Member Functions

void Init ()

Detailed Description

Definition at line 8 of file TruthCompare.h.


Constructor & Destructor Documentation

TruthCompare::TruthCompare (  ) 

Definition at line 6 of file TruthCompare.cxx.

00007 {
00008         Init();
00009 }

TruthCompare::~TruthCompare (  )  [virtual]

Definition at line 11 of file TruthCompare.cxx.

References Init().

00012 {
00013         Init(); //to empty vectors...
00014 }


Member Function Documentation

void TruthCompare::Clear ( Option_t *  option = ""  )  [virtual]

Definition at line 25 of file TruthCompare.cxx.

References Init().

Referenced by PRecord::Reset().

00025                                                {
00026   // Purpose: Clear memory allocated to arrays so that record can
00027   // be reused.  
00028 
00029         Init();
00030 
00031 }

void TruthCompare::Init ( void   )  [private]

Definition at line 35 of file TruthCompare.cxx.

References emenergy, frac_e_found, frac_particles_found, matchangle, particles_matched_to_true, possible_true_particles, reco_matched, reco_matched_visible_e, reco_not_matched, reco_to_true_match, reco_visible_e, stage, true_not_recoed, true_visible_e, truelepE, and truelepType.

Referenced by Clear(), Reset(), and ~TruthCompare().

00035                         {
00036   // 
00037   // Purpose: Initialize ntuple TClonesArrays
00038   //
00039         reco_to_true_match.clear();
00040         true_not_recoed.clear();
00041         reco_not_matched.clear();
00042         reco_matched.clear();
00043 
00044         frac_e_found=0;
00045         frac_particles_found=0;
00046                 
00047         true_visible_e=0;
00048         reco_matched_visible_e=0;
00049         reco_visible_e=0;
00050                 
00051         particles_matched_to_true=0; 
00052         possible_true_particles=0;
00053         matchangle=0;
00054 
00055         stage=0;
00056         
00057         truelepE=0;
00058         truelepType=0;
00059         emenergy=0;
00060   
00061 }

void TruthCompare::Reset (  ) 

Definition at line 17 of file TruthCompare.cxx.

References Init().

Referenced by TruthCompareAna::ana().

00018 {
00019 
00020         Init();
00021 }


Member Data Documentation

Definition at line 32 of file TruthCompare.h.

Referenced by TruthCompareAna::ana(), and Init().

Definition at line 21 of file TruthCompare.h.

Referenced by TruthCompareAna::ComputeStatistics(), and Init().

Definition at line 22 of file TruthCompare.h.

Referenced by TruthCompareAna::ComputeStatistics(), and Init().

Definition at line 27 of file TruthCompare.h.

Referenced by TruthCompareAna::ana(), Init(), and ParticleCheck::Process().

Definition at line 36 of file TruthCompare.h.

Referenced by TruthCompareAna::ComputeStatistics(), and Init().

Definition at line 37 of file TruthCompare.h.

Referenced by TruthCompareAna::ComputeStatistics(), and Init().

std::vector<int> TruthCompare::reco_matched

Definition at line 25 of file TruthCompare.h.

Referenced by TruthCompareAna::ComputeStatistics(), and Init().

Definition at line 51 of file TruthCompare.h.

Referenced by TruthCompareAna::ana(), and Init().

std::vector< std::vector<int> > TruthCompare::reco_to_true_match

Definition at line 26 of file TruthCompare.h.

Referenced by TruthCompareAna::ComputeStatistics(), and Init().

Definition at line 39 of file TruthCompare.h.

Referenced by TruthCompareAna::ana(), Init(), and ParticleCheck::Run().

Definition at line 48 of file TruthCompare.h.

Referenced by TruthCompareAna::ComputeStatistics(), and Init().

Definition at line 24 of file TruthCompare.h.

Referenced by TruthCompareAna::ComputeStatistics(), and Init().

Definition at line 30 of file TruthCompare.h.

Referenced by TruthCompareAna::ana(), and Init().

Definition at line 38 of file TruthCompare.h.

Referenced by TruthCompareAna::ana(), and Init().


The documentation for this class was generated from the following files:

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1