MCNNBestMatch Class Reference

#include <MCNNBestMatch.h>

List of all members.

Public Member Functions

 MCNNBestMatch ()
 MCNNBestMatch (const MCNNBestMatch *nuefw)
virtual ~MCNNBestMatch ()
virtual void Print (Option_t *option="") const
void Reset ()
void Clear (Option_t *option="")

Public Attributes

Int_t run
Int_t snarl
Int_t interactionType
Int_t nuFlavor
Float_t true_enu
Float_t true_y
Int_t resonanceCode
Float_t dlnL
Float_t fracQmatched
Int_t stdhepsize
TClonesArray * stdhep

Private Member Functions

 ClassDef (MCNNBestMatch, 1)

Detailed Description

Definition at line 12 of file MCNNBestMatch.h.


Constructor & Destructor Documentation

MCNNBestMatch::MCNNBestMatch (  ) 

Definition at line 14 of file MCNNBestMatch.cxx.

00014                              :
00015   stdhep(0)
00016 {
00017   Reset();
00018 }

MCNNBestMatch::MCNNBestMatch ( const MCNNBestMatch nuefw  ) 

Definition at line 20 of file MCNNBestMatch.cxx.

00020                                                     :
00021   run(mbm->run),
00022   snarl(mbm->snarl),
00023   interactionType(mbm->interactionType),
00024   nuFlavor(mbm->nuFlavor),
00025   true_enu(mbm->true_enu),
00026   true_y(mbm->true_y),
00027   resonanceCode(mbm->resonanceCode),
00028   dlnL(mbm->dlnL),
00029   fracQmatched(mbm->fracQmatched),
00030   stdhep(mbm->stdhep)
00031 {
00032 }

MCNNBestMatch::~MCNNBestMatch (  )  [virtual]

Definition at line 34 of file MCNNBestMatch.cxx.

00035 {
00036 }


Member Function Documentation

MCNNBestMatch::ClassDef ( MCNNBestMatch  ,
 
) [private]
void MCNNBestMatch::Clear ( Option_t *  option = ""  ) 

Definition at line 38 of file MCNNBestMatch.cxx.

References stdhep.

00039 {
00040   if(stdhep) {stdhep->Clear("C");}
00041 }

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

Definition at line 58 of file MCNNBestMatch.cxx.

References dlnL, fracQmatched, interactionType, nuFlavor, resonanceCode, run, snarl, stdhepsize, true_enu, and true_y.

00059 {
00060   std::cout << "Run,snarl: " << run << "," << snarl << std::endl;
00061   std::cout << "nuFlavor,interactionType: " << nuFlavor << "," << interactionType << std::endl;
00062   std::cout << "true_enu,y: " << true_enu << "," << true_y << std::endl;
00063   std::cout << "resonanceCode: " << resonanceCode << std::endl;
00064   std::cout << "dlnL,fracQmatched: " << dlnL << "," << fracQmatched << std::endl;
00065   std::cout << "stdhepsize: " << stdhepsize << std::endl;
00066 }

void MCNNBestMatch::Reset (  ) 

Definition at line 43 of file MCNNBestMatch.cxx.

References dlnL, fracQmatched, interactionType, ANtpDefaultValue::kFloat, ANtpDefaultValue::kInt, nuFlavor, resonanceCode, run, snarl, stdhepsize, true_enu, and true_y.

00044 {
00045   run = ANtpDefVal::kInt;
00046   snarl = ANtpDefVal::kInt;
00047   interactionType = ANtpDefVal::kInt;
00048   nuFlavor = ANtpDefVal::kInt;
00049   true_enu = ANtpDefVal::kFloat;
00050   true_y = ANtpDefVal::kFloat;
00051   resonanceCode = ANtpDefVal::kInt;
00052   dlnL = ANtpDefVal::kFloat;
00053   fracQmatched = ANtpDefVal::kFloat;
00054   stdhepsize = 0;
00055   //stdhep = new TClonesArray("NtpMCStdHep");//<-- TClonesArray of NtpMCStdHep
00056 }


Member Data Documentation

Definition at line 30 of file MCNNBestMatch.h.

Referenced by NNReader::GetBestMatch(), NueAnaReader::GetdlnLmean(), Print(), and Reset().

Definition at line 29 of file MCNNBestMatch.h.

Referenced by NNReader::GetBestMatch(), Print(), and Reset().

Definition at line 23 of file MCNNBestMatch.h.

Referenced by MCNNFiller::FillBestMatches(), NNReader::GetBestMatch(), Print(), and Reset().

Definition at line 24 of file MCNNBestMatch.h.

Referenced by NNReader::GetBestMatch(), Print(), and Reset().

TClonesArray* MCNNBestMatch::stdhep

Definition at line 34 of file MCNNBestMatch.h.

Referenced by Clear().

Definition at line 32 of file MCNNBestMatch.h.

Referenced by NNReader::GetBestMatch(), Print(), and Reset().


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1