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

NuFCEvent Class Reference

A highly reduced NuEvent object used for event libraries in the Feldman-Cousins analysis. More...

#include <NuFCEvent.h>

List of all members.

Public Member Functions

 NuFCEvent ()
 Blank constuctor. All values set to -999.
 NuFCEvent (const NuFCEvent &ev)
 Copy Construct, copying values from NuFCEvent ev.
 NuFCEvent (const NuEvent &ev)
 (sort of) Copy Construct, copying values from NuEvent ev.
void Extract (const NuEvent &ev)
 Set the members of this to the values stored in NuEvent ev.
void Extract (const NuFCEvent &ev)
 Set the members of this to the values stored in NuFCEvent ev.
void Reset ()
 Set all members to -999.
 ClassDef (NuFCEvent, 3)

Public Attributes

Int_t detector
 1=near 2=far
Float_t energy
 reconstructed energy
Float_t trkEn
 track energy (range or curv. depending on containment)
Float_t shwEn
 shower energy (e.g. primary shw energy)
Float_t rw
 the weight to use as default
Float_t energyMC
 what could be truely reco'd: neuEn*y for NC
Float_t neuEnMC
 p4neu[3];
Int_t iaction
 CC=1, NC=0.
Int_t inu
 >0 particles, <0 anti-particles
Int_t inunoosc
 >0 particles, <0 anti-particles
Int_t charge
 +1 or -1: simply derived from qp (from trk fit)
Float_t ppvz
 mc.flux.ppvz
Int_t ptype
 mc.flux.ptype
Int_t containedTrk
 was the track containted
Float_t fluxErr
 was the track containted


Detailed Description

A highly reduced NuEvent object used for event libraries in the Feldman-Cousins analysis.

Author:
Alex Himmel, Last checkin
Author
ahimmel
Version:
Revision
1.6
Date:
Date
2009/07/06 21:20:29

Definition at line 26 of file NuFCEvent.h.


Constructor & Destructor Documentation

NuFCEvent::NuFCEvent  ) 
 

Blank constuctor. All values set to -999.

Definition at line 11 of file NuFCEvent.cxx.

References Reset().

00012 {
00013   this->Reset();
00014 }

NuFCEvent::NuFCEvent const NuFCEvent ev  ) 
 

Copy Construct, copying values from NuFCEvent ev.

Definition at line 18 of file NuFCEvent.cxx.

References Extract(), and Reset().

00018                                         : TObject()
00019 {
00020   this->Reset();
00021   this->Extract(ev);
00022 }

NuFCEvent::NuFCEvent const NuEvent ev  ) 
 

(sort of) Copy Construct, copying values from NuEvent ev.

Definition at line 27 of file NuFCEvent.cxx.

References Extract(), and Reset().

00027                                       : TObject()
00028 {
00029   this->Reset();
00030   this->Extract(ev);
00031 }


Member Function Documentation

NuFCEvent::ClassDef NuFCEvent  ,
 

void NuFCEvent::Extract const NuFCEvent ev  ) 
 

Set the members of this to the values stored in NuFCEvent ev.

Definition at line 56 of file NuFCEvent.cxx.

References charge, containedTrk, detector, energy, energyMC, fluxErr, iaction, inu, inunoosc, neuEnMC, ppvz, ptype, rw, shwEn, and trkEn.

00057 {
00058   detector = ev.detector;
00059   energy = ev.energy;
00060   trkEn = ev.trkEn;
00061   shwEn = ev.shwEn;
00062   rw = ev.rw;
00063   energyMC = ev.energyMC;
00064   neuEnMC = ev.neuEnMC;
00065   iaction = ev.iaction;
00066   inu = ev.inu;
00067   inunoosc = ev.inunoosc;
00068   charge = ev.charge;
00069   ppvz = ev.ppvz;
00070   ptype = ev.ptype;
00071   containedTrk = ev.containedTrk;
00072   fluxErr = ev.fluxErr;  
00073 }

void NuFCEvent::Extract const NuEvent ev  ) 
 

Set the members of this to the values stored in NuEvent ev.

Definition at line 35 of file NuFCEvent.cxx.

References NuEvent::charge, charge, NuEvent::containedTrk, containedTrk, NuEvent::detector, detector, NuEvent::energy, energy, NuEvent::energyMC, energyMC, NuEvent::fluxErr, fluxErr, NuEvent::iaction, iaction, NuEvent::inu, inu, NuEvent::inunoosc, inunoosc, NuEvent::neuEnMC, neuEnMC, NuEvent::ppvz, ppvz, NuEvent::ptype, ptype, NuEvent::rw, rw, NuEvent::shwEn, shwEn, NuEvent::trkEn, and trkEn.

Referenced by NuDSTAna::MakeFCTree(), and NuFCEvent().

00036 {
00037   detector = ev.detector;
00038   energy = ev.energy;
00039   trkEn = ev.trkEn;
00040   shwEn = ev.shwEn;
00041   rw = ev.rw;
00042   energyMC = ev.energyMC;
00043   neuEnMC = ev.neuEnMC;
00044   iaction = ev.iaction;
00045   inu = ev.inu;
00046   inunoosc = ev.inunoosc;
00047   charge = ev.charge;
00048   ppvz = ev.ppvz;
00049   ptype = ev.ptype;
00050   containedTrk = ev.containedTrk;
00051   fluxErr = ev.fluxErr;  
00052 }

void NuFCEvent::Reset  ) 
 

Set all members to -999.

Definition at line 77 of file NuFCEvent.cxx.

References charge, containedTrk, detector, energy, energyMC, fluxErr, iaction, inu, inunoosc, neuEnMC, ppvz, ptype, rw, shwEn, and trkEn.

Referenced by NuDSTAna::MakeFCTree(), and NuFCEvent().

00078 {
00079   detector = -999;
00080   energy = -999;
00081   trkEn = -999;
00082   shwEn = -999;
00083   rw = -999;
00084   energyMC = -999;
00085   neuEnMC = -999;
00086   iaction = -999;
00087   inu = -999;
00088   inunoosc = -999;
00089   charge = -999;
00090   ppvz = -999;
00091   ptype = -999;
00092   containedTrk = -999;
00093   fluxErr = 0; // Set to 0 so if default value is used, just no syst applied
00094 }


Member Data Documentation

Int_t NuFCEvent::charge
 

+1 or -1: simply derived from qp (from trk fit)

Definition at line 53 of file NuFCEvent.h.

Referenced by Extract(), NuShiftableUnbinnedSpectrum::NuShiftableUnbinnedSpectrum(), Reset(), and NuFCExperimentFactory::StoreEvent().

Int_t NuFCEvent::containedTrk
 

was the track containted

Definition at line 56 of file NuFCEvent.h.

Referenced by Extract(), NuFCExperimentFactory::GetTrkEnergy(), Reset(), and NuFCExperimentFactory::StoreEvent().

Int_t NuFCEvent::detector
 

1=near 2=far

Definition at line 43 of file NuFCEvent.h.

Referenced by Extract(), NuFCExperimentFactory::GetShowerEnergy(), NuFCExperimentFactory::GetTrkEnergy(), Reset(), and NuFCExperimentFactory::StoreEvent().

Float_t NuFCEvent::energy
 

reconstructed energy

Definition at line 44 of file NuFCEvent.h.

Referenced by Extract(), NuFCExperimentFactory::GetReject(), NuShiftableUnbinnedSpectrum::NuShiftableUnbinnedSpectrum(), Reset(), and NuFCExperimentFactory::StoreEvent().

Float_t NuFCEvent::energyMC
 

what could be truely reco'd: neuEn*y for NC

Definition at line 48 of file NuFCEvent.h.

Referenced by Extract(), and Reset().

Float_t NuFCEvent::fluxErr
 

was the track containted

Definition at line 57 of file NuFCEvent.h.

Referenced by Extract(), NuFCExperimentFactory::GetSKZPShift(), Reset(), and NuFCExperimentFactory::StoreEvent().

Int_t NuFCEvent::iaction
 

CC=1, NC=0.

Definition at line 50 of file NuFCEvent.h.

Referenced by Extract(), NuFCExperimentFactory::FillFromFCTree(), NuFCExperimentFactory::GetBGShift(), NuFCExperimentFactory::GetXSecShift(), Reset(), and NuFCExperimentFactory::StoreEvent().

Int_t NuFCEvent::inu
 

>0 particles, <0 anti-particles

Definition at line 51 of file NuFCEvent.h.

Referenced by Extract(), NuFCExperimentFactory::FillFromFCTree(), NuFCExperimentFactory::GetBGShift(), Reset(), and NuFCExperimentFactory::StoreEvent().

Int_t NuFCEvent::inunoosc
 

>0 particles, <0 anti-particles

Definition at line 52 of file NuFCEvent.h.

Referenced by Extract(), NuFCExperimentFactory::FillFromFCTree(), and Reset().

Float_t NuFCEvent::neuEnMC
 

p4neu[3];

Definition at line 49 of file NuFCEvent.h.

Referenced by Extract(), NuFCExperimentFactory::GetReject(), NuFCExperimentFactory::GetXSecShift(), Reset(), and NuFCExperimentFactory::StoreEvent().

Float_t NuFCEvent::ppvz
 

mc.flux.ppvz

Definition at line 54 of file NuFCEvent.h.

Referenced by Extract(), NuFCExperimentFactory::IsDP(), Reset(), and NuFCExperimentFactory::StoreEvent().

Int_t NuFCEvent::ptype
 

mc.flux.ptype

Definition at line 55 of file NuFCEvent.h.

Referenced by Extract(), NuFCExperimentFactory::IsDP(), and Reset().

Float_t NuFCEvent::rw
 

the weight to use as default

Definition at line 47 of file NuFCEvent.h.

Referenced by Extract(), and Reset().

Float_t NuFCEvent::shwEn
 

shower energy (e.g. primary shw energy)

Definition at line 46 of file NuFCEvent.h.

Referenced by Extract(), NuFCExperimentFactory::GetShowerEnergy(), Reset(), and NuFCExperimentFactory::StoreEvent().

Float_t NuFCEvent::trkEn
 

track energy (range or curv. depending on containment)

Definition at line 45 of file NuFCEvent.h.

Referenced by Extract(), NuFCExperimentFactory::GetTrkEnergy(), NuShiftableUnbinnedSpectrum::NuShiftableUnbinnedSpectrum(), Reset(), and NuFCExperimentFactory::StoreEvent().


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