NtpTHSlice Class Reference

#include <NtpTHSlice.h>

List of all members.

Public Member Functions

 NtpTHSlice ()
virtual ~NtpTHSlice ()
virtual std::ostream & Print (std::ostream &os) const
virtual void Print (const Option_t *option="") const

Public Attributes

UShort_t index
 best match neu is defined as that with highest ph in slice
Short_t neumc
 index of best match neu in NtpMCRecord mc array
Int_t neustdhep
 index of best match neu in NtpMCRecord stdhep array
Short_t nneu
 purity is the ratio of summed ph of neu in slice to summed ph of slice
Float_t purity
 purity of best match neu
Float_t secondpurity
Float_t complete
 completeness of best match neu

Detailed Description

Definition at line 17 of file NtpTHSlice.h.


Constructor & Destructor Documentation

NtpTHSlice::NtpTHSlice (  ) 

Definition at line 20 of file NtpTHSlice.cxx.

00020                       : index(0),neumc(-1),neustdhep(-1),nneu(-1),purity(-1),
00021                           secondpurity(-1),complete(-1) {
00022   // Default constructor
00023 
00024 }

virtual NtpTHSlice::~NtpTHSlice (  )  [inline, virtual]

Definition at line 22 of file NtpTHSlice.h.

00022 {}


Member Function Documentation

void NtpTHSlice::Print ( const Option_t *  option = ""  )  const [virtual]

Definition at line 41 of file NtpTHSlice.cxx.

References Print().

00041                                                          {
00042   //
00043   //  Purpose:  Print slice truth helper data in form supported 
00044   //  by TObject::Print.
00045   //
00046   //  Arguments: option (not used)
00047   //
00048 
00049   Print(std::cout);
00050   return;
00051 
00052 }

std::ostream & NtpTHSlice::Print ( std::ostream &  os  )  const [virtual]

Definition at line 26 of file NtpTHSlice.cxx.

References complete, index, neumc, neustdhep, nneu, purity, and secondpurity.

Referenced by Print().

00026                                                   {
00027   //
00028   //  Purpose:  Print slice truth helper data on ostream.
00029   //
00030 
00031   os << "NtpTHSlice::Print" 
00032      << "\nindex " << index << ", best match neu mc id " << neumc 
00033      << ", stdhep id " << neustdhep << ", nneus contributing " << nneu 
00034      << "\npurity " << purity << ", second purity " << secondpurity
00035      << ", complete " << complete << endl;
00036   
00037   return os;
00038 
00039 }


Member Data Documentation

completeness of best match neu

Definition at line 43 of file NtpTHSlice.h.

Referenced by MadEvDisplay::DrawTextBox(), MadScanDisplay::DrawTextBox(), and Print().

best match neu is defined as that with highest ph in slice

index of this NtpTHSlice in thslice array

Definition at line 33 of file NtpTHSlice.h.

Referenced by Print().

index of best match neu in NtpMCRecord mc array

Definition at line 35 of file NtpTHSlice.h.

Referenced by Print().

index of best match neu in NtpMCRecord stdhep array

Definition at line 36 of file NtpTHSlice.h.

Referenced by Print().

purity is the ratio of summed ph of neu in slice to summed ph of slice

number of distinct neus contributing to slice

Definition at line 37 of file NtpTHSlice.h.

Referenced by Print().

purity of best match neu

Definition at line 39 of file NtpTHSlice.h.

Referenced by MadEvDisplay::DrawTextBox(), MadScanDisplay::DrawTextBox(), and Print().

purity of second highest ph neu in slice completeness is the ratio of summed ph of neu in this slice to summed ph of neu

Definition at line 40 of file NtpTHSlice.h.

Referenced by Print().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1