CalDetInfoAna Class Reference

#include <CalDetInfoAna.h>

Inheritance diagram for CalDetInfoAna:
NueAnaBase

List of all members.

Public Member Functions

 CalDetInfoAna (CalDetInfo &sv)
virtual ~CalDetInfoAna ()
void Analyze (int, RecRecordImp< RecCandHeader > *)
void Analyze (RecRecordImp< UberRecHeader > *uberrecord)

Private Attributes

CalDetInfofCalDetInfo

Detailed Description

Definition at line 8 of file CalDetInfoAna.h.


Constructor & Destructor Documentation

CalDetInfoAna::CalDetInfoAna ( CalDetInfo sv  ) 

Definition at line 11 of file CalDetInfoAna.cxx.

00011                                           :
00012   fCalDetInfo(sv)
00013 {
00014 }

CalDetInfoAna::~CalDetInfoAna (  )  [virtual]

Definition at line 16 of file CalDetInfoAna.cxx.

00017 {}


Member Function Documentation

void CalDetInfoAna::Analyze ( RecRecordImp< UberRecHeader > *  uberrecord  ) 

Definition at line 19 of file CalDetInfoAna.cxx.

References CalDetInfo::beamp, UberRecord::cpid, fCalDetInfo, UberRecHeader::GetBeamMomentum(), RecRecordImp< T >::GetHeader(), CalDetInfo::inct, NtpCalDetPID::inct, CalDetInfo::olchi2, NtpCalDetPID::olchi2, UberRecord::p0stripmaxmip, CalDetInfo::p0stripmaxmip, NtpCalDetPID::pid, CalDetInfo::pid, CalDetInfo::Reset(), and CalDetInfo::Zero().

00020 {
00021   fCalDetInfo.Reset();
00022   
00023   if(uberrecord==0) return;  
00024   UberRecord *ur=0;
00025   if(((ur=dynamic_cast<UberRecord *>(uberrecord))==0)) return;
00026     
00027   fCalDetInfo.Zero();
00028   
00029   fCalDetInfo.beamp = ur->GetHeader().GetBeamMomentum();
00030   fCalDetInfo.inct = ur->cpid.inct;
00031   fCalDetInfo.pid = ur->cpid.pid;
00032   fCalDetInfo.olchi2 = ur->cpid.olchi2;
00033   fCalDetInfo.p0stripmaxmip = ur->p0stripmaxmip;
00034   
00035 }

void CalDetInfoAna::Analyze ( int  ,
RecRecordImp< RecCandHeader > *   
) [inline, virtual]

Implements NueAnaBase.

Definition at line 15 of file CalDetInfoAna.h.

Referenced by NueRecordAna::Analyze().

00015 {};


Member Data Documentation

Definition at line 19 of file CalDetInfoAna.h.

Referenced by Analyze().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1