VtxRecordAna Class Reference

#include <VtxRecordAna.h>

Inheritance diagram for VtxRecordAna:
NueAnaBase

List of all members.

Public Member Functions

 VtxRecordAna (VtxRecord &nr)
virtual ~VtxRecordAna ()
void FillTrue (int evtn, NtpStRecord *str)
void FillReco (int evtn, RecRecordImp< RecCandHeader > *srobj)
void Analyze (int evtn, RecRecordImp< RecCandHeader > *srobj)

Public Attributes

VtxFinderAna vtxa
AnalysisInfoAna anaia
ANtpEventInfoAna aneia
ANtpShowerInfoAna ansia
ANtpTrackInfoAna antia
ANtpTruthInfoBeamAna antiba

Detailed Description

Definition at line 14 of file VtxRecordAna.h.


Constructor & Destructor Documentation

VtxRecordAna::VtxRecordAna ( VtxRecord nr  ) 

Definition at line 12 of file VtxRecordAna.cxx.

00012                                        :
00013   vtxa(nr.vtxfind),
00014   anaia(nr.anainfo),
00015   aneia(nr.srevent),
00016   ansia(nr.srshower),
00017   antia(nr.srtrack),
00018   antiba(nr.mctrue)
00019 {}

VtxRecordAna::~VtxRecordAna (  )  [virtual]

Definition at line 21 of file VtxRecordAna.cxx.

00022 {}


Member Function Documentation

void VtxRecordAna::Analyze ( int  evtn,
RecRecordImp< RecCandHeader > *  srobj 
) [virtual]

Implements NueAnaBase.

Definition at line 24 of file VtxRecordAna.cxx.

References RecRecordImp< T >::GetHeader(), RecPhysicsHeader::GetSnarl(), Msg::kDebug, and MSG.

Referenced by VtxModule::Reco().

00025 {
00026 
00027   MSG("VtxRecordAna",Msg::kDebug)<<"On Snarl "<<srobj->GetHeader().GetSnarl()
00028                                   <<" event "<<evtn<<endl;
00029    return;
00030 }

void VtxRecordAna::FillReco ( int  evtn,
RecRecordImp< RecCandHeader > *  srobj 
)

Definition at line 49 of file VtxRecordAna.cxx.

References anaia, ANtpShowerInfoAna::Analyze(), AnalysisInfoAna::Analyze(), ANtpEventInfoAna::Analyze(), ANtpTrackInfoAna::Analyze(), VtxFinderAna::Analyze(), aneia, ansia, antia, and vtxa.

Referenced by VtxModule::Reco().

00050 {
00051   if(srobj==0){
00052     return;
00053   }
00054 
00055 //    anaia.Analyze(evtn,srobj);
00056     anaia.Analyze(evtn,srobj);
00057     aneia.Analyze(evtn,srobj);
00058     ansia.Analyze(evtn,srobj);
00059     antia.Analyze(evtn,srobj);
00060     vtxa.Analyze(evtn,srobj);
00061     return;
00062 }

void VtxRecordAna::FillTrue ( int  evtn,
NtpStRecord str 
)

Definition at line 33 of file VtxRecordAna.cxx.

References ANtpTruthInfoBeamAna::Analyze(), antiba, RecRecordImp< T >::GetHeader(), VldContext::GetSimFlag(), RecHeader::GetVldContext(), and SimFlag::kData.

Referenced by VtxModule::Reco().

00034 {
00035   if(srobj==0){
00036     return;
00037   }
00038 
00039   VldContext vc=srobj->GetHeader().GetVldContext();
00040   if(vc.GetSimFlag()==SimFlag::kData){
00041     return;
00042   }
00043 
00044 
00045     antiba.Analyze(evtn,srobj);
00046     return;
00047 }


Member Data Documentation

Definition at line 26 of file VtxRecordAna.h.

Referenced by FillReco().

Definition at line 27 of file VtxRecordAna.h.

Referenced by FillReco(), and VtxModule::Reco().

Definition at line 28 of file VtxRecordAna.h.

Referenced by FillReco(), and VtxModule::Reco().

Definition at line 29 of file VtxRecordAna.h.

Referenced by FillReco(), and VtxModule::Reco().

Definition at line 30 of file VtxRecordAna.h.

Referenced by FillTrue().

Definition at line 25 of file VtxRecordAna.h.

Referenced by FillReco().


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1