NtpTHStrip Class Reference

#include <NtpTHStrip.h>

List of all members.

Public Member Functions

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

Public Attributes

UInt_t index
 index of this NtpTHStrip in thstp array
Short_t neumc
 index of best match neu in NtpMCRecord mc array
Short_t nneu
 number of neutrinos contributing charge to strip
Int_t sigflg
 OR'ed over all assc. digit DigiSignal::DigiPmtTruth_t flags.
Int_t stdhep [3]
 fraction of raw pulse height from particles with largest contributions
Float_t phfrac [3]

Detailed Description

Definition at line 17 of file NtpTHStrip.h.


Constructor & Destructor Documentation

NtpTHStrip::NtpTHStrip (  ) 

Definition at line 21 of file NtpTHStrip.cxx.

References phfrac, and stdhep.

00021                       : index(0),neumc(-1),nneu(-1),sigflg(0){
00022   // Default constructor
00023 
00024    for(unsigned short i = 0; i != 3; ++i)
00025    {
00026       stdhep[i] = 0;
00027       phfrac[i] = 0.0;
00028    } 
00029 }

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

Definition at line 22 of file NtpTHStrip.h.

00022 {}


Member Function Documentation

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

Definition at line 49 of file NtpTHStrip.cxx.

References Print().

00049                                                          {
00050   //
00051   //  Purpose:  Print slice truth helper data in form supported 
00052   //  by TObject::Print.
00053   //
00054   //  Arguments: option (not used)
00055   //
00056 
00057   Print(std::cout);
00058   return;
00059 
00060 }

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

Definition at line 31 of file NtpTHStrip.cxx.

References bfld::AsString(), index, neumc, nneu, phfrac, sigflg, and stdhep.

Referenced by Print().

00031                                                   {
00032   //
00033   //  Purpose:  Print slice truth helper data on ostream.
00034   //
00035 
00036   os << "NtpTHStrip::Print()"
00037      << "\nindex " << index << ", best match neu mc id " << neumc
00038      << ", nneus contributing " << nneu << "\nOR'ed DigiPmtTruth " 
00039      << AsString((DigiSignal::DigiPmtTruth_t)sigflg)
00040      << "\n1st,2nd,3rd largest ph contributor (stdhep index,fraction): " 
00041      << "(" << stdhep[0] << "," << phfrac[0] << ") "
00042      << "(" << stdhep[1] << "," << phfrac[1] << ") "
00043      << "(" << stdhep[2] << "," << phfrac[2] << ") " << endl;
00044 
00045   return os;
00046 
00047 }


Member Data Documentation

index of this NtpTHStrip in thstp array

Definition at line 33 of file NtpTHStrip.h.

Referenced by Print().

index of best match neu in NtpMCRecord mc array

Definition at line 34 of file NtpTHStrip.h.

Referenced by Print().

number of neutrinos contributing charge to strip

Definition at line 35 of file NtpTHStrip.h.

Referenced by Print().

Float_t NtpTHStrip::phfrac[3]

Definition at line 42 of file NtpTHStrip.h.

Referenced by NtpTHStrip(), and Print().

OR'ed over all assc. digit DigiSignal::DigiPmtTruth_t flags.

stdhep indexes of particles with largest contributions

Definition at line 36 of file NtpTHStrip.h.

Referenced by Print().

fraction of raw pulse height from particles with largest contributions

Definition at line 41 of file NtpTHStrip.h.

Referenced by NtpTHStrip(), and Print().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1