Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

NueFluxWeights Class Reference

#include <NueFluxWeights.h>

List of all members.

Public Member Functions

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

Public Attributes

double totbeamweight
double detectorWeight
double kflukweight
double totskzpweight
double skzpTrkEnergy
double skzpShwEnergy
std::string skzpConfig
std::vector< double > RPtotbeamweight


Constructor & Destructor Documentation

NueFluxWeights::NueFluxWeights  ) 
 

Definition at line 6 of file NueFluxWeights.cxx.

00006                               :
00007   totbeamweight(1.),
00008   detectorWeight(1.0),
00009   kflukweight(1.),
00010   totskzpweight(1.),
00011   skzpTrkEnergy(1.0),
00012   skzpShwEnergy(1.0),
00013   RPtotbeamweight()
00014 {
00015   skzpConfig = "";
00016 }

NueFluxWeights::NueFluxWeights const NueFluxWeights nuefw  ) 
 

Definition at line 18 of file NueFluxWeights.cxx.

References RPtotbeamweight, and skzpConfig.

00018                                                          :
00019   totbeamweight(nuefw->totbeamweight),
00020   detectorWeight(nuefw->detectorWeight),
00021   kflukweight(nuefw->kflukweight),
00022   totskzpweight(nuefw->totskzpweight),
00023   skzpTrkEnergy(nuefw->skzpTrkEnergy),
00024   skzpShwEnergy(nuefw->skzpShwEnergy)
00025 {
00026   skzpConfig = nuefw->skzpConfig;
00027   for(unsigned int i=0;i<nuefw->RPtotbeamweight.size();i++){
00028     RPtotbeamweight.push_back(nuefw->RPtotbeamweight[i]);
00029   }
00030 }

NueFluxWeights::~NueFluxWeights  )  [virtual]
 

Definition at line 32 of file NueFluxWeights.cxx.

References RPtotbeamweight.

00033 {
00034   //  std::cout<<"in NueFluxWeights destructor"<<std::endl;
00035    RPtotbeamweight.clear();
00036 }


Member Function Documentation

void NueFluxWeights::Clear Option_t *  option = ""  ) 
 

Definition at line 38 of file NueFluxWeights.cxx.

Referenced by NueRecord::Clear().

00039 {
00040 }

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

Definition at line 51 of file NueFluxWeights.cxx.

References detectorWeight, kflukweight, RPtotbeamweight, totbeamweight, and totskzpweight.

00052 {
00053   std::cout<<"Det weight "<<detectorWeight<<std::endl;
00054   std::cout<<"Beam weight "<<totbeamweight<<std::endl;
00055   std::cout<<"Kfluk weight "<<kflukweight<<std::endl;
00056   std::cout<<"Tot Beam weight "<<totskzpweight<<std::endl;
00057 
00058   for(unsigned int i=0;i<RPtotbeamweight.size();i++){
00059     std::cout<<"Run Period "<<i<<" weight "<<RPtotbeamweight[i]<<std::endl;
00060   }
00061 
00062 
00063 }

void NueFluxWeights::Reset  ) 
 

Definition at line 42 of file NueFluxWeights.cxx.

References detectorWeight, kflukweight, RPtotbeamweight, totbeamweight, and totskzpweight.

Referenced by NueRecord::Reset().

00043 {
00044   kflukweight=1.;
00045   totbeamweight=1.;
00046   totskzpweight=1.;
00047   detectorWeight = 1.0;
00048   RPtotbeamweight.clear();
00049 }


Member Data Documentation

double NueFluxWeights::detectorWeight
 

Definition at line 19 of file NueFluxWeights.h.

Referenced by NueFluxWeightsAna::Analyze(), Print(), and Reset().

double NueFluxWeights::kflukweight
 

Definition at line 20 of file NueFluxWeights.h.

Referenced by NueFluxWeightsAna::Analyze(), Print(), and Reset().

std::vector<double> NueFluxWeights::RPtotbeamweight
 

Definition at line 27 of file NueFluxWeights.h.

Referenced by NueFluxWeightsAna::Analyze(), NueStandard::GetRPWBeamWeight(), NueFluxWeights(), Print(), Reset(), and ~NueFluxWeights().

std::string NueFluxWeights::skzpConfig
 

Definition at line 25 of file NueFluxWeights.h.

Referenced by NueFluxWeightsAna::Analyze(), and NueFluxWeights().

double NueFluxWeights::skzpShwEnergy
 

Definition at line 24 of file NueFluxWeights.h.

Referenced by NueFluxWeightsAna::Analyze().

double NueFluxWeights::skzpTrkEnergy
 

Definition at line 23 of file NueFluxWeights.h.

Referenced by NueFluxWeightsAna::Analyze().

double NueFluxWeights::totbeamweight
 

Definition at line 18 of file NueFluxWeights.h.

Referenced by NueFluxWeightsAna::Analyze(), NueMiniAnaPID::FillMini(), NueMiniAnaPID::FillRecord(), NueMiniAna::FillRecord(), NueData::FillRecord(), NNTrain::MakeTrainTree(), Print(), Reset(), and NueSystematic::UpdateRecord().

double NueFluxWeights::totskzpweight
 

Definition at line 21 of file NueFluxWeights.h.

Referenced by NueFluxWeightsAna::Analyze(), NueSystematic::DoSKZPCalc(), NueMiniAna::FillMini(), Print(), and Reset().


The documentation for this class was generated from the following files:
Generated on Mon Feb 15 11:09:48 2010 for loon by  doxygen 1.3.9.1