NtpTHEvent Class Reference

#include <NtpTHEvent.h>

List of all members.

Public Member Functions

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

Public Attributes

UShort_t index
 index of this NtpTHEvent in the event array
Short_t neumc
 index of best match neu in NtpMCRecord mc array
Int_t neustdhep
 index of best match neu in NtpMCRecord stdhep array
Float_t purity
 purity of event
Float_t completeall
Float_t completeslc
Float_t completeallnopecut
Float_t completeslcnopecut


Detailed Description

Definition at line 17 of file NtpTHEvent.h.


Constructor & Destructor Documentation

NtpTHEvent::NtpTHEvent (  ) 

Definition at line 20 of file NtpTHEvent.cxx.

00020                       : index(0),neumc(-1),neustdhep(-1),purity(-1),
00021                           completeall(-1),completeslc(-1),
00022                           completeallnopecut(-1),completeslcnopecut(-1){
00023   // Default constructor
00024 
00025 }

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

Definition at line 22 of file NtpTHEvent.h.

00022 {}


Member Function Documentation

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

Definition at line 42 of file NtpTHEvent.cxx.

References Print().

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

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

Definition at line 27 of file NtpTHEvent.cxx.

References completeall, completeslc, index, neumc, neustdhep, and purity.

Referenced by Print().

00027                                                   {
00028   //
00029   //  Purpose:  Print event truth helper data on ostream.
00030   //
00031 
00032   os << "NtpTHEvent::Print" 
00033      << "\nindex " << index << ", best match neu mc id " << neumc 
00034      << ", neu stdhep id " << neustdhep  
00035      << "\npurity " << purity << ", completeall " << completeall
00036      << ", completeslc " << completeslc << endl;
00037   
00038   return os;
00039 
00040 }


Member Data Documentation

Float_t NtpTHEvent::completeall

completeness of event using all strips in detector above the pulse height cut

Definition at line 37 of file NtpTHEvent.h.

Referenced by ANtpTruthInfoBeamAna::Analyze(), MadPIDAnalysis::CreatePAN(), ANtpInfoObjectFillerNC::FillInformation(), NueDisplayModule::GetBasicInfo(), Print(), and MadQuantities::ShowerValidation().

Float_t NtpTHEvent::completeallnopecut

completeness of event using all strips in detector, no PE cut

Definition at line 41 of file NtpTHEvent.h.

Float_t NtpTHEvent::completeslc

completeness of event using all strips in slice above the pulse height cut

Definition at line 39 of file NtpTHEvent.h.

Referenced by MadPIDAnalysis::CreatePAN(), NueDisplayModule::GetBasicInfo(), MadScanDisplay::PassCuts(), MadEvDisplay::PassCuts(), Print(), and MadQuantities::ShowerValidation().

Float_t NtpTHEvent::completeslcnopecut

completeness of event using all strips in slice, no PE cut

Definition at line 43 of file NtpTHEvent.h.

UShort_t NtpTHEvent::index

index of this NtpTHEvent in the event array

Definition at line 33 of file NtpTHEvent.h.

Referenced by Print(), and NuReco::PrintTrueEnergy().

Short_t NtpTHEvent::neumc

index of best match neu in NtpMCRecord mc array

Definition at line 34 of file NtpTHEvent.h.

Referenced by CondensedNtpModule::Ana(), VtxFinderAna::Analyze(), StdHepInfoAna::Analyze(), ANtpTruthInfoBeamAna::Analyze(), NuZBeamReweight::CalcGeneratorReweight(), NuCounter::CountTrkStdhepId(), NuAnalysis::Efficiencies(), ANtpInfoObjectFillerNC::FillInformation(), NuReco::GetBestTruthIndex(), SntpHelpers::GetEvent2MCIndex(), NuReco::GetPrimaryTruthIndex(), NtpTools::GetTruth(), Print(), NuReco::PrintCharm(), NuReco::PrintTrueEnergy(), NuIntranuke::RecoReweight(), NueAnalysisCuts::SetNtpInfoObjects(), VHS::Skim(), and VHS::Train().

Int_t NtpTHEvent::neustdhep

index of best match neu in NtpMCRecord stdhep array

Definition at line 35 of file NtpTHEvent.h.

Referenced by CondensedNtpModule::Ana(), VtxFinderAna::Analyze(), ANtpTruthInfoBeamAna::Analyze(), and Print().

Float_t NtpTHEvent::purity

purity of event

Definition at line 36 of file NtpTHEvent.h.

Referenced by MadPIDAnalysis::CreatePAN(), NueDisplayModule::GetBasicInfo(), Print(), and MadQuantities::ShowerValidation().


The documentation for this class was generated from the following files:
Generated on Fri Oct 10 22:46:00 2014 for loon by  doxygen 1.4.7