NtpMCFluxWgt Class Reference

#include <NtpMCFluxWgt.h>

List of all members.

Public Member Functions

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

Public Attributes

Int_t index
 C index.
Char_t beam [33]
 Beam spectrum name.
Int_t version
 Beam spectrum version.
Float_t weight
 event weight relative to generated spectrum
Float_t weighterr
 error associated with the weight

Detailed Description

Definition at line 17 of file NtpMCFluxWgt.h.


Constructor & Destructor Documentation

NtpMCFluxWgt::NtpMCFluxWgt (  ) 

Definition at line 17 of file NtpMCFluxWgt.cxx.

References beam.

00017                           :
00018   index(-1),
00019   version(0),
00020   weight(0.),
00021   weighterr(0.)
00022 {
00023   for ( int ic = 0; ic < 33; ic++ ) beam[ic] = '\0';
00024 }

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

Definition at line 22 of file NtpMCFluxWgt.h.

00022 {}


Member Function Documentation

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

Definition at line 26 of file NtpMCFluxWgt.cxx.

References Print().

00027 {
00028 
00029   Print(std::cout);
00030   return;
00031 
00032 }

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

Definition at line 34 of file NtpMCFluxWgt.cxx.

References beam, index, version, weight, and weighterr.

Referenced by Print().

00035 {
00036   os<<"NtpMCFluxWgt::Print "<<std::endl;
00037   os<<"index: "<<index
00038     <<" beam spectrum: "<<beam<<" version "<<version<<std::endl;
00039   os<<"Weight "<<weight<<" Error on weight "<<weighterr<<std::endl;
00040   return os;
00041 }


Member Data Documentation

Char_t NtpMCFluxWgt::beam[33]

Beam spectrum name.

Definition at line 34 of file NtpMCFluxWgt.h.

Referenced by NtpMCModule::FillNtpFluxWgt(), NtpMCFluxWgt(), and Print().

C index.

Definition at line 33 of file NtpMCFluxWgt.h.

Referenced by NtpMCModule::FillNtpFluxWgt(), and Print().

Beam spectrum version.

Definition at line 35 of file NtpMCFluxWgt.h.

Referenced by NtpMCModule::FillNtpFluxWgt(), and Print().

event weight relative to generated spectrum

Definition at line 36 of file NtpMCFluxWgt.h.

Referenced by NtpMCModule::FillNtpFluxWgt(), and Print().

error associated with the weight

Definition at line 37 of file NtpMCFluxWgt.h.

Referenced by NtpMCModule::FillNtpFluxWgt(), 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