AtNuEventNtuple Class Reference

#include <AtNuEventNtuple.h>

List of all members.

Public Member Functions

 AtNuEventNtuple ()
 AtNuEventNtuple (const char *file, Double_t maxsize_mb=0.0)
 ~AtNuEventNtuple ()
void Open ()
void Close ()
void WriteTracks (Bool_t write=1)
void WriteShowers (Bool_t write=1)
void WriteTracksLimit (Int_t limit=1)
void WriteShowersLimit (Int_t limit=1)
void WriteOutEvent (AtmosEvent *event, Int_t eventtype, Int_t atmoseventtype, Double_t atnushieldtime, Double_t atnuspilltime, Int_t ptrackid, Int_t pshowerid)

Private Member Functions

void OpenFile (TString filename)
void CloseFile ()
void WriteToFile ()
void ResetVariables ()
void WriteVariables (AtmosEvent *event, Int_t eventtype, Int_t atmoseventtype, Double_t atnushieldtime, Double_t atnuspilltime, Int_t ptrackid, Int_t pshowerid)

Private Attributes

TString fNtupleFileName
Double_t fMaxFileSizeBytes
Int_t fFileNumber
TFile * fNtupleFile
TTree * fNtupleTree
Bool_t fWriteTracks
Bool_t fWriteShowers
Int_t fWriteTracksLimit
Int_t fWriteShowersLimit
Int_t index
Int_t last
Int_t idnu
Int_t idact
Int_t idres
Double_t vtxu
Double_t vtxv
Double_t vtxx
Double_t vtxy
Double_t vtxz
Double_t enu
Double_t pnux
Double_t pnuy
Double_t pnuz
Double_t emu
Double_t pmux
Double_t pmuy
Double_t pmuz
Double_t ehad
Double_t phadx
Double_t phady
Double_t phadz
Double_t muvtxu
Double_t muvtxv
Double_t muvtxx
Double_t muvtxy
Double_t muvtxz
Double_t muvtxdr
Int_t muvtxplane
Int_t muvtxstrip
Double_t muendu
Double_t muendv
Double_t muendx
Double_t muendy
Double_t muendz
Double_t muenddr
Int_t muendplane
Int_t muendstrip
Double_t mupvtx
Double_t mupend
Int_t solaridnu
Int_t solartime
Double_t solarweight
Double_t solarminweight
Double_t solarmaxweight
Double_t fluxcvupratio
Double_t fluxelmuratio
Int_t run
Int_t subrun
Int_t snarl
Int_t runtype
Int_t date
Int_t time
Int_t year
Int_t month
Int_t day
Double_t yearfrac
Int_t unixtime
Int_t simflag
Int_t triggersource
Int_t triggertime
Int_t cratemask
Int_t errorcode
Int_t pretriggerdigits
Int_t posttriggerdigits
Int_t snarlmultiplicity
Int_t spillstatus
Int_t spilltype
Double_t spilltimeerror
Int_t spillfinderstatus
Double_t spillfindertime
Int_t beammonstatus
Int_t beammonstatusbits
Int_t beammonselect
Double_t beammontime
Int_t horn_on
Int_t target_in
Int_t beam_type
Int_t n_batches
Int_t litrigger
Int_t litime
Int_t lisubtractedtime
Int_t lirelativetime
Int_t lipulserbox
Int_t lipulserled
Int_t coldchips
Int_t hotchips
Int_t busychips
Int_t readouterrors
Int_t dataqualityword
Int_t nstrips
Int_t goodstrips
Int_t goodplanes
Int_t gooduplanes
Int_t goodvplanes
Double_t maxplaneph
Int_t demuxword
Int_t demuxdigits
Int_t demuxplndigits
Double_t abstime
Double_t totph
Double_t eastph
Double_t westph
Double_t singleph
Double_t singlephu
Double_t singlephv
Double_t doubleph
Double_t doublephu
Double_t doublephv
Int_t eventid
Int_t eventid1
Int_t eventid2
Int_t eventidx
Int_t ntracks
Int_t nshowers
Int_t evttrkreco
Double_t evttrkemcharge
Double_t evttrkprange
Double_t evttrkpcurve
Double_t evttrkdiru
Double_t evttrkdirv
Double_t evttrkdirx
Double_t evttrkdiry
Double_t evttrkdirz
Double_t evttrkqpsigmaqp
Int_t evtshwreco
Double_t evtshwdiru
Double_t evtshwdirv
Double_t evtshwdirx
Double_t evtshwdiry
Double_t evtshwdirz
Double_t evtshwmipslin
Double_t evtshwmipsdwgt
Double_t evtshwgevlin
Double_t evtshwgevdwgt
Double_t evtvtxtime
Double_t evtvtxu
Double_t evtvtxv
Double_t evtvtxx
Double_t evtvtxy
Double_t evtvtxz
Int_t evtvtxplane
Int_t evttrkplanes
Int_t evtshwplanes
Int_t evttrackextension
Int_t multimudemuxflag
Int_t multimuflag
Int_t multimumultiplicity
Double_t multimudiru
Double_t multimudirv
Double_t multimudirx
Double_t multimudiry
Double_t multimudirz
Int_t trkindex
Int_t trklast
Int_t trkprimary
Int_t trkdigits
Int_t trkstrips
Int_t trkplanes
Int_t trkminplane
Int_t trkmaxplane
Int_t trkvtxplane
Double_t trkvtxtime
Double_t trkvtxu
Double_t trkvtxv
Double_t trkvtxx
Double_t trkvtxy
Double_t trkvtxz
Double_t trkvtxtrace
Double_t trkvtxtracez
Double_t trkvtxdr
Double_t trkvtxdiru
Double_t trkvtxdirv
Double_t trkvtxdirx
Double_t trkvtxdiry
Double_t trkvtxdirz
Double_t trkvtxtimerms
Int_t trkvtxtimermsndf
Int_t trkendplane
Double_t trkendtime
Double_t trkendu
Double_t trkendv
Double_t trkendx
Double_t trkendy
Double_t trkendz
Double_t trkendtrace
Double_t trkendtracez
Double_t trkenddr
Double_t trkenddiru
Double_t trkenddirv
Double_t trkenddirx
Double_t trkenddiry
Double_t trkenddirz
Double_t trkendtimerms
Int_t trkendtimermsndf
Double_t trktimeslope
Double_t trktimeoffset
Double_t trktimefitchi2
Double_t trktimefitndf
Double_t trkmomentum
Double_t trkmomentumrange
Double_t trkmomentumcurve
Double_t trkrangemetres
Int_t trkfitpass
Double_t trkfitemcharge
Double_t trkfitqp
Double_t trkfitqptweaked
Double_t trkfitqperr
Double_t trkfitchi2
Int_t trkfitndf
Double_t trkph
Double_t trkassocph
Double_t trkassocphfrac
Double_t trklinfitdiru
Double_t trklinfitdirv
Double_t trklinfitdirz
Double_t trklinfitchi2u
Double_t trklinfitchi2v
Int_t trklinfitndfu
Int_t trklinfitndfv
Double_t trkvtxlinfitchi2u
Double_t trkvtxlinfitchi2v
Int_t trkvtxlinfitndfu
Int_t trkvtxlinfitndfv
Double_t trkendlinfitchi2u
Double_t trkendlinfitchi2v
Int_t trkendlinfitndfu
Int_t trkendlinfitndfv
Int_t trklikeplanes
Int_t trkstripssingle
Int_t trkstripsdouble
Int_t trkonlyplanes
Int_t trkgapplanes
Int_t trkuplanes
Int_t trkvplanes
Double_t trkuvasymmetry
Double_t trkzerocurvechi2
Int_t trkzerocurvendf
Double_t trkvtxdrdigits
Int_t trkvtxplanedigits
Double_t trkvtxuwidth
Double_t trkvtxvwidth
Double_t trkvtxumean
Double_t trkvtxvmean
Double_t trkvtxrmax
Double_t trkvtxqmax
Double_t trkenddrdigits
Int_t trkendplanedigits
Double_t trkenduwidth
Double_t trkendvwidth
Double_t trkendumean
Double_t trkendvmean
Double_t trkendrmax
Double_t trkendqmax
Double_t trknonfidfrac
Int_t shwindex
Int_t shwlast
Int_t shwprimary
Int_t shwdigits
Int_t shwstrips
Int_t shwplanes
Int_t shwminplane
Int_t shwmaxplane
Int_t shwvtxplane
Double_t shwvtxtime
Double_t shwvtxu
Double_t shwvtxv
Double_t shwvtxx
Double_t shwvtxy
Double_t shwvtxz
Double_t shwdiru
Double_t shwdirv
Double_t shwdirx
Double_t shwdiry
Double_t shwdirz
Double_t shwfwdtrace
Double_t shwfwdtracez
Double_t shwbwdtrace
Double_t shwbwdtracez
Double_t shwuptrace
Double_t shwuptracez
Double_t shwvtxdr
Double_t shwph
Double_t shwcalibph
Double_t shwenergy
Int_t shwstripssingle
Int_t shwstripsdouble
Int_t shwuplanes
Int_t shwvplanes
Double_t shwuvasymmetry
Double_t shwassocph
Double_t shwassocphfrac
Double_t shwnonfidfrac
Double_t shwstripsplane
Double_t shwstripsplanerms
Double_t shwchargeplane
Double_t shwchargeplanerms
Double_t shwmoiuvzeigval0
Double_t shwmoiuvzeigval1
Double_t shwmoiuvzeigval2
Double_t shwmoiuzeigval0
Double_t shwmoiuzeigval1
Double_t shwmoivzeigval0
Double_t shwmoivzeigval1
Double_t shieldtime
Double_t spilltime
Int_t goodslice
Int_t goodevent
Int_t goodtrack
Int_t goodshower
Int_t cv
Int_t ce
Int_t up
Int_t dn
Int_t hoz
Int_t updn
Int_t updnfilter
Int_t updnselect
Int_t fc
Int_t pc
Int_t fcpc
Int_t pcdn
Int_t pcup
Int_t raf
Int_t cvup
Int_t upmu
Int_t upnu
Int_t cosmic
Int_t goodcosmic
Int_t stoppingmuon
Int_t throughgoingmuon
Int_t multiplemuon
Int_t veto
Int_t spill
Int_t beamspill
Int_t fakespill
Int_t goodshield
Int_t gooddirection
Int_t goodenergy
Int_t goodenergyfit
Int_t goodcharge
Int_t positivecharge
Int_t negativecharge
Int_t atmosslice
Int_t atmostrack
Int_t atmosshower
Int_t goodatmosslice
Int_t goodatmostrack
Int_t goodatmosshower
Int_t containedatmostrack
Int_t containedatmosshower
Int_t atmosnumu
Int_t atmosnumucv
Int_t atmosnumuup
Int_t atmosnumuupdn
Int_t atmosnumuupdnfilter
Int_t atmosnumuupdnselect
Int_t atmosnue
Int_t atmosnumucvcut1
Int_t atmosnumucvcut2
Int_t atmosnumucvcut3
Int_t atmosnumucvcut4
Int_t atmosnumuupcut1
Int_t atmosnumuupcut2
Int_t atmosnumuupcut3
Int_t atmosnumuupcut4
Int_t atmosnuecvcut1
Int_t atmosnuecvcut2
Int_t atmosnuecvcut3
Int_t atmosnuecvcut4
Int_t lievent
Int_t mcscatter
Double_t trueheight
Double_t truesimpleheight
Double_t truemeanheight
Double_t truepdfheight
Double_t truelength
Double_t truesimplelength
Double_t truemeanlength
Double_t truepdflength
Double_t trueemu
Double_t trueeshw
Double_t trueevis
Double_t recolength
Double_t recoemu
Double_t recoemuraw
Double_t recoemuerr
Double_t recoeshwlin
Double_t recoeshwdwgt
Double_t recoeshwdwgtraw
Double_t recoeshwdwgtcorr
Double_t recoeshwnue
Double_t recoeshw
Double_t recoenu
Double_t resolution
Int_t lores
Int_t hires1
Int_t hires2
Int_t hires3
Int_t hires4

Detailed Description

Definition at line 15 of file AtNuEventNtuple.h.


Constructor & Destructor Documentation

AtNuEventNtuple::AtNuEventNtuple (  ) 

Definition at line 19 of file AtNuEventNtuple.cxx.

00019                                  :
00020   fNtupleFileName("ntp.summary.root"),
00021   fMaxFileSizeBytes(0.0),
00022   fFileNumber(0),
00023   fNtupleFile(0),
00024   fNtupleTree(0),
00025   fWriteTracks(0),
00026   fWriteShowers(0),
00027   fWriteTracksLimit(-1),
00028   fWriteShowersLimit(-1)
00029 {
00030   
00031 }

AtNuEventNtuple::AtNuEventNtuple ( const char *  file,
Double_t  maxsize_mb = 0.0 
)

Definition at line 33 of file AtNuEventNtuple.cxx.

References fMaxFileSizeBytes, and fNtupleFileName.

00033                                                                       :
00034   fFileNumber(0),
00035   fNtupleFile(0),
00036   fNtupleTree(0),
00037   fWriteTracks(0),
00038   fWriteShowers(0),
00039   fWriteTracksLimit(-1),
00040   fWriteShowersLimit(-1)
00041 {
00042   fNtupleFileName = file;
00043   fMaxFileSizeBytes = 1.0e6*maxsize_mb;
00044 }

AtNuEventNtuple::~AtNuEventNtuple (  ) 

Definition at line 46 of file AtNuEventNtuple.cxx.

00047 {
00048   
00049 }


Member Function Documentation

void AtNuEventNtuple::Close (  ) 

Definition at line 58 of file AtNuEventNtuple.cxx.

References CloseFile(), and fNtupleFile.

Referenced by AtNuEventSelector::RunEventSelectionEnd().

00059 {
00060   if( fNtupleFile ){
00061     this->CloseFile();
00062   }
00063 }

void AtNuEventNtuple::CloseFile (  )  [private]

Definition at line 535 of file AtNuEventNtuple.cxx.

References fNtupleFile, and fNtupleTree.

Referenced by Close(), and WriteToFile().

00536 {
00537   if( fNtupleFile ){
00538     std::cout << " closing file: " << fNtupleFile->GetName() << std::endl; 
00539     TDirectory* tmpd = gDirectory;
00540     fNtupleFile->cd();
00541     fNtupleTree->Write();
00542     fNtupleFile->Close();
00543     gDirectory = tmpd;
00544   }
00545 }

void AtNuEventNtuple::Open (  ) 

Definition at line 51 of file AtNuEventNtuple.cxx.

References fNtupleFile, fNtupleFileName, and OpenFile().

00052 {
00053   if( !fNtupleFile ){
00054     this->OpenFile(fNtupleFileName);
00055   }
00056 }

void AtNuEventNtuple::OpenFile ( TString  filename  )  [private]

Definition at line 111 of file AtNuEventNtuple.cxx.

References abstime, atmosnue, atmosnuecvcut1, atmosnuecvcut2, atmosnuecvcut3, atmosnuecvcut4, atmosnumu, atmosnumucv, atmosnumucvcut1, atmosnumucvcut2, atmosnumucvcut3, atmosnumucvcut4, atmosnumuup, atmosnumuupcut1, atmosnumuupcut2, atmosnumuupcut3, atmosnumuupcut4, atmosnumuupdn, atmosnumuupdnfilter, atmosnumuupdnselect, atmosshower, atmosslice, atmostrack, beam_type, beammonselect, beammonstatus, beammonstatusbits, beammontime, beamspill, busychips, ce, coldchips, containedatmosshower, containedatmostrack, cosmic, cratemask, cv, cvup, dataqualityword, date, day, demuxdigits, demuxplndigits, demuxword, dn, doubleph, doublephu, doublephv, eastph, ehad, emu, enu, errorcode, eventid, eventid1, eventid2, eventidx, evtshwdiru, evtshwdirv, evtshwdirx, evtshwdiry, evtshwdirz, evtshwgevdwgt, evtshwgevlin, evtshwmipsdwgt, evtshwmipslin, evtshwplanes, evtshwreco, evttrackextension, evttrkdiru, evttrkdirv, evttrkdirx, evttrkdiry, evttrkdirz, evttrkemcharge, evttrkpcurve, evttrkplanes, evttrkprange, evttrkqpsigmaqp, evttrkreco, evtvtxplane, evtvtxtime, evtvtxu, evtvtxv, evtvtxx, evtvtxy, evtvtxz, fakespill, fc, fcpc, fluxcvupratio, fluxelmuratio, fNtupleFile, fNtupleTree, goodatmosshower, goodatmosslice, goodatmostrack, goodcharge, goodcosmic, gooddirection, goodenergy, goodenergyfit, goodevent, goodplanes, goodshield, goodshower, goodslice, goodstrips, goodtrack, gooduplanes, goodvplanes, hires1, hires2, hires3, hires4, horn_on, hotchips, hoz, idact, idnu, idres, index, last, lievent, lipulserbox, lipulserled, lirelativetime, lisubtractedtime, litime, litrigger, lores, maxplaneph, mcscatter, month, muenddr, muendplane, muendstrip, muendu, muendv, muendx, muendy, muendz, multimudemuxflag, multimudiru, multimudirv, multimudirx, multimudiry, multimudirz, multimuflag, multimumultiplicity, multiplemuon, mupend, mupvtx, muvtxdr, muvtxplane, muvtxstrip, muvtxu, muvtxv, muvtxx, muvtxy, muvtxz, n_batches, negativecharge, nshowers, nstrips, ntracks, pc, pcdn, pcup, phadx, phady, phadz, pmux, pmuy, pmuz, pnux, pnuy, pnuz, positivecharge, posttriggerdigits, pretriggerdigits, raf, readouterrors, recoemu, recoemuerr, recoemuraw, recoenu, recoeshw, recoeshwdwgt, recoeshwdwgtcorr, recoeshwdwgtraw, recoeshwlin, recoeshwnue, recolength, resolution, run, runtype, shieldtime, shwassocph, shwassocphfrac, shwbwdtrace, shwbwdtracez, shwcalibph, shwchargeplane, shwchargeplanerms, shwdigits, shwdiru, shwdirv, shwdirx, shwdiry, shwdirz, shwenergy, shwfwdtrace, shwfwdtracez, shwindex, shwlast, shwmaxplane, shwminplane, shwmoiuvzeigval0, shwmoiuvzeigval1, shwmoiuvzeigval2, shwmoiuzeigval0, shwmoiuzeigval1, shwmoivzeigval0, shwmoivzeigval1, shwnonfidfrac, shwph, shwplanes, shwprimary, shwstrips, shwstripsdouble, shwstripsplane, shwstripsplanerms, shwstripssingle, shwuplanes, shwuptrace, shwuptracez, shwuvasymmetry, shwvplanes, shwvtxdr, shwvtxplane, shwvtxtime, shwvtxu, shwvtxv, shwvtxx, shwvtxy, shwvtxz, simflag, singleph, singlephu, singlephv, snarl, snarlmultiplicity, solaridnu, solarmaxweight, solarminweight, solartime, solarweight, spill, spillfinderstatus, spillfindertime, spillstatus, spilltime, spilltimeerror, spilltype, stoppingmuon, subrun, target_in, throughgoingmuon, time, totph, triggersource, triggertime, trkassocph, trkassocphfrac, trkdigits, trkenddiru, trkenddirv, trkenddirx, trkenddiry, trkenddirz, trkenddr, trkenddrdigits, trkendlinfitchi2u, trkendlinfitchi2v, trkendlinfitndfu, trkendlinfitndfv, trkendplane, trkendplanedigits, trkendqmax, trkendrmax, trkendtime, trkendtimerms, trkendtimermsndf, trkendtrace, trkendtracez, trkendu, trkendumean, trkenduwidth, trkendv, trkendvmean, trkendvwidth, trkendx, trkendy, trkendz, trkfitchi2, trkfitemcharge, trkfitndf, trkfitpass, trkfitqp, trkfitqperr, trkfitqptweaked, trkgapplanes, trkindex, trklast, trklikeplanes, trklinfitchi2u, trklinfitchi2v, trklinfitdiru, trklinfitdirv, trklinfitdirz, trklinfitndfu, trklinfitndfv, trkmaxplane, trkminplane, trkmomentum, trkmomentumcurve, trkmomentumrange, trknonfidfrac, trkonlyplanes, trkph, trkplanes, trkprimary, trkrangemetres, trkstrips, trkstripsdouble, trkstripssingle, trktimefitchi2, trktimefitndf, trktimeoffset, trktimeslope, trkuplanes, trkuvasymmetry, trkvplanes, trkvtxdiru, trkvtxdirv, trkvtxdirx, trkvtxdiry, trkvtxdirz, trkvtxdr, trkvtxdrdigits, trkvtxlinfitchi2u, trkvtxlinfitchi2v, trkvtxlinfitndfu, trkvtxlinfitndfv, trkvtxplane, trkvtxplanedigits, trkvtxqmax, trkvtxrmax, trkvtxtime, trkvtxtimerms, trkvtxtimermsndf, trkvtxtrace, trkvtxtracez, trkvtxu, trkvtxumean, trkvtxuwidth, trkvtxv, trkvtxvmean, trkvtxvwidth, trkvtxx, trkvtxy, trkvtxz, trkzerocurvechi2, trkzerocurvendf, trueemu, trueeshw, trueevis, trueheight, truelength, truemeanheight, truemeanlength, truepdfheight, truepdflength, truesimpleheight, truesimplelength, unixtime, up, updn, updnfilter, updnselect, upmu, upnu, veto, vtxu, vtxv, vtxx, vtxy, vtxz, westph, year, and yearfrac.

Referenced by Open(), and WriteToFile().

00112 {
00113   if( !fNtupleFile ){
00114     std::cout << " opening file: " << filename.Data() << std::endl;
00115     TDirectory* tmpd = gDirectory;
00116     fNtupleFile = new TFile(filename.Data(),"recreate");
00117     fNtupleTree = new TTree("ntuple","minos analysis ntuple");
00118     fNtupleTree->SetDirectory(fNtupleFile);
00119 
00120     fNtupleTree->Branch("index",&index,"index/I");
00121     fNtupleTree->Branch("last",&last,"last/I");
00122 
00123     fNtupleTree->Branch("mc.inu",&idnu,"idnu/I");
00124     fNtupleTree->Branch("mc.iact",&idact,"idact/I");
00125     fNtupleTree->Branch("mc.ires",&idres,"idres/I");
00126     fNtupleTree->Branch("mc.vtxu",&vtxu,"vtxu/D");
00127     fNtupleTree->Branch("mc.vtxv",&vtxv,"vtxv/D");
00128     fNtupleTree->Branch("mc.vtxx",&vtxx,"vtxx/D");
00129     fNtupleTree->Branch("mc.vtxy",&vtxy,"vtxy/D");
00130     fNtupleTree->Branch("mc.vtxz",&vtxz,"vtxz/D");
00131     fNtupleTree->Branch("mc.enu",&enu,"enu/D");
00132     fNtupleTree->Branch("mc.pnux",&pnux,"pnux/D");
00133     fNtupleTree->Branch("mc.pnuy",&pnuy,"pnuy/D");
00134     fNtupleTree->Branch("mc.pnuz",&pnuz,"pnuz/D");
00135     fNtupleTree->Branch("mc.emu",&emu,"emu/D");
00136     fNtupleTree->Branch("mc.pmux",&pmux,"pmux/D");
00137     fNtupleTree->Branch("mc.pmuy",&pmuy,"pmuy/D");
00138     fNtupleTree->Branch("mc.pmuz",&pmuz,"pmuz/D");
00139     fNtupleTree->Branch("mc.ehad",&ehad,"ehad/D");
00140     fNtupleTree->Branch("mc.phadx",&phadx,"phadx/D");
00141     fNtupleTree->Branch("mc.phady",&phady,"phady/D");
00142     fNtupleTree->Branch("mc.phadz",&phadz,"phadz/D");
00143     fNtupleTree->Branch("mc.muvtxu",&muvtxu,"muvtxu/D");  
00144     fNtupleTree->Branch("mc.muvtxv",&muvtxv,"muvtxv/D");    
00145     fNtupleTree->Branch("mc.muvtxx",&muvtxx,"muvtxx/D");    
00146     fNtupleTree->Branch("mc.muvtxy",&muvtxy,"muvtxy/D");    
00147     fNtupleTree->Branch("mc.muvtxz",&muvtxz,"muvtxz/D");    
00148     fNtupleTree->Branch("mc.muvtxdr",&muvtxdr,"muvtxdr/D");   
00149     fNtupleTree->Branch("mc.muvtxplane",&muvtxplane,"muvtxplane/I");   
00150     fNtupleTree->Branch("mc.muvtxstrip",&muvtxstrip,"muvtxstrip/I"); 
00151     fNtupleTree->Branch("mc.muendu",&muendu,"muendu/D");    
00152     fNtupleTree->Branch("mc.muendv",&muendv,"muendv/D");    
00153     fNtupleTree->Branch("mc.muendx",&muendx,"muendx/D");    
00154     fNtupleTree->Branch("mc.muendy",&muendy,"muendy/D");    
00155     fNtupleTree->Branch("mc.muendz",&muendz,"muendz/D");    
00156     fNtupleTree->Branch("mc.muenddr",&muenddr,"muenddr/D");   
00157     fNtupleTree->Branch("mc.muendplane",&muendplane,"muendplane/I");  
00158     fNtupleTree->Branch("mc.muendstrip",&muendstrip,"muendstrip/I"); 
00159     fNtupleTree->Branch("mc.mupvtx",&mupvtx,"mupvtx/D");    
00160     fNtupleTree->Branch("mc.mupend",&mupend,"mupend/D");
00161    
00162     fNtupleTree->Branch("solar.idnu",&solaridnu,"solaridnu/I");
00163     fNtupleTree->Branch("solar.time",&solartime,"solartime/I");
00164     fNtupleTree->Branch("solar.weight",&solarweight,"solarweight/D");
00165     fNtupleTree->Branch("solar.minweight",&solarminweight,"solarminweight/D");
00166     fNtupleTree->Branch("solar.maxweight",&solarmaxweight,"solarmaxweight/D");
00167     fNtupleTree->Branch("flux.cvupratio",&fluxcvupratio,"fluxcvupratio/D");
00168     fNtupleTree->Branch("flux.elmuratio",&fluxelmuratio,"fluxelmuratio/D");
00169 
00170     fNtupleTree->Branch("run",&run,"run/I");
00171     fNtupleTree->Branch("subrun",&subrun,"subrun/I");
00172     fNtupleTree->Branch("snarl",&snarl,"snarl/I");
00173     fNtupleTree->Branch("runtype",&runtype,"runtype/I");
00174     fNtupleTree->Branch("date",&date,"date/I");
00175     fNtupleTree->Branch("time",&time,"time/I");
00176     fNtupleTree->Branch("year",&year,"year/I");
00177     fNtupleTree->Branch("month",&month,"month/I");
00178     fNtupleTree->Branch("day",&day,"day/I");
00179     fNtupleTree->Branch("yearfrac",&yearfrac,"yearfrac/D");
00180     fNtupleTree->Branch("unixtime",&unixtime,"unixtime/I");
00181     fNtupleTree->Branch("simflag",&simflag,"simflag/I");
00182     fNtupleTree->Branch("trigsrc",&triggersource,"triggersource/I");
00183     fNtupleTree->Branch("trigtime",&triggertime,"triggertime/I");
00184     fNtupleTree->Branch("dq.cratemask",&cratemask,"cratemask/I");
00185     fNtupleTree->Branch("dq.errorcode",&errorcode,"errorcode/I");
00186     fNtupleTree->Branch("dq.pretriggerdigits",&pretriggerdigits,"pretriggerdigits/I");
00187     fNtupleTree->Branch("dq.posttriggerdigits",&posttriggerdigits,"posttriggerdigits/I");
00188     fNtupleTree->Branch("ndigits",&snarlmultiplicity,"snarlmultiplicity/I");
00189     fNtupleTree->Branch("spillserver.status",&spillstatus,"spillstatus/I");
00190     fNtupleTree->Branch("spillserver.type",&spilltype,"spilltype/I");
00191     fNtupleTree->Branch("spillserver.gpserror",&spilltimeerror,"spilltimeerror/D");
00192     fNtupleTree->Branch("spillnd.status",&spillfinderstatus,"spillfinderstatus/I");
00193     fNtupleTree->Branch("spillnd.time",&spillfindertime,"spillfindertime/D");
00194     fNtupleTree->Branch("beammon.status",&beammonstatus,"beammonstatus/I");
00195     fNtupleTree->Branch("beammon.statusbits",&beammonstatusbits,"beammonstatusbits/I");
00196     fNtupleTree->Branch("beammon.hornon",&horn_on,"horn_on/I");
00197     fNtupleTree->Branch("beammon.targetin",&target_in,"target_in/I");
00198     fNtupleTree->Branch("beammon.beamtype",&beam_type,"beam_type/I");
00199     fNtupleTree->Branch("beammon.nbatches",&n_batches,"n_batches/I");
00200     fNtupleTree->Branch("beammon.select",&beammonselect,"beammonselect/I");
00201     fNtupleTree->Branch("beammon.time",&beammontime,"beammontime/D");
00202     fNtupleTree->Branch("li.trigger",&litrigger,"litrigger/I");
00203     fNtupleTree->Branch("li.time",&litime,"litime/I");
00204     fNtupleTree->Branch("li.subtime",&lisubtractedtime,"lisubtractedtime/I");
00205     fNtupleTree->Branch("li.reltime",&lirelativetime,"lirelativetime/I");
00206     fNtupleTree->Branch("li.box",&lipulserbox,"lipulserbox/I");
00207     fNtupleTree->Branch("li.led",&lipulserled,"lipulserled/I");
00208     fNtupleTree->Branch("dq.coldchips",&coldchips,"coldchips/I");
00209     fNtupleTree->Branch("dq.hotchips",&hotchips,"hotchips/I");
00210     fNtupleTree->Branch("dq.busychip",&busychips,"busychips/I");
00211     fNtupleTree->Branch("dq.readouterrors",&readouterrors,"readouterrors/I");
00212     fNtupleTree->Branch("dq.dataqualityword",&dataqualityword,"dataqualityword/I");
00213 
00214     fNtupleTree->Branch("evt.nstrips",&nstrips,"nstrips/I");
00215     fNtupleTree->Branch("evt.goodstrips",&goodstrips,"goodstrips/I");
00216     fNtupleTree->Branch("evt.goodplanes",&goodplanes,"goodplanes/I");
00217     fNtupleTree->Branch("evt.gooduplanes",&gooduplanes,"gooduplanes/I");
00218     fNtupleTree->Branch("evt.goodvplanes",&goodvplanes,"goodvplanes/I");
00219     fNtupleTree->Branch("evt.maxplaneph",&maxplaneph,"maxplaneph/D");
00220     fNtupleTree->Branch("evt.demuxword",&demuxword,"demuxword/I");
00221     fNtupleTree->Branch("evt.demuxdigits",&demuxdigits,"demuxdigits/I");
00222     fNtupleTree->Branch("evt.demuxplndigits",&demuxplndigits,"demuxplndigits/I");
00223     fNtupleTree->Branch("evt.abstime",&abstime,"abstime/D");    
00224     fNtupleTree->Branch("evt.totph",&totph,"totph/D");
00225     fNtupleTree->Branch("evt.eastph",&eastph,"eastph/D");
00226     fNtupleTree->Branch("evt.westph",&westph,"westph/D");
00227     fNtupleTree->Branch("evt.singleph",&singleph,"singleph/D");
00228     fNtupleTree->Branch("evt.singlephu",&singlephu,"singlephu/D");
00229     fNtupleTree->Branch("evt.singlephv",&singlephv,"singlephv/D");
00230     fNtupleTree->Branch("evt.doubleph",&doubleph,"doubleph/D");
00231     fNtupleTree->Branch("evt.doublephu",&doublephu,"doublephu/D");
00232     fNtupleTree->Branch("evt.doublephv",&doublephv,"doublephv/D");
00233     fNtupleTree->Branch("evt.eventid",&eventid,"eventid/I");
00234     fNtupleTree->Branch("evt.eventid1",&eventid1,"eventid1/I");
00235     fNtupleTree->Branch("evt.eventid2",&eventid2,"eventid2/I");
00236     fNtupleTree->Branch("evt.eventidx",&eventidx,"eventidx/I");
00237     fNtupleTree->Branch("evt.ntracks",&ntracks,"ntracks/I");
00238     fNtupleTree->Branch("evt.nshowers",&nshowers,"nshowers/I");
00239     fNtupleTree->Branch("evt.trkreco",&evttrkreco,"evttrkreco/I");
00240     fNtupleTree->Branch("evt.trkemcharge",&evttrkemcharge,"evttrkemcharge/D");
00241     fNtupleTree->Branch("evt.trkprange",&evttrkprange,"evttrkprange/D");
00242     fNtupleTree->Branch("evt.trkpcurve",&evttrkpcurve,"evttrkpcurve/D");
00243     fNtupleTree->Branch("evt.trkdiru",&evttrkdiru,"evttrkdiru/D");
00244     fNtupleTree->Branch("evt.trkdirv",&evttrkdirv,"evttrkdirv/D");
00245     fNtupleTree->Branch("evt.trkdirx",&evttrkdirx,"evttrkdirx/D");
00246     fNtupleTree->Branch("evt.trkdiry",&evttrkdiry,"evttrkdiry/D");
00247     fNtupleTree->Branch("evt.trkdirz",&evttrkdirz,"evttrkdirz/D");
00248     fNtupleTree->Branch("evt.trkqpsigmaqp",&evttrkqpsigmaqp,"evttrkqpsigmaqp/D");
00249     fNtupleTree->Branch("evt.shwreco",&evtshwreco,"evtshwreco/I");
00250     fNtupleTree->Branch("evt.shwdiru",&evtshwdiru,"evtshwdiru/D");
00251     fNtupleTree->Branch("evt.shwdirv",&evtshwdirv,"evtshwdirv/D");
00252     fNtupleTree->Branch("evt.shwdirx",&evtshwdirx,"evtshwdirx/D");
00253     fNtupleTree->Branch("evt.shwdiry",&evtshwdiry,"evtshwdiry/D");
00254     fNtupleTree->Branch("evt.shwdirz",&evtshwdirz,"evtshwdirz/D");
00255     fNtupleTree->Branch("evt.shwmipslin",&evtshwmipslin,"evtshwmipslin/D");
00256     fNtupleTree->Branch("evt.shwmipsdwgt",&evtshwmipsdwgt,"evtshwmipsdwgt/D");
00257     fNtupleTree->Branch("evt.shwgevlin",&evtshwgevlin,"evtshwgevlin/D");
00258     fNtupleTree->Branch("evt.shwgevdwgt",&evtshwgevdwgt,"evtshwgevdwgt/D");
00259     fNtupleTree->Branch("evt.vtxtime",&evtvtxtime,"evtvtxtime/D");
00260     fNtupleTree->Branch("evt.vtxu",&evtvtxu,"evtvtxu/D");
00261     fNtupleTree->Branch("evt.vtxv",&evtvtxv,"evtvtxv/D");
00262     fNtupleTree->Branch("evt.vtxx",&evtvtxx,"evtvtxx/D");
00263     fNtupleTree->Branch("evt.vtxy",&evtvtxy,"evtvtxy/D");
00264     fNtupleTree->Branch("evt.vtxz",&evtvtxz,"evtvtxz/D");
00265     fNtupleTree->Branch("evt.vtxplane",&evtvtxplane,"evtvtxplane/I");
00266     fNtupleTree->Branch("evt.trkplanes",&evttrkplanes,"evttrkplanes/I");
00267     fNtupleTree->Branch("evt.shwplanes",&evtshwplanes,"evtshwplanes/I");
00268     fNtupleTree->Branch("evt.trackextension",&evttrackextension,"evttrackextension/I");
00269     fNtupleTree->Branch("multimu.demuxflag",&multimudemuxflag,"multimudemuxflag/I");
00270     fNtupleTree->Branch("multimu.flag",&multimuflag,"multimuflag/I");
00271     fNtupleTree->Branch("multimu.multiplicity",&multimumultiplicity,"multimumultiplicity/I");
00272     fNtupleTree->Branch("multimu.diru",&multimudiru,"multimudiru/D");
00273     fNtupleTree->Branch("multimu.dirv",&multimudirv,"multimudirv/D");
00274     fNtupleTree->Branch("multimu.dirx",&multimudirx,"multimudirx/D");
00275     fNtupleTree->Branch("multimu.diry",&multimudiry,"multimudiry/D");
00276     fNtupleTree->Branch("multimu.dirz",&multimudirz,"multimudirz/D");
00277 
00278     fNtupleTree->Branch("trk.index",&trkindex,"trkindex/I");
00279     fNtupleTree->Branch("trk.last",&trklast,"trklast/I");
00280     fNtupleTree->Branch("trk.primary",&trkprimary,"trkprimary/I");
00281     fNtupleTree->Branch("trk.digits",&trkdigits,"trkdigits/I");
00282     fNtupleTree->Branch("trk.strips",&trkstrips,"trkstrips/I");
00283     fNtupleTree->Branch("trk.planes",&trkplanes,"trkplanes/I");
00284     fNtupleTree->Branch("trk.minplane",&trkminplane,"trkminplane/I");
00285     fNtupleTree->Branch("trk.maxplane",&trkmaxplane,"trkmaxplane/I");
00286     fNtupleTree->Branch("trk.vtxplane",&trkvtxplane,"trkvtxplane/I");
00287     fNtupleTree->Branch("trk.vtxtime",&trkvtxtime,"trkvtxtime/D");
00288     fNtupleTree->Branch("trk.vtxu",&trkvtxu,"trkvtxu/D");
00289     fNtupleTree->Branch("trk.vtxv",&trkvtxv,"trkvtxv/D");
00290     fNtupleTree->Branch("trk.vtxx",&trkvtxx,"trkvtxx/D");
00291     fNtupleTree->Branch("trk.vtxy",&trkvtxy,"trkvtxy/D");
00292     fNtupleTree->Branch("trk.vtxz",&trkvtxz,"trkvtxz/D");
00293     fNtupleTree->Branch("trk.vtxtrace",&trkvtxtrace,"trkvtxtrace/D");
00294     fNtupleTree->Branch("trk.vtxtracez",&trkvtxtracez,"trkvtxtracez/D");
00295     fNtupleTree->Branch("trk.vtxdr",&trkvtxdr,"trkvtxdr/D");
00296     fNtupleTree->Branch("trk.vtxdiru",&trkvtxdiru,"trkvtxdiru/D");
00297     fNtupleTree->Branch("trk.vtxdirv",&trkvtxdirv,"trkvtxdirv/D");
00298     fNtupleTree->Branch("trk.vtxdirx",&trkvtxdirx,"trkvtxdirx/D");
00299     fNtupleTree->Branch("trk.vtxdiry",&trkvtxdiry,"trkvtxdiry/D");
00300     fNtupleTree->Branch("trk.vtxdirz",&trkvtxdirz,"trkvtxdirz/D");
00301     fNtupleTree->Branch("trk.vtxtimerms",&trkvtxtimerms,"trkvtxtimerms/D");
00302     fNtupleTree->Branch("trk.vtxtimermsndf",&trkvtxtimermsndf,"trkvtxtimermsndf/I");
00303     fNtupleTree->Branch("trk.endplane",&trkendplane,"trkendplane/I");
00304     fNtupleTree->Branch("trk.endtime",&trkendtime,"trkendtime/D");
00305     fNtupleTree->Branch("trk.endu",&trkendu,"trkendu/D");
00306     fNtupleTree->Branch("trk.endv",&trkendv,"trkendv/D");
00307     fNtupleTree->Branch("trk.endx",&trkendx,"trkendx/D");
00308     fNtupleTree->Branch("trk.endy",&trkendy,"trkendy/D");
00309     fNtupleTree->Branch("trk.endz",&trkendz,"trkendz/D");
00310     fNtupleTree->Branch("trk.endtrace",&trkendtrace,"trkendtrace/D");
00311     fNtupleTree->Branch("trk.endtracez",&trkendtracez,"trkendtracez/D");
00312     fNtupleTree->Branch("trk.enddr",&trkenddr,"trkenddr/D");
00313     fNtupleTree->Branch("trk.enddiru",&trkenddiru,"trkenddiru/D");
00314     fNtupleTree->Branch("trk.enddirv",&trkenddirv,"trkenddirv/D");
00315     fNtupleTree->Branch("trk.enddirx",&trkenddirx,"trkenddirx/D");
00316     fNtupleTree->Branch("trk.enddiry",&trkenddiry,"trkenddiry/D");
00317     fNtupleTree->Branch("trk.enddirz",&trkenddirz,"trkenddirz/D");
00318     fNtupleTree->Branch("trk.endtimerms",&trkendtimerms,"trkendtimerms/D");
00319     fNtupleTree->Branch("trk.endtimermsndf",&trkendtimermsndf,"trkendtimermsndf/I");
00320     fNtupleTree->Branch("trk.timeslope",&trktimeslope,"trktimeslope/D");
00321     fNtupleTree->Branch("trk.timeoffset",&trktimeoffset,"trktimeoffset/D");
00322     fNtupleTree->Branch("trk.timefitchi2",&trktimefitchi2,"trktimefitchi2/D");
00323     fNtupleTree->Branch("trk.timefitndf",&trktimefitndf,"trktimefitndf/D"); // (double?)
00324     fNtupleTree->Branch("trk.momentum",&trkmomentum,"trkmomentum/D");
00325     fNtupleTree->Branch("trk.momentumrange",&trkmomentumrange,"trkmomentumrange/D");
00326     fNtupleTree->Branch("trk.momentumcurve",&trkmomentumcurve,"trkmomentumcurve/D");
00327     fNtupleTree->Branch("trk.rangemetres",&trkrangemetres,"trkrangemetres/D");
00328     fNtupleTree->Branch("trkfit.pass",&trkfitpass,"trkfitpass/I");
00329     fNtupleTree->Branch("trkfit.emcharge",&trkfitemcharge,"trkfitemcharge/D");
00330     fNtupleTree->Branch("trkfit.qp",&trkfitqp,"trkfitqp/D");
00331     fNtupleTree->Branch("trkfit.qptweaked",&trkfitqptweaked,"trkfitqptweaked/D");
00332     fNtupleTree->Branch("trkfit.qperr",&trkfitqperr,"trkfitqperr/D");
00333     fNtupleTree->Branch("trkfit.chi2",&trkfitchi2,"trkfitchi2/D");
00334     fNtupleTree->Branch("trkfit.ndf",&trkfitndf,"trkfitndf/I");
00335     fNtupleTree->Branch("trk.ph",&trkph,"trkph/D");
00336     fNtupleTree->Branch("trk.assocph",&trkassocph,"trkassocph/D");
00337     fNtupleTree->Branch("trk.assocphfrac",&trkassocphfrac,"trkassocphfrac/D");
00338     fNtupleTree->Branch("trk.linfitdiru",&trklinfitdiru,"trklinfitdiru/D");     
00339     fNtupleTree->Branch("trk.linfitdirv",&trklinfitdirv,"trklinfitdirv/D");   
00340     fNtupleTree->Branch("trk.linfitdirz",&trklinfitdirz,"trklinfitdirz/D");    
00341     fNtupleTree->Branch("trk.linfitchi2u",&trklinfitchi2u,"trklinfitchi2u/D");    
00342     fNtupleTree->Branch("trk.linfitchi2v",&trklinfitchi2v,"trklinfitchi2v/D");    
00343     fNtupleTree->Branch("trk.linfitndfu",&trklinfitndfu,"trklinfitndfu/I");        
00344     fNtupleTree->Branch("trk.linfitndfv",&trklinfitndfv,"trklinfitndfv/I");        
00345     fNtupleTree->Branch("trk.vtxlinfitchi2u",&trkvtxlinfitchi2u,"trkvtxlinfitchi2u/D"); 
00346     fNtupleTree->Branch("trk.vtxlinfitchi2v",&trkvtxlinfitchi2v,"trkvtxlinfitchi2v/D"); 
00347     fNtupleTree->Branch("trk.vtxlinfitndfu",&trkvtxlinfitndfu,"trkvtxlinfitndfu/I");     
00348     fNtupleTree->Branch("trk.vtxlinfitndfv",&trkvtxlinfitndfv,"trkvtxlinfitndfv/I");     
00349     fNtupleTree->Branch("trk.endlinfitchi2u",&trkendlinfitchi2u,"trkendlinfitchi2u/D"); 
00350     fNtupleTree->Branch("trk.endlinfitchi2v",&trkendlinfitchi2v,"trkendlinfitchi2v/D"); 
00351     fNtupleTree->Branch("trk.endlinfitndfu",&trkendlinfitndfu,"trkendlinfitndfu/I");     
00352     fNtupleTree->Branch("trk.endlinfitndfv",&trkendlinfitndfv,"trkendlinfitndfv/I");     
00353     fNtupleTree->Branch("trk.tracklikeplanes",&trklikeplanes,"trklikeplanes/I");
00354     fNtupleTree->Branch("trk.stripssingle",&trkstripssingle,"trkstripssingle/I");
00355     fNtupleTree->Branch("trk.stripsdouble",&trkstripsdouble,"trkstripsdouble/I");
00356     fNtupleTree->Branch("trk.trackonlyplanes",&trkonlyplanes,"trkonlyplanes/I");
00357     fNtupleTree->Branch("trk.trackgapplanes",&trkgapplanes,"trkgapplanes/I");
00358     fNtupleTree->Branch("trk.uplanes",&trkuplanes,"trkuplanes/I");
00359     fNtupleTree->Branch("trk.vplanes",&trkvplanes,"trkvplanes/I");
00360     fNtupleTree->Branch("trk.uvasymmetry",&trkuvasymmetry,"trkuvasymmetry/D");
00361     fNtupleTree->Branch("trk.zerocurvechi2",&trkzerocurvechi2,"trkzerocurvechi2/D");
00362     fNtupleTree->Branch("trk.zerocurvendf",&trkzerocurvendf,"trkzerocurvendf/I");
00363     fNtupleTree->Branch("trk.vtxdrdigits",&trkvtxdrdigits,"trkvtxdrdigits/D");
00364     fNtupleTree->Branch("trk.vtxplanedigits",&trkvtxplanedigits,"trkvtxplanedigits/I");
00365     fNtupleTree->Branch("trk.vtxuwidth",&trkvtxuwidth,"trkvtxuwidth/D");
00366     fNtupleTree->Branch("trk.vtxvwidth",&trkvtxvwidth,"trkvtxvwidth/D");
00367     fNtupleTree->Branch("trk.vtxumean",&trkvtxumean,"trkvtxumean/D");
00368     fNtupleTree->Branch("trk.vtxvmean",&trkvtxvmean,"trkvtxvmean/D");
00369     fNtupleTree->Branch("trk.vtxrmax",&trkvtxrmax,"trkvtxrmax/D");
00370     fNtupleTree->Branch("trk.vtxqmax",&trkvtxqmax,"trkvtxqmax/D");
00371     fNtupleTree->Branch("trk.enddrdigits",&trkenddrdigits,"trkenddrdigits/D");
00372     fNtupleTree->Branch("trk.endplanedigits",&trkendplanedigits,"trkendplanedigits/I");
00373     fNtupleTree->Branch("trk.enduwidth",&trkenduwidth,"trkenduwidth/D");
00374     fNtupleTree->Branch("trk.endvwidth",&trkendvwidth,"trkendvwidth/D");
00375     fNtupleTree->Branch("trk.endumean",&trkendumean,"trkendumean/D");
00376     fNtupleTree->Branch("trk.endvmean",&trkendvmean,"trkendvmean/D");
00377     fNtupleTree->Branch("trk.endrmax",&trkendrmax,"trkendrmax/D");
00378     fNtupleTree->Branch("trk.endqmax",&trkendqmax,"trkendqmax/D");
00379     fNtupleTree->Branch("trk.nonfidfrac",&trknonfidfrac,"trknonfidfrac/D");
00380     
00381     fNtupleTree->Branch("shw.index",&shwindex,"shwindex/I");
00382     fNtupleTree->Branch("shw.last",&shwlast,"shwlast/I");
00383     fNtupleTree->Branch("shw.primary",&shwprimary,"shwprimary/I");
00384     fNtupleTree->Branch("shw.digits",&shwdigits,"shwdigits/I");
00385     fNtupleTree->Branch("shw.strips",&shwstrips,"shwstrips/I");
00386     fNtupleTree->Branch("shw.planes",&shwplanes,"shwplanes/I");
00387     fNtupleTree->Branch("shw.minplane",&shwminplane,"shwminplane/I");
00388     fNtupleTree->Branch("shw.maxplane",&shwmaxplane,"shwmaxplane/I");
00389     fNtupleTree->Branch("shw.vtxplane",&shwvtxplane,"shwvtxplane/I");
00390     fNtupleTree->Branch("shw.vtxtime",&shwvtxtime,"shwvtxtime/D");
00391     fNtupleTree->Branch("shw.vtxu",&shwvtxu,"shwvtxu/D");
00392     fNtupleTree->Branch("shw.vtxv",&shwvtxv,"shwvtxv/D");
00393     fNtupleTree->Branch("shw.vtxx",&shwvtxx,"shwvtxx/D");
00394     fNtupleTree->Branch("shw.vtxy",&shwvtxy,"shwvtxy/D");
00395     fNtupleTree->Branch("shw.vtxz",&shwvtxz,"shwvtxz/D");
00396     fNtupleTree->Branch("shw.diru",&shwdiru,"shwdiru/D");
00397     fNtupleTree->Branch("shw.dirv",&shwdirv,"shwdirv/D");
00398     fNtupleTree->Branch("shw.dirx",&shwdirx,"shwdirx/D");
00399     fNtupleTree->Branch("shw.diry",&shwdiry,"shwdiry/D");
00400     fNtupleTree->Branch("shw.dirz",&shwdirz,"shwdirz/D");
00401     fNtupleTree->Branch("shw.fwdtrace",&shwfwdtrace,"shwfwdtrace/D");
00402     fNtupleTree->Branch("shw.fwdtracez",&shwfwdtracez,"shwfwdtracez/D");
00403     fNtupleTree->Branch("shw.bwdtrace",&shwbwdtrace,"shwbwdtrace/D");
00404     fNtupleTree->Branch("shw.bwdtracez",&shwbwdtracez,"shwbwdtracez/D");
00405     fNtupleTree->Branch("shw.uptrace",&shwuptrace,"shwuptrace/D");
00406     fNtupleTree->Branch("shw.uptracez",&shwuptracez,"shwuptracez/D");
00407     fNtupleTree->Branch("shw.vtxdr",&shwvtxdr,"shwvtxdr/D");
00408     fNtupleTree->Branch("shw.ph",&shwph,"shwph/D");
00409     fNtupleTree->Branch("shw.calibph",&shwcalibph,"shwcalibph/D");
00410     fNtupleTree->Branch("shw.energy",&shwenergy,"shwenergy/D");
00411     fNtupleTree->Branch("shw.stripssingle",&shwstripssingle,"shwstripssingle/I");
00412     fNtupleTree->Branch("shw.stripsdouble",&shwstripsdouble,"shwstripsdouble/I");
00413     fNtupleTree->Branch("shw.uplanes",&shwuplanes,"shwuplanes/I");
00414     fNtupleTree->Branch("shw.vplanes",&shwvplanes,"shwvplanes/I");
00415     fNtupleTree->Branch("shw.uvasymmetry",&shwuvasymmetry,"shwuvasymmetry/D");
00416     fNtupleTree->Branch("shw.assocph",&shwassocph,"shwassocph/D");
00417     fNtupleTree->Branch("shw.assocphfrac",&shwassocphfrac,"shwassocphfrac/D");
00418     fNtupleTree->Branch("shw.nonfidfrac",&shwnonfidfrac,"shwnonfidfrac/D");
00419     fNtupleTree->Branch("shw.stripsplane",&shwstripsplane,"shwstripsplane/D");
00420     fNtupleTree->Branch("shw.stripsplanerms",&shwstripsplanerms,"shwstripsplanerms/D");
00421     fNtupleTree->Branch("shw.chargeplane",&shwchargeplane,"shwchargeplane/D");
00422     fNtupleTree->Branch("shw.chargeplanerms",&shwchargeplanerms,"shwchargeplanerms/D");
00423     fNtupleTree->Branch("shw.moiuvzeigval0",&shwmoiuvzeigval0,"shwmoiuvzeigval0/D");
00424     fNtupleTree->Branch("shw.moiuvzeigval1",&shwmoiuvzeigval1,"shwmoiuvzeigval1/D");
00425     fNtupleTree->Branch("shw.moiuvzeigval2",&shwmoiuvzeigval2,"shwmoiuvzeigval2/D");
00426     fNtupleTree->Branch("shw.moiuzeigval0",&shwmoiuzeigval0,"shwmoiuzeigval0/D");
00427     fNtupleTree->Branch("shw.moiuzeigval1",&shwmoiuzeigval1,"shwmoiuzeigval1/D");
00428     fNtupleTree->Branch("shw.moivzeigval0",&shwmoivzeigval0,"shwmoivzeigval0/D");
00429     fNtupleTree->Branch("shw.moivzeigval1",&shwmoivzeigval1,"shwmoivzeigval1/D");
00430 
00431     fNtupleTree->Branch("evt.shieldtime",&shieldtime,"shieldtime/D");
00432     fNtupleTree->Branch("evt.spilltime",&spilltime,"spilltime/D");
00433     fNtupleTree->Branch("evt.goodslice",&goodslice,"goodslice/I");
00434     fNtupleTree->Branch("evt.goodevent",&goodevent,"goodevent/I");
00435     fNtupleTree->Branch("evt.goodtrack",&goodtrack,"goodtrack/I");
00436     fNtupleTree->Branch("evt.goodshower",&goodshower,"goodshower/I");
00437     fNtupleTree->Branch("evt.cv",&cv,"cv/I");
00438     fNtupleTree->Branch("evt.ce",&ce,"ce/I");
00439     fNtupleTree->Branch("evt.up",&up,"up/I");
00440     fNtupleTree->Branch("evt.dn",&dn,"dn/I");
00441     fNtupleTree->Branch("evt.hoz",&hoz,"hoz/I");
00442     fNtupleTree->Branch("evt.updn",&updn,"updn/I");
00443     fNtupleTree->Branch("evt.updnfilter",&updnfilter,"updnfilter/I");
00444     fNtupleTree->Branch("evt.updnselect",&updnselect,"updnselect/I");
00445     fNtupleTree->Branch("evt.fc",&fc,"fc/I");
00446     fNtupleTree->Branch("evt.pc",&pc,"pc/I");
00447     fNtupleTree->Branch("evt.fcpc",&fcpc,"fcpc/I");
00448     fNtupleTree->Branch("evt.pcdn",&pcdn,"pcdn/I");
00449     fNtupleTree->Branch("evt.pcup",&pcup,"pcup/I");
00450     fNtupleTree->Branch("evt.raf",&raf,"raf/I");
00451     fNtupleTree->Branch("evt.cvup",&cvup,"cvup/I");
00452     fNtupleTree->Branch("evt.upmu",&upmu,"upmu/I");
00453     fNtupleTree->Branch("evt.upnu",&upnu,"upnu/I");
00454     fNtupleTree->Branch("evt.cosmic",&cosmic,"cosmic/I");
00455     fNtupleTree->Branch("evt.goodcosmic",&goodcosmic,"goodcosmic/I");
00456     fNtupleTree->Branch("evt.stoppingmuon",&stoppingmuon,"stoppingmuon/I");
00457     fNtupleTree->Branch("evt.throughgoingmuon",&throughgoingmuon,"throughgoingmuon/I");
00458     fNtupleTree->Branch("evt.multiplemuon",&multiplemuon,"multiplemuon/I");
00459     fNtupleTree->Branch("evt.veto",&veto,"veto/I");
00460     fNtupleTree->Branch("evt.spill",&spill,"spill/I");
00461     fNtupleTree->Branch("evt.beamspill",&beamspill,"beamspill/I");
00462     fNtupleTree->Branch("evt.fakespill",&fakespill,"fakespill/I");
00463     fNtupleTree->Branch("evt.goodshield",&goodshield,"goodshield/I");
00464     fNtupleTree->Branch("evt.gooddirection",&gooddirection,"gooddirection/I");
00465     fNtupleTree->Branch("evt.goodenergy",&goodenergy,"goodenergy/I");
00466     fNtupleTree->Branch("evt.goodenergyfit",&goodenergyfit,"goodenergyfit/I");
00467     fNtupleTree->Branch("evt.goodcharge",&goodcharge,"goodcharge/I");   
00468     fNtupleTree->Branch("evt.positivecharge",&positivecharge,"positivecharge/I"); 
00469     fNtupleTree->Branch("evt.negativecharge",&negativecharge,"negativecharge/I");
00470     fNtupleTree->Branch("evt.atmosslice",&atmosslice,"atmosslice/I");   
00471     fNtupleTree->Branch("evt.atmostrack",&atmostrack,"atmostrack/I"); 
00472     fNtupleTree->Branch("evt.atmosshower",&atmosshower,"atmosshower/I"); 
00473     fNtupleTree->Branch("evt.goodatmosslice",&goodatmosslice,"goodatmosslice/I");   
00474     fNtupleTree->Branch("evt.goodatmostrack",&goodatmostrack,"goodatmostrack/I"); 
00475     fNtupleTree->Branch("evt.goodatmosshower",&goodatmosshower,"goodatmosshower/I"); 
00476     fNtupleTree->Branch("evt.containedatmostrack",&containedatmostrack,"containedatmostrack/I"); 
00477     fNtupleTree->Branch("evt.containedatmosshower",&containedatmosshower,"containedatmosshower/I"); 
00478     fNtupleTree->Branch("evt.atmosnumu",&atmosnumu,"atmosnumu/I");      
00479     fNtupleTree->Branch("evt.atmosnumucv",&atmosnumucv,"atmosnumucv/I");    
00480     fNtupleTree->Branch("evt.atmosnumuup",&atmosnumuup,"atmosnumuup/I");  
00481     fNtupleTree->Branch("evt.atmosnumuupdn",&atmosnumuupdn,"atmosnumuupdn/I");   
00482     fNtupleTree->Branch("evt.atmosnumuupdnfilter",&atmosnumuupdnfilter,"atmosnumuupdnfilter/I"); 
00483     fNtupleTree->Branch("evt.atmosnumuupdnselect",&atmosnumuupdnselect,"atmosnumuupdnselect/I"); 
00484     fNtupleTree->Branch("evt.atmosnue",&atmosnue,"atmosnue/I");     
00485     fNtupleTree->Branch("evt.atmosnumucvcut1",&atmosnumucvcut1,"atmosnumucvcut1/I");
00486     fNtupleTree->Branch("evt.atmosnumucvcut2",&atmosnumucvcut2,"atmosnumucvcut2/I");
00487     fNtupleTree->Branch("evt.atmosnumucvcut3",&atmosnumucvcut3,"atmosnumucvcut3/I");
00488     fNtupleTree->Branch("evt.atmosnumucvcut4",&atmosnumucvcut4,"atmosnumucvcut4/I");
00489     fNtupleTree->Branch("evt.atmosnumuupcut1",&atmosnumuupcut1,"atmosnumuupcut1/I");
00490     fNtupleTree->Branch("evt.atmosnumuupcut2",&atmosnumuupcut2,"atmosnumuupcut2/I");
00491     fNtupleTree->Branch("evt.atmosnumuupcut3",&atmosnumuupcut3,"atmosnumuupcut3/I");
00492     fNtupleTree->Branch("evt.atmosnumuupcut4",&atmosnumuupcut4,"atmosnumuupcut4/I");
00493     fNtupleTree->Branch("evt.atmosnuecvcut1",&atmosnuecvcut1,"atmosnuecvcut1/I");
00494     fNtupleTree->Branch("evt.atmosnuecvcut2",&atmosnuecvcut2,"atmosnuecvcut2/I");
00495     fNtupleTree->Branch("evt.atmosnuecvcut3",&atmosnuecvcut3,"atmosnuecvcut3/I");
00496     fNtupleTree->Branch("evt.atmosnuecvcut4",&atmosnuecvcut4,"atmosnuecvcut4/I");
00497     fNtupleTree->Branch("evt.lievent",&lievent,"lievent/I");
00498     fNtupleTree->Branch("evt.mcscatter",&mcscatter,"mcscatter/I");
00499 
00500     fNtupleTree->Branch("evt.trueheight",&trueheight,"trueheight/D");
00501     fNtupleTree->Branch("evt.truelength",&truelength,"truelength/D");
00502     fNtupleTree->Branch("evt.truesimpleheight",&truesimpleheight,"truesimpleheight/D");
00503     fNtupleTree->Branch("evt.truesimplelength",&truesimplelength,"truesimplelength/D");
00504     fNtupleTree->Branch("evt.truemeanheight",&truemeanheight,"truemeanheight/D");
00505     fNtupleTree->Branch("evt.truemeanlength",&truemeanlength,"truemeanlength/D");
00506     fNtupleTree->Branch("evt.truepdfheight",&truepdfheight,"truepdfheight/D");
00507     fNtupleTree->Branch("evt.truepdflength",&truepdflength,"truepdflength/D");
00508     fNtupleTree->Branch("evt.trueemu",&trueemu,"trueemu/D");
00509     fNtupleTree->Branch("evt.trueeshw",&trueeshw,"trueeshw/D");
00510     fNtupleTree->Branch("evt.trueevis",&trueevis,"trueevis/D");
00511     fNtupleTree->Branch("evt.recolength",&recolength,"recolength/D");
00512     fNtupleTree->Branch("evt.recoemu",&recoemu,"recoemu/D");
00513     fNtupleTree->Branch("evt.recoemuraw",&recoemuraw,"recoemuraw/D");
00514     fNtupleTree->Branch("evt.recoemuerr",&recoemuerr,"recoemuerr/D");
00515     fNtupleTree->Branch("evt.recoeshwlin",&recoeshwlin,"recoeshwlin/D");
00516     fNtupleTree->Branch("evt.recoeshwdwgt",&recoeshwdwgt,"recoeshwdwgt/D");
00517     fNtupleTree->Branch("evt.recoeshwdwgtraw",&recoeshwdwgtraw,"recoeshwdwgtraw/D");
00518     fNtupleTree->Branch("evt.recoeshwdwgtcorr",&recoeshwdwgtcorr,"recoeshwdwgtcorr/D");
00519     fNtupleTree->Branch("evt.recoeshwnue",&recoeshwnue,"recoeshwnue/D");
00520     fNtupleTree->Branch("evt.recoeshw",&recoeshw,"recoeshw/D");
00521     fNtupleTree->Branch("evt.recoenu",&recoenu,"recoenu/D");
00522 
00523     fNtupleTree->Branch("evt.resolution",&resolution,"resolution/D");
00524     fNtupleTree->Branch("evt.lores",&lores,"lores/I");
00525     fNtupleTree->Branch("evt.hires1",&hires1,"hires1/I");
00526     fNtupleTree->Branch("evt.hires2",&hires2,"hires2/I");
00527     fNtupleTree->Branch("evt.hires3",&hires3,"hires3/I");
00528     fNtupleTree->Branch("evt.hires4",&hires4,"hires4/I");
00529 
00530     fNtupleTree->SetAutoSave(100);
00531     gDirectory = tmpd;
00532   }
00533 }

void AtNuEventNtuple::ResetVariables (  )  [private]

Definition at line 598 of file AtNuEventNtuple.cxx.

References abstime, atmosnue, atmosnuecvcut1, atmosnuecvcut2, atmosnuecvcut3, atmosnuecvcut4, atmosnumu, atmosnumucv, atmosnumucvcut1, atmosnumucvcut2, atmosnumucvcut3, atmosnumucvcut4, atmosnumuup, atmosnumuupcut1, atmosnumuupcut2, atmosnumuupcut3, atmosnumuupcut4, atmosnumuupdn, atmosnumuupdnfilter, atmosnumuupdnselect, atmosshower, atmosslice, atmostrack, beam_type, beammonselect, beammonstatus, beammonstatusbits, beammontime, beamspill, busychips, ce, coldchips, containedatmosshower, containedatmostrack, cosmic, cratemask, cv, cvup, dataqualityword, date, day, demuxdigits, demuxplndigits, demuxword, dn, doubleph, doublephu, doublephv, eastph, ehad, emu, enu, errorcode, eventid, eventid1, eventid2, eventidx, evtshwdiru, evtshwdirv, evtshwdirx, evtshwdiry, evtshwdirz, evtshwgevdwgt, evtshwgevlin, evtshwmipsdwgt, evtshwmipslin, evtshwplanes, evtshwreco, evttrackextension, evttrkdiru, evttrkdirv, evttrkdirx, evttrkdiry, evttrkdirz, evttrkemcharge, evttrkpcurve, evttrkplanes, evttrkprange, evttrkqpsigmaqp, evttrkreco, evtvtxplane, evtvtxtime, evtvtxu, evtvtxv, evtvtxx, evtvtxy, evtvtxz, fakespill, fc, fcpc, fluxcvupratio, fluxelmuratio, goodatmosshower, goodatmosslice, goodatmostrack, goodcharge, goodcosmic, gooddirection, goodenergy, goodenergyfit, goodevent, goodplanes, goodshield, goodshower, goodslice, goodstrips, goodtrack, gooduplanes, goodvplanes, hires1, hires2, hires3, hires4, horn_on, hotchips, hoz, idact, idnu, idres, index, last, lievent, lipulserbox, lipulserled, lirelativetime, lisubtractedtime, litime, litrigger, lores, maxplaneph, mcscatter, month, muenddr, muendplane, muendstrip, muendu, muendv, muendx, muendy, muendz, multimudemuxflag, multimudiru, multimudirv, multimudirx, multimudiry, multimudirz, multimuflag, multimumultiplicity, multiplemuon, mupend, mupvtx, muvtxdr, muvtxplane, muvtxstrip, muvtxu, muvtxv, muvtxx, muvtxy, muvtxz, n_batches, negativecharge, nshowers, nstrips, ntracks, pc, pcdn, pcup, phadx, phady, phadz, pmux, pmuy, pmuz, pnux, pnuy, pnuz, positivecharge, posttriggerdigits, pretriggerdigits, raf, readouterrors, recoemu, recoemuerr, recoemuraw, recoenu, recoeshw, recoeshwdwgt, recoeshwdwgtcorr, recoeshwdwgtraw, recoeshwlin, recoeshwnue, recolength, resolution, run, runtype, shieldtime, shwassocph, shwassocphfrac, shwbwdtrace, shwbwdtracez, shwcalibph, shwchargeplane, shwchargeplanerms, shwdigits, shwdiru, shwdirv, shwdirx, shwdiry, shwdirz, shwenergy, shwfwdtrace, shwfwdtracez, shwindex, shwlast, shwmaxplane, shwminplane, shwmoiuvzeigval0, shwmoiuvzeigval1, shwmoiuvzeigval2, shwmoiuzeigval0, shwmoiuzeigval1, shwmoivzeigval0, shwmoivzeigval1, shwnonfidfrac, shwph, shwplanes, shwprimary, shwstrips, shwstripsdouble, shwstripsplane, shwstripsplanerms, shwstripssingle, shwuplanes, shwuptrace, shwuptracez, shwuvasymmetry, shwvplanes, shwvtxdr, shwvtxplane, shwvtxtime, shwvtxu, shwvtxv, shwvtxx, shwvtxy, shwvtxz, simflag, singleph, singlephu, singlephv, snarl, snarlmultiplicity, solaridnu, solarmaxweight, solarminweight, solartime, solarweight, spill, spillfinderstatus, spillfindertime, spillstatus, spilltime, spilltimeerror, spilltype, stoppingmuon, subrun, target_in, throughgoingmuon, time, totph, triggersource, triggertime, trkassocph, trkassocphfrac, trkdigits, trkenddiru, trkenddirv, trkenddirx, trkenddiry, trkenddirz, trkenddr, trkenddrdigits, trkendlinfitchi2u, trkendlinfitchi2v, trkendlinfitndfu, trkendlinfitndfv, trkendplane, trkendplanedigits, trkendqmax, trkendrmax, trkendtime, trkendtimerms, trkendtimermsndf, trkendtrace, trkendtracez, trkendu, trkendumean, trkenduwidth, trkendv, trkendvmean, trkendvwidth, trkendx, trkendy, trkendz, trkfitchi2, trkfitemcharge, trkfitndf, trkfitpass, trkfitqp, trkfitqperr, trkfitqptweaked, trkgapplanes, trkindex, trklast, trklikeplanes, trklinfitchi2u, trklinfitchi2v, trklinfitdiru, trklinfitdirv, trklinfitdirz, trklinfitndfu, trklinfitndfv, trkmaxplane, trkminplane, trkmomentum, trkmomentumcurve, trkmomentumrange, trknonfidfrac, trkonlyplanes, trkph, trkplanes, trkprimary, trkrangemetres, trkstrips, trkstripsdouble, trkstripssingle, trktimefitchi2, trktimefitndf, trktimeoffset, trktimeslope, trkuplanes, trkuvasymmetry, trkvplanes, trkvtxdiru, trkvtxdirv, trkvtxdirx, trkvtxdiry, trkvtxdirz, trkvtxdr, trkvtxdrdigits, trkvtxlinfitchi2u, trkvtxlinfitchi2v, trkvtxlinfitndfu, trkvtxlinfitndfv, trkvtxplane, trkvtxplanedigits, trkvtxqmax, trkvtxrmax, trkvtxtime, trkvtxtimerms, trkvtxtimermsndf, trkvtxtrace, trkvtxtracez, trkvtxu, trkvtxumean, trkvtxuwidth, trkvtxv, trkvtxvmean, trkvtxvwidth, trkvtxx, trkvtxy, trkvtxz, trkzerocurvechi2, trkzerocurvendf, trueemu, trueeshw, trueevis, trueheight, truelength, truemeanheight, truemeanlength, truepdfheight, truepdflength, truesimpleheight, truesimplelength, unixtime, up, updn, updnfilter, updnselect, upmu, upnu, veto, vtxu, vtxv, vtxx, vtxy, vtxz, westph, year, and yearfrac.

Referenced by WriteOutEvent().

00599 {
00600   // set default variables
00601   // =====================
00602 
00603   index = -1;
00604   last = -1;
00605   idnu = 0;
00606   idact = 0;
00607   idres = 0;
00608   vtxu = -999.9;
00609   vtxv = -999.9;
00610   vtxx = -999.9;
00611   vtxy = -999.9;
00612   vtxz = -999.9;
00613   enu = 0.0;
00614   pnux = 0.0;
00615   pnuy = 0.0;
00616   pnuz = 0.0;
00617   emu = 0.0;
00618   pmux = 0.0;
00619   pmuy = 0.0;
00620   pmuz = 0.0;
00621   ehad = 0.0;
00622   phadx = 0.0;
00623   phady = 0.0;
00624   phadz = 0.0;
00625   muvtxu = -999.9;
00626   muvtxv = -999.9;
00627   muvtxx = -999.9;
00628   muvtxy = -999.9;
00629   muvtxz = -999.9;
00630   muvtxdr = -999.9;
00631   muvtxplane = -999;
00632   muvtxstrip = -999; 
00633   muendu = -999.9;
00634   muendv = -999.9;
00635   muendx = -999.9;
00636   muendy = -999.9;
00637   muendz = -999.9;
00638   muenddr = -999.9;
00639   muendplane = -999;
00640   muendstrip = -999;
00641   mupvtx = 0.0;
00642   mupend = 0.0;
00643 
00644   solaridnu = 0;
00645   solartime = 0;
00646   solarweight = 1.0;
00647   solarminweight = 1.0;
00648   solarmaxweight = 1.0;
00649 
00650   fluxcvupratio = 1.0;
00651   fluxelmuratio = 0.0; 
00652 
00653   run = -999;
00654   subrun = -999;
00655   snarl = -999;
00656   runtype = -999;
00657   date = -999;
00658   time = -999;
00659   year = 0;
00660   month = 0;
00661   day = 0;
00662   yearfrac = 0.0;
00663   unixtime = -999;
00664   simflag = -1;
00665   triggersource = -999;
00666   triggertime = -999;
00667   cratemask = 0;
00668   errorcode = 0;
00669   pretriggerdigits = 0;
00670   posttriggerdigits = 0;
00671   snarlmultiplicity = 0;
00672   spillstatus = 0;
00673   spilltype = 0;
00674   spilltimeerror = 0.0;
00675   spillfinderstatus = 0;
00676   spillfindertime = 0;
00677   beammonstatus = 0;
00678   beammonstatusbits = -1;
00679   beammonselect = 0;
00680   beammontime = 0;
00681   horn_on = -1;
00682   target_in = -1;
00683   beam_type = -1;
00684   n_batches = 0;
00685   litrigger = 0;
00686   litime = 0;
00687   lisubtractedtime = 0;
00688   lirelativetime = 0;
00689   lipulserbox = 0;
00690   lipulserled = 0;
00691   coldchips = 0;
00692   hotchips = 0;
00693   busychips = 0;
00694   readouterrors = 0;
00695   dataqualityword = 0;
00696 
00697   nstrips = 0;
00698   goodstrips = 0;
00699   goodplanes = 0;
00700   gooduplanes = 0;
00701   goodvplanes = 0;
00702   maxplaneph = 0.0;
00703   demuxword = 0;
00704   demuxdigits = 0;
00705   demuxplndigits = 0;
00706   abstime = 0;
00707   totph = 0.0;
00708   eastph = 0.0;
00709   westph = 0.0;
00710   singleph = 0.0;
00711   singlephu = 0.0;
00712   singlephv = 0.0;
00713   doubleph = 0.0;
00714   doublephu = 0.0;
00715   doublephv = 0.0;
00716   eventid = -1;
00717   eventid1 = -1;
00718   eventid2 = -1;
00719   eventidx = -1;
00720 
00721   ntracks = 0;
00722   nshowers = 0;
00723   evttrkreco = 0;
00724   evttrkemcharge = 0;
00725   evttrkprange = 0.0;
00726   evttrkpcurve = 0.0;
00727   evttrkdiru = 0.0;
00728   evttrkdirv = 0.0;
00729   evttrkdirx = 0.0;
00730   evttrkdiry = 0.0;
00731   evttrkdirz = 0.0;
00732   evttrkqpsigmaqp = 0.0;
00733   evtshwreco = 0;
00734   evtshwdiru = 0.0;
00735   evtshwdirv = 0.0;
00736   evtshwdirx = 0.0;
00737   evtshwdiry = 0.0;
00738   evtshwdirz = 0.0;
00739   evtshwmipslin = 0.0;
00740   evtshwmipsdwgt = 0.0;
00741   evtshwgevlin = 0.0;
00742   evtshwgevdwgt = 0.0;
00743   evtvtxtime = 0.0;
00744   evtvtxu = 0.0;
00745   evtvtxv = 0.0;
00746   evtvtxx = 0.0;
00747   evtvtxy = 0.0;
00748   evtvtxz = 0.0;
00749   evtvtxplane = -999;
00750   evttrkplanes = 0;
00751   evtshwplanes = 0;
00752   evttrackextension = 0;
00753   multimudemuxflag = 0;
00754   multimuflag = 0;
00755   multimumultiplicity = 0;
00756   multimudiru = 0.0;
00757   multimudirv = 0.0;
00758   multimudirx = 0.0;
00759   multimudiry = 0.0;
00760   multimudirz = 0.0;
00761   
00762   trkindex = -1;
00763   trklast = -1;
00764   trkprimary = 0;
00765   trkdigits = 0;
00766   trkstrips = 0;
00767   trkplanes = 0;
00768   trkminplane = -999;
00769   trkmaxplane = -999;
00770   trkvtxplane = 0;
00771   trkvtxtime = 0.0;
00772   trkvtxu = 0.0;
00773   trkvtxv = 0.0;
00774   trkvtxx = 0.0;
00775   trkvtxy = 0.0;
00776   trkvtxz = 0.0;
00777   trkvtxtrace = 0.0;
00778   trkvtxtracez = 0.0;
00779   trkvtxdr = 0.0;
00780   trkvtxdiru = 0.0;
00781   trkvtxdirv = 0.0;
00782   trkvtxdirx = 0.0;
00783   trkvtxdiry = 0.0;
00784   trkvtxdirz = 0.0;
00785   trkvtxtimerms = 0.0;
00786   trkvtxtimermsndf = 0;
00787   trkendplane = 0;
00788   trkendtime = 0.0;
00789   trkendu = 0.0;
00790   trkendv = 0.0;
00791   trkendx = 0.0;
00792   trkendy = 0.0;
00793   trkendz = 0.0;
00794   trkendtrace = 0.0;
00795   trkendtracez = 0.0;
00796   trkenddr = 0.0;
00797   trkenddiru = 0.0;
00798   trkenddirv = 0.0;
00799   trkenddirx = 0.0;
00800   trkenddiry = 0.0;
00801   trkenddirz = 0.0;
00802   trkendtimerms = 0.0;
00803   trkendtimermsndf = 0;
00804   trktimeslope = 0.0;
00805   trktimeoffset = 0.0;
00806   trktimefitchi2 = 0.0;
00807   trktimefitndf = 0;
00808   trkmomentum = 0.0;
00809   trkmomentumrange = 0.0;
00810   trkmomentumcurve = 0.0;
00811   trkrangemetres = 0.0;
00812   trkfitpass = 0;
00813   trkfitemcharge = 0;
00814   trkfitqp = 0.0;
00815   trkfitqptweaked = 0.0;
00816   trkfitqperr = 0.0;
00817   trkfitchi2 = 0.0;
00818   trkfitndf = 0;
00819   trkph = 0.0;
00820   trkassocph = 0.0;
00821   trkassocphfrac = 0.0;
00822   trklinfitdiru = 0.0;
00823   trklinfitdirv = 0.0;
00824   trklinfitdirz = 0.0;
00825   trklinfitchi2u = -999.9;
00826   trklinfitchi2v = -999.9;
00827   trklinfitndfu = 0;
00828   trklinfitndfv = 0;
00829   trkvtxlinfitchi2u = -999.9;
00830   trkvtxlinfitchi2v = -999.9;
00831   trkvtxlinfitndfu = 0;
00832   trkvtxlinfitndfv = 0;
00833   trkendlinfitchi2u = -999.9;
00834   trkendlinfitchi2v = -999.9;
00835   trkendlinfitndfu = 0;
00836   trkendlinfitndfv = 0;
00837   trklikeplanes = 0;
00838   trkstripssingle = 0;
00839   trkstripsdouble = 0;
00840   trkonlyplanes = 0;
00841   trkgapplanes = 0;
00842   trkuplanes = 0;
00843   trkvplanes = 0;
00844   trkuvasymmetry = 0.0;
00845   trkzerocurvechi2 = 0.0;
00846   trkzerocurvendf = 0;
00847   trkvtxdrdigits = 0.0;
00848   trkvtxplanedigits = 0;
00849   trkvtxuwidth = 0.0;
00850   trkvtxvwidth = 0.0;
00851   trkvtxumean = 0.0;
00852   trkvtxvmean = 0.0;
00853   trkvtxrmax = 0.0;
00854   trkvtxqmax = 0.0;
00855   trkenddrdigits = 0.0;
00856   trkendplanedigits = 0;
00857   trkenduwidth = 0.0;
00858   trkendvwidth = 0.0;
00859   trkendumean = 0.0;
00860   trkendvmean = 0.0;
00861   trkendrmax = 0.0;
00862   trkendqmax = 0.0;
00863   trknonfidfrac = -999.9;
00864   
00865   shwindex = -1;
00866   shwlast = -1;
00867   shwprimary = 0;
00868   shwdigits = 0;
00869   shwstrips = 0;
00870   shwplanes = 0;
00871   shwminplane = -999;
00872   shwmaxplane = -999;
00873   shwvtxplane = 0;
00874   shwvtxtime = 0.0;
00875   shwvtxu = 0.0;
00876   shwvtxv = 0.0;
00877   shwvtxx = 0.0;
00878   shwvtxy = 0.0;
00879   shwvtxz = 0.0;
00880   shwdiru = 0.0;
00881   shwdirv = 0.0;
00882   shwdirx = 0.0;
00883   shwdiry = 0.0;
00884   shwdirz = 0.0;
00885   shwfwdtrace = 0.0;
00886   shwfwdtracez = 0.0;
00887   shwbwdtrace = 0.0;
00888   shwbwdtracez = 0.0;
00889   shwuptrace = 0.0;
00890   shwuptracez = 0.0;
00891   shwvtxdr = 0.0;
00892   shwph = 0.0;
00893   shwcalibph = 0.0;
00894   shwenergy = 0.0;
00895   shwstripssingle = 0;
00896   shwstripsdouble = 0;
00897   shwuplanes = 0;
00898   shwvplanes = 0;
00899   shwuvasymmetry = 0.0;
00900   shwassocph = 0.0;
00901   shwassocphfrac = 0.0;
00902   shwnonfidfrac = 0.0;
00903   shwstripsplane = 0.0;
00904   shwstripsplanerms = 0.0;
00905   shwchargeplane = 0.0;
00906   shwchargeplanerms = 0.0;
00907   shwmoiuvzeigval0 = -999.9;
00908   shwmoiuvzeigval1 = -999.9;
00909   shwmoiuvzeigval2 = -999.9;
00910   shwmoiuzeigval0 = -999.9;
00911   shwmoiuzeigval1 = -999.9;
00912   shwmoivzeigval0 = -999.9;
00913   shwmoivzeigval1 = -999.9;
00914 
00915   shieldtime = -99999.9;
00916   spilltime = -99999.9;
00917   goodslice = 0;
00918   goodevent = 0;
00919   goodtrack = 0;
00920   goodshower = 0;
00921   cv = 0;
00922   ce = 0;
00923   up = 0;
00924   dn = 0;
00925   hoz = 0;
00926   updn = 0;
00927   updnfilter = 0;
00928   updnselect = 0;
00929   fc = 0;
00930   pc = 0;
00931   fcpc = 0;
00932   pcdn = 0;
00933   pcup = 0;
00934   raf = 0;
00935   cvup = 0;
00936   upmu = 0;
00937   upnu = 0;
00938   cosmic = 0;
00939   goodcosmic = 0;
00940   stoppingmuon = 0;
00941   throughgoingmuon = 0;
00942   multiplemuon = 0;
00943   veto = 0;
00944   spill = 0;
00945   beamspill = 0;
00946   fakespill = 0;
00947   goodshield = 0;
00948   gooddirection = 0;
00949   goodenergy = 0;
00950   goodenergyfit = 0;
00951   goodcharge = 0;
00952   positivecharge = 0;
00953   negativecharge = 0;  
00954   atmosslice = 0;
00955   atmostrack = 0;
00956   atmosshower = 0;
00957   goodatmosslice = 0;
00958   goodatmostrack = 0;
00959   goodatmosshower = 0;
00960   containedatmostrack = 0; 
00961   containedatmosshower = 0;
00962   atmosnumu = 0;
00963   atmosnumucv = 0;
00964   atmosnumuup = 0;
00965   atmosnumuupdn = 0;
00966   atmosnumuupdnfilter = 0;
00967   atmosnumuupdnselect = 0;
00968   atmosnue = 0; 
00969   atmosnumucvcut1 = 0;
00970   atmosnumucvcut2 = 0;
00971   atmosnumucvcut3 = 0;
00972   atmosnumucvcut4 = 0;
00973   atmosnumuupcut1 = 0;
00974   atmosnumuupcut2 = 0;
00975   atmosnumuupcut3 = 0;
00976   atmosnumuupcut4 = 0;
00977   atmosnuecvcut1 = 0;
00978   atmosnuecvcut2 = 0;
00979   atmosnuecvcut3 = 0;
00980   atmosnuecvcut4 = 0;
00981   lievent = 0;
00982   mcscatter = 0;
00983 
00984   trueheight = 0.0;
00985   truesimpleheight = 0.0; 
00986   truemeanheight = 0.0; 
00987   truepdfheight = 0.0; 
00988   truelength = 0.0; 
00989   truesimplelength = 0.0;
00990   truemeanlength = 0.0; 
00991   truepdflength = 0.0; 
00992   trueemu = 0.0;
00993   trueeshw = 0.0;
00994   trueevis = 0.0;
00995   recolength = 0.0; 
00996   recoemu = 0.0;
00997   recoemuraw = 0.0;
00998   recoemuerr = 0.0;
00999   recoeshwlin = 0.0;
01000   recoeshwdwgt = 0.0;
01001   recoeshwdwgtraw = 0.0;
01002   recoeshwdwgtcorr = 0.0;
01003   recoeshwnue = 0.0;
01004   recoeshw = 0.0;
01005   recoenu = 0.0;
01006 
01007   resolution = -999.9;
01008   lores = 0;
01009   hires1 = 0;
01010   hires2 = 0;
01011   hires3 = 0;
01012   hires4 = 0;
01013 
01014   return;
01015 }

void AtNuEventNtuple::WriteOutEvent ( AtmosEvent event,
Int_t  eventtype,
Int_t  atmoseventtype,
Double_t  atnushieldtime,
Double_t  atnuspilltime,
Int_t  ptrackid,
Int_t  pshowerid 
)

Definition at line 101 of file AtNuEventNtuple.cxx.

References ResetVariables(), and WriteVariables().

Referenced by AtNuEventSelector::WriteOutSummary().

00102 {
00103   this->ResetVariables();
00104   this->WriteVariables(event,
00105                        eventtype,atmoseventtype,
00106                        atnushieldtime,atnuspilltime,
00107                        ptrackid,pshowerid);
00108   return;
00109 }

void AtNuEventNtuple::WriteShowers ( Bool_t  write = 1  ) 

Definition at line 74 of file AtNuEventNtuple.cxx.

References fWriteShowers.

Referenced by AtNuEventSelector::WriteOutSummary().

00075 {
00076   if( write && !fWriteShowers ){
00077     fWriteShowers = write;
00078   }
00079 
00080   return;
00081 }

void AtNuEventNtuple::WriteShowersLimit ( Int_t  limit = 1  ) 

Definition at line 92 of file AtNuEventNtuple.cxx.

References fWriteShowersLimit.

Referenced by AtNuEventSelector::WriteOutSummary().

00093 {
00094   if( limit>=0 ){
00095     fWriteShowersLimit = limit;
00096   }
00097 
00098   return;
00099 }

void AtNuEventNtuple::WriteToFile (  )  [private]

Definition at line 547 of file AtNuEventNtuple.cxx.

References CloseFile(), fFileNumber, fMaxFileSizeBytes, fNtupleFile, fNtupleFileName, fNtupleTree, and OpenFile().

Referenced by WriteVariables().

00548 {
00549 
00550   // open file 
00551   if( !fNtupleFile ){
00552     this->OpenFile(fNtupleFileName);
00553   }
00554 
00555   // re-create file 
00556   if( fNtupleFile 
00557    && fMaxFileSizeBytes>0
00558    && fNtupleFile->GetBytesWritten()>fMaxFileSizeBytes ){
00559     std::cout << " FILE SIZE EXCEEDS LIMIT (" << 1.0e-6*fNtupleFile->GetBytesWritten() << ">" << 1.0e-6*fMaxFileSizeBytes << ")" << std::endl;
00560     std::cout << "  ... SWITCHING TO NEW FILE" << std::endl;
00561 
00562     // close current file
00563     this->CloseFile();
00564 
00565     // adjust file name
00566     fFileNumber++;
00567     TString filename = fNtupleFileName;
00568     TString tempfilename = ".";
00569     if( fFileNumber<10 ) tempfilename.Append("000");
00570     else if( fFileNumber<100 ) tempfilename.Append("00");
00571     else if( fFileNumber<1000 ) tempfilename.Append("0");
00572     else if( fFileNumber>9999 ) std::cout << "  warning: file number exceeded 10000 ! " << std::endl;
00573     tempfilename += fFileNumber;
00574 
00575     if( filename.EndsWith(".root") ){
00576       filename.Insert(filename.Length()-5,tempfilename);
00577     }
00578     else{
00579       filename.Append(tempfilename);
00580     }
00581      
00582     std::cout << "  ... CREATING NEW OUTPUT FILE: " << filename.Data() << std::endl;
00583 
00584     // create new file
00585     fNtupleFile = 0;
00586     this->OpenFile(filename);
00587   }
00588 
00589   // write to file
00590   if( fNtupleFile ){
00591     TDirectory* tmpd = gDirectory;
00592     fNtupleFile->cd();
00593     fNtupleTree->Fill();
00594     gDirectory = tmpd;
00595   }
00596 }

void AtNuEventNtuple::WriteTracks ( Bool_t  write = 1  ) 

Definition at line 65 of file AtNuEventNtuple.cxx.

References fWriteTracks.

Referenced by AtNuEventSelector::WriteOutSummary().

00066 {
00067   if( write && !fWriteTracks ){
00068     fWriteTracks = write;
00069   }
00070 
00071   return;
00072 }

void AtNuEventNtuple::WriteTracksLimit ( Int_t  limit = 1  ) 

Definition at line 83 of file AtNuEventNtuple.cxx.

References fWriteTracksLimit.

Referenced by AtNuEventSelector::WriteOutSummary().

00084 {
00085   if( limit>=0 ){
00086     fWriteTracksLimit = limit;
00087   }
00088 
00089   return;
00090 }

void AtNuEventNtuple::WriteVariables ( AtmosEvent event,
Int_t  eventtype,
Int_t  atmoseventtype,
Double_t  atnushieldtime,
Double_t  atnuspilltime,
Int_t  ptrackid,
Int_t  pshowerid 
) [private]

Definition at line 1017 of file AtNuEventNtuple.cxx.

References abstime, AtmosShower::AssocShwPH, AtmosShower::AssocShwPHfrac, AtmosTrack::AssocTrkPH, AtmosTrack::AssocTrkPHfrac, atmosnue, atmosnuecvcut1, atmosnuecvcut2, atmosnuecvcut3, atmosnuecvcut4, atmosnumu, atmosnumucv, atmosnumucvcut1, atmosnumucvcut2, atmosnumucvcut3, atmosnumucvcut4, atmosnumuup, atmosnumuupcut1, atmosnumuupcut2, atmosnumuupcut3, atmosnumuupcut4, atmosnumuupdn, atmosnumuupdnfilter, atmosnumuupdnselect, atmosshower, atmosslice, atmostrack, beam_type, beammonselect, beammonstatus, beammonstatusbits, beammontime, beamspill, busychips, ce, coldchips, containedatmosshower, containedatmostrack, cosmic, cratemask, cv, cvup, dataqualityword, date, day, demuxdigits, demuxplndigits, demuxword, dn, doubleph, doublephu, doublephv, eastph, ehad, AtmosTrack::EMcharge, emu, AtmosTrack::EndDirCosU, AtmosTrack::EndDirCosV, AtmosTrack::EndDirCosX, AtmosTrack::EndDirCosY, AtmosTrack::EndDirCosZ, AtmosTrack::EndDirTimeFitNdf, AtmosTrack::EndDirTimeFitRMS, AtmosTrack::EndDistToEdge, AtmosTrack::EndDistToEdgeDigits, AtmosTrack::EndLinearDirFitChisqU, AtmosTrack::EndLinearDirFitChisqV, AtmosTrack::EndLinearDirFitNdfU, AtmosTrack::EndLinearDirFitNdfV, AtmosTrack::EndPlane, AtmosTrack::EndPlaneDigits, AtmosTrack::EndQmax, AtmosTrack::EndRmax, AtmosTrack::EndTime, AtmosTrack::EndTrace, AtmosTrack::EndTraceZ, AtmosTrack::EndU, AtmosTrack::EndUmean, AtmosTrack::EndUwidth, AtmosTrack::EndV, AtmosTrack::EndVmean, AtmosTrack::EndVwidth, AtmosTrack::EndX, AtmosTrack::EndY, AtmosTrack::EndZ, AtmosShower::Energy, enu, errorcode, eventid, eventid1, eventid2, eventidx, evtshwdiru, evtshwdirv, evtshwdirx, evtshwdiry, evtshwdirz, evtshwgevdwgt, evtshwgevlin, evtshwmipsdwgt, evtshwmipslin, evtshwplanes, evtshwreco, evttrackextension, evttrkdiru, evttrkdirv, evttrkdirx, evttrkdiry, evttrkdirz, evttrkemcharge, evttrkpcurve, evttrkplanes, evttrkprange, evttrkqpsigmaqp, evttrkreco, evtvtxplane, evtvtxtime, evtvtxu, evtvtxv, evtvtxx, evtvtxy, evtvtxz, fakespill, fc, fcpc, AtmosTrack::FitPass, fluxcvupratio, fluxelmuratio, fWriteShowers, fWriteShowersLimit, fWriteTracks, fWriteTracksLimit, SolarCycleRW::GenTime(), AtNuFluxRW::GetBartolFlavourRatio(), AtNuFluxRW::GetBartolFluxRatio(), AtNuEnergyCorrections::GetHadronicShowerEnergy(), AtNuEnergyCorrections::GetMuonMomentumCurve(), AtNuEnergyCorrections::GetMuonMomentumRange(), AtNuEnergyCorrections::GetNeutrinoShowerEnergy(), goodatmosshower, goodatmosslice, goodatmostrack, goodcharge, goodcosmic, gooddirection, goodenergy, goodenergyfit, goodevent, goodplanes, goodshield, goodshower, goodslice, goodstrips, goodtrack, gooduplanes, goodvplanes, hires3, hires4, horn_on, hotchips, hoz, idact, idnu, idres, AtmosTrack::Index, AtmosShower::Index, index, AtNuFluxRW::Instance(), SolarCycleRW::Instance(), AtNuAtmosEventType::kAtmosNue, AtNuAtmosEventType::kAtmosNueCVcut1, AtNuAtmosEventType::kAtmosNueCVcut2, AtNuAtmosEventType::kAtmosNueCVcut3, AtNuAtmosEventType::kAtmosNueCVcut4, AtNuAtmosEventType::kAtmosNumu, AtNuAtmosEventType::kAtmosNumuCV, AtNuAtmosEventType::kAtmosNumuCVcut1, AtNuAtmosEventType::kAtmosNumuCVcut2, AtNuAtmosEventType::kAtmosNumuCVcut3, AtNuAtmosEventType::kAtmosNumuCVcut4, AtNuAtmosEventType::kAtmosNumuUP, AtNuAtmosEventType::kAtmosNumuUPcut1, AtNuAtmosEventType::kAtmosNumuUPcut2, AtNuAtmosEventType::kAtmosNumuUPcut3, AtNuAtmosEventType::kAtmosNumuUPcut4, AtNuAtmosEventType::kAtmosNumuUPDN, AtNuAtmosEventType::kAtmosShower, AtNuAtmosEventType::kAtmosSlice, AtNuAtmosEventType::kAtmosTrack, AtNuEventType::kBeamSpill, AtNuEventType::kCE, AtNuAtmosEventType::kContainedAtmosShower, AtNuAtmosEventType::kContainedAtmosTrack, AtNuEventType::kCosmic, AtNuEventType::kCV, AtNuEventType::kCVUP, AtNuEventType::kFakeSpill, AtNuEventType::kFC, AtNuAtmosEventType::kGoodAtmosShower, AtNuAtmosEventType::kGoodAtmosSlice, AtNuAtmosEventType::kGoodAtmosTrack, AtNuEventType::kGoodCharge, AtNuEventType::kGoodCosmic, AtNuEventType::kGoodDirection, AtNuEventType::kGoodEnergy, AtNuEventType::kGoodEvent, AtNuAtmosEventType::kGoodShield, AtNuEventType::kGoodShower, AtNuEventType::kGoodSlice, AtNuEventType::kGoodTrack, AtNuEventType::kLIevent, AtNuEventType::kMCscatter, AtNuEventType::kMultipleMuon, AtNuEventType::kNegativeCharge, AtNuEventType::kPC, AtNuEventType::kPositiveCharge, AtNuEventType::kRAF, AtNuEventType::kSpill, AtNuEventType::kStoppingMuon, AtNuEventType::kThroughGoingMuon, AtNuEventType::kUPDN, AtNuEventType::kUPMU, AtNuEventType::kVeto, last, lievent, AtmosTrack::LinearDirCosU, AtmosTrack::LinearDirCosV, AtmosTrack::LinearDirCosZ, AtmosTrack::LinearDirFitChisqU, AtmosTrack::LinearDirFitChisqV, AtmosTrack::LinearDirFitNdfU, AtmosTrack::LinearDirFitNdfV, lipulserbox, lipulserled, lirelativetime, lisubtractedtime, litime, litrigger, lores, AtmosShower::MaxPlaneNumber, AtmosTrack::MaxPlaneNumber, maxplaneph, SolarCycleRW::MaxWeight(), mcscatter, AtmosShower::MeanChargePerPlane, AtmosShower::MeanStripsPerPlane, AtmosShower::MinPlaneNumber, AtmosTrack::MinPlaneNumber, SolarCycleRW::MinWeight(), AtmosShower::MOIUVZEigenValue0, AtmosShower::MOIUVZEigenValue1, AtmosShower::MOIUVZEigenValue2, AtmosShower::MOIUZEigenValue0, AtmosShower::MOIUZEigenValue1, AtmosShower::MOIVZEigenValue0, AtmosShower::MOIVZEigenValue1, AtmosTrack::Momentum, AtmosTrack::MomentumCurve, AtmosTrack::MomentumRange, month, muenddr, muendplane, muendstrip, muendu, muendv, muendx, muendy, muendz, multimudemuxflag, multimudiru, multimudirv, multimudirx, multimudiry, multimudirz, multimuflag, multimumultiplicity, multiplemuon, mupend, mupvtx, muvtxdr, muvtxplane, muvtxstrip, muvtxu, muvtxv, muvtxx, muvtxy, muvtxz, n_batches, AtmosShower::Ndigits, AtmosTrack::Ndigits, negativecharge, AtmosTrack::NonFidFrac, AtmosShower::NonFidFrac, AtmosShower::Nplanes, AtmosTrack::Nplanes, AtmosTrack::NplanesTrackGaps, AtmosTrack::NplanesTrackOnly, AtmosShower::NplanesUview, AtmosTrack::NplanesUview, AtmosTrack::NplanesVview, AtmosShower::NplanesVview, nshowers, AtmosTrack::Nstrips, AtmosShower::Nstrips, nstrips, AtmosTrack::NstripsDoubleEnded, AtmosShower::NstripsDoubleEnded, AtmosTrack::NstripsSingleEnded, AtmosShower::NstripsSingleEnded, ntracks, pc, pcdn, pcup, phadx, phady, phadz, pmux, pmuy, pmuz, pnux, pnuy, pnuz, positivecharge, posttriggerdigits, pretriggerdigits, AtNuOscillate::ProductionHeight(), AtNuOscillate::PropagationLength(), AtmosTrack::QPvtx, AtmosTrack::QPvtxChi2, AtmosTrack::QPvtxErr, AtmosTrack::QPvtxNdf, AtmosTrack::QPvtxTweaked, raf, AtmosTrack::RangeMetres, readouterrors, recoemu, recoemuerr, recoemuraw, recoenu, recoeshw, recoeshwdwgt, recoeshwdwgtcorr, recoeshwdwgtraw, recoeshwlin, recoeshwnue, recolength, AtNuSettings::ReversingBField(), AtmosShower::RMSChargePerPlane, AtmosShower::RMSStripsPerPlane, run, runtype, shieldtime, AtmosEvent::ShowerList, shwassocph, shwassocphfrac, shwbwdtrace, shwbwdtracez, shwcalibph, shwchargeplane, shwchargeplanerms, shwdigits, shwdiru, shwdirv, shwdirx, shwdiry, shwdirz, shwenergy, shwfwdtrace, shwfwdtracez, shwindex, shwlast, shwmaxplane, shwminplane, shwmoiuvzeigval0, shwmoiuvzeigval1, shwmoiuvzeigval2, shwmoiuzeigval0, shwmoiuzeigval1, shwmoivzeigval0, shwmoivzeigval1, shwnonfidfrac, shwph, shwplanes, shwprimary, shwstrips, shwstripsdouble, shwstripsplane, shwstripsplanerms, shwstripssingle, shwuplanes, shwuptrace, shwuptracez, shwuvasymmetry, shwvplanes, shwvtxdr, shwvtxplane, shwvtxtime, shwvtxu, shwvtxv, shwvtxx, shwvtxy, shwvtxz, simflag, singleph, singlephu, singlephv, snarl, snarlmultiplicity, solaridnu, solarmaxweight, solarminweight, solartime, solarweight, spill, spillfinderstatus, spillfindertime, spillstatus, spilltime, spilltimeerror, spilltype, stoppingmuon, subrun, target_in, throughgoingmuon, time, AtmosTrack::TimeOffset, AtmosTrack::TimeSlope, AtmosTrack::TimingFitChi2, AtmosTrack::TimingFitNdf, totph, AtmosEvent::TrackList, triggersource, triggertime, trkassocph, trkassocphfrac, trkdigits, trkenddiru, trkenddirv, trkenddirx, trkenddiry, trkenddirz, trkenddr, trkenddrdigits, trkendlinfitchi2u, trkendlinfitchi2v, trkendlinfitndfu, trkendlinfitndfv, trkendplane, trkendplanedigits, trkendqmax, trkendrmax, trkendtime, trkendtimerms, trkendtimermsndf, trkendtrace, trkendtracez, trkendu, trkendumean, trkenduwidth, trkendv, trkendvmean, trkendvwidth, trkendx, trkendy, trkendz, trkfitchi2, trkfitemcharge, trkfitndf, trkfitpass, trkfitqp, trkfitqperr, trkfitqptweaked, trkgapplanes, trkindex, trklast, trklikeplanes, AtmosTrack::TrkLikePlanes, trklinfitchi2u, trklinfitchi2v, trklinfitdiru, trklinfitdirv, trklinfitdirz, trklinfitndfu, trklinfitndfv, trkmaxplane, trkminplane, trkmomentum, trkmomentumcurve, trkmomentumrange, trknonfidfrac, trkonlyplanes, AtmosTrack::TrkPH, trkph, trkplanes, trkprimary, trkrangemetres, trkstrips, trkstripsdouble, trkstripssingle, trktimefitchi2, trktimefitndf, trktimeoffset, trktimeslope, trkuplanes, trkuvasymmetry, trkvplanes, trkvtxdiru, trkvtxdirv, trkvtxdirx, trkvtxdiry, trkvtxdirz, trkvtxdr, trkvtxdrdigits, trkvtxlinfitchi2u, trkvtxlinfitchi2v, trkvtxlinfitndfu, trkvtxlinfitndfv, trkvtxplane, trkvtxplanedigits, trkvtxqmax, trkvtxrmax, trkvtxtime, trkvtxtimerms, trkvtxtimermsndf, trkvtxtrace, trkvtxtracez, trkvtxu, trkvtxumean, trkvtxuwidth, trkvtxv, trkvtxvmean, trkvtxvwidth, trkvtxx, trkvtxy, trkvtxz, trkzerocurvechi2, trkzerocurvendf, trueemu, trueeshw, trueevis, trueheight, truelength, truemeanheight, truemeanlength, truepdfheight, truepdflength, truesimpleheight, truesimplelength, unixtime, up, updn, updnfilter, updnselect, upmu, upnu, AtmosTrack::UVassymetry, AtmosShower::UVassymetry, veto, AtmosTrack::VtxDirCosU, AtmosShower::VtxDirCosU, AtmosTrack::VtxDirCosV, AtmosShower::VtxDirCosV, AtmosTrack::VtxDirCosX, AtmosShower::VtxDirCosX, AtmosShower::VtxDirCosY, AtmosTrack::VtxDirCosY, AtmosShower::VtxDirCosZ, AtmosTrack::VtxDirCosZ, AtmosTrack::VtxDirTimeFitNdf, AtmosTrack::VtxDirTimeFitRMS, AtmosTrack::VtxDistToEdge, AtmosShower::VtxDistToEdge, AtmosTrack::VtxDistToEdgeDigits, AtmosShower::VtxForTrace, AtmosShower::VtxForTraceZ, AtmosTrack::VtxLinearDirFitChisqU, AtmosTrack::VtxLinearDirFitChisqV, AtmosTrack::VtxLinearDirFitNdfU, AtmosTrack::VtxLinearDirFitNdfV, AtmosShower::VtxPlane, AtmosTrack::VtxPlane, AtmosTrack::VtxPlaneDigits, AtmosTrack::VtxQmax, AtmosShower::VtxRevTrace, AtmosShower::VtxRevTraceZ, AtmosTrack::VtxRmax, AtmosShower::VtxTime, AtmosTrack::VtxTime, AtmosTrack::VtxTrace, AtmosTrack::VtxTraceZ, vtxu, AtmosShower::VtxU, AtmosTrack::VtxU, AtmosTrack::VtxUmean, AtmosShower::VtxUpTrace, AtmosShower::VtxUpTraceZ, AtmosTrack::VtxUwidth, vtxv, AtmosShower::VtxV, AtmosTrack::VtxV, AtmosTrack::VtxVmean, AtmosTrack::VtxVwidth, vtxx, AtmosShower::VtxX, AtmosTrack::VtxX, AtmosShower::VtxY, AtmosTrack::VtxY, vtxy, AtmosShower::VtxZ, AtmosTrack::VtxZ, vtxz, SolarCycleRW::Weight(), westph, WriteToFile(), year, yearfrac, AtmosTrack::ZeroCurveChi2, and AtmosTrack::ZeroCurveNdf.

Referenced by WriteOutEvent().

01018 {
01019   // reverse BField, if necessary
01020   // ============================
01021   Double_t fBReverse = 1.0;
01022 
01023   if( AtNuSettings::ReversingBField() ){
01024     fBReverse = -1.0;
01025   }
01026 
01027   // set event properties
01028   // ====================
01029   idnu = event->MCInfo.IDnu;
01030   idact = event->MCInfo.IDact;
01031   idres = event->MCInfo.IDres;
01032   vtxu = event->MCInfo.VtxU;
01033   vtxv = event->MCInfo.VtxV;
01034   vtxx = event->MCInfo.VtxX;
01035   vtxy = event->MCInfo.VtxY;
01036   vtxz = event->MCInfo.VtxZ;
01037   enu = event->MCInfo.Enu;
01038   pnux = event->MCInfo.PnuX;
01039   pnuy = event->MCInfo.PnuY;
01040   pnuz = event->MCInfo.PnuZ;
01041   emu = event->MCInfo.Emu;
01042   pmux = event->MCInfo.PmuX;
01043   pmuy = event->MCInfo.PmuY;
01044   pmuz = event->MCInfo.PmuZ;
01045   ehad = event->MCInfo.Ehad;
01046   phadx = event->MCInfo.PhadX;
01047   phady = event->MCInfo.PhadY;
01048   phadz = event->MCInfo.PhadZ;
01049   muvtxu = event->MCInfo.MuVtxU;
01050   muvtxv = event->MCInfo.MuVtxV;
01051   muvtxx = event->MCInfo.MuVtxX;
01052   muvtxy = event->MCInfo.MuVtxY;
01053   muvtxz = event->MCInfo.MuVtxZ;
01054   muvtxdr = event->MCInfo.MuVtxDistToEdge;
01055   muvtxplane = event->MCInfo.MuVtxPlane; 
01056   muvtxstrip = event->MCInfo.MuVtxStrip; 
01057   muendu = event->MCInfo.MuEndU;
01058   muendv = event->MCInfo.MuEndV;
01059   muendx = event->MCInfo.MuEndX;
01060   muendy = event->MCInfo.MuEndY;
01061   muendz = event->MCInfo.MuEndZ;
01062   muenddr = event->MCInfo.MuEndDistToEdge;
01063   muendplane = event->MCInfo.MuEndPlane;
01064   muendstrip = event->MCInfo.MuEndStrip;
01065   mupvtx = event->MCInfo.MuPbeg;
01066   mupend = event->MCInfo.MuPend;
01067   run = event->Run;
01068   subrun = event->SubRun;
01069   snarl = event->Snarl;
01070   runtype = event->RunType;
01071   date = event->Date;
01072   time = event->Time;
01073   unixtime = event->UnixTime;
01074   simflag = event->SimFlag;
01075   triggertime = event->NanoSec;
01076   triggersource = event->DataInfo.TriggerSource;
01077   cratemask = event->DataInfo.CrateMask;
01078   errorcode = event->DataInfo.ErrorCode;
01079   pretriggerdigits = event->DataInfo.PreTriggerDigits;
01080   posttriggerdigits = event->DataInfo.PostTriggerDigits;
01081   snarlmultiplicity = event->DataInfo.SnarlMultiplicity;
01082   spillstatus = event->DataInfo.SpillStatus;
01083   spilltype = event->DataInfo.SpillType;
01084   spilltimeerror = event->DataInfo.SpillTimeError;
01085   spillfinderstatus = event->SpillInfo.stfDataAvailable;
01086   spillfindertime = event->SpillInfo.TimeToNearestSpill_stf;
01087   beammonstatus = event->SpillInfo.bmsDataAvailable;
01088   beammonstatusbits = event->SpillInfo.bmsStatus;
01089   beammonselect = event->SpillInfo.BeamSelectSpill;
01090   beammontime = event->SpillInfo.TimeToNearestSpill_bms;
01091   horn_on = event->SpillInfo.horn_on;
01092   target_in = event->SpillInfo.target_in;
01093   beam_type = event->SpillInfo.beam_type;
01094   n_batches = event->SpillInfo.n_batches;
01095   litrigger = event->DataInfo.LiTrigger;
01096   litime = event->DataInfo.LiTime;
01097   lisubtractedtime = event->DataInfo.LiSubtractedTime;
01098   lirelativetime = event->DataInfo.LiRelativeTime;
01099   lipulserbox = event->DataInfo.LiPulserBox;
01100   lipulserled = event->DataInfo.LiPulserLed;
01101   coldchips = event->DataInfo.ColdChips;
01102   hotchips = event->DataInfo.HotChips;
01103   busychips = event->DataInfo.BusyChips;
01104   readouterrors = event->DataInfo.ReadoutErrors;
01105   dataqualityword = event->DataInfo.DataQualityBitMap;
01106 
01107   nstrips = event->NStrips;
01108   goodstrips = event->FilterInfo.GoodStrips;
01109   goodplanes = event->FilterInfo.GoodPlanes;
01110   gooduplanes = event->FilterInfo.GoodUPlanes;
01111   goodvplanes = event->FilterInfo.GoodVPlanes;
01112   maxplaneph = event->FilterInfo.MaxPlaneCharge;
01113   demuxword = event->RecoInfo.DeMuxFlagWord;
01114   demuxdigits = event->RecoInfo.Ndigits;
01115   demuxplndigits = event->RecoInfo.Nplndigits;
01116   abstime = event->RecoInfo.AbsTime;
01117   totph = event->RecoInfo.TotalCharge;
01118   eastph = event->RecoInfo.EastSideCharge;
01119   westph = event->RecoInfo.WestSideCharge;
01120   singleph = event->RecoInfo.SingleEndedCharge;
01121   singlephu = event->RecoInfo.SingleEndedChargeUview;
01122   singlephv = event->RecoInfo.SingleEndedChargeVview;
01123   doubleph = event->RecoInfo.DoubleEndedCharge;
01124   doublephu = event->RecoInfo.DoubleEndedChargeUview;
01125   doublephv = event->RecoInfo.DoubleEndedChargeVview;
01126   eventid = event->FilterInfo.EventId;
01127   eventid1 = event->FilterInfo.EventIdSM1;
01128   eventid2 = event->FilterInfo.EventIdSM2;
01129   eventidx = event->FilterInfo.EventIdX;
01130 
01131   ntracks = event->NTracks; 
01132   nshowers = event->NShowers;
01133   evttrkreco = event->RecoInfo.MuReco;
01134   evttrkemcharge = fBReverse*event->RecoInfo.EMCharge;
01135   evttrkprange = event->RecoInfo.MuMomentumRange;
01136   evttrkpcurve = event->RecoInfo.MuMomentumCurve;
01137   evttrkdiru = event->RecoInfo.MuDirCosU;
01138   evttrkdirv = event->RecoInfo.MuDirCosV;
01139   evttrkdirx = event->RecoInfo.MuDirCosX;
01140   evttrkdiry = event->RecoInfo.MuDirCosY;
01141   evttrkdirz = event->RecoInfo.MuDirCosZ;
01142   evtshwreco = event->RecoInfo.ShwReco;
01143   evtshwdiru = event->RecoInfo.ShwDirCosU;
01144   evtshwdirv = event->RecoInfo.ShwDirCosV;
01145   evtshwdirx = event->RecoInfo.ShwDirCosX;
01146   evtshwdiry = event->RecoInfo.ShwDirCosY;
01147   evtshwdirz = event->RecoInfo.ShwDirCosZ;
01148   evtshwmipslin = event->RecoInfo.ShwMipsLinear;
01149   evtshwmipsdwgt = event->RecoInfo.ShwMipsDeweighted;
01150   evtshwgevlin = event->RecoInfo.ShwEnergyGeVLinear;
01151   evtshwgevdwgt = event->RecoInfo.ShwEnergyGeVDeweighted;
01152   evtvtxtime = event->RecoInfo.VtxTime;
01153   evtvtxu = event->RecoInfo.VtxU;
01154   evtvtxv = event->RecoInfo.VtxV;
01155   evtvtxx = event->RecoInfo.VtxX;
01156   evtvtxy = event->RecoInfo.VtxY;
01157   evtvtxz = event->RecoInfo.VtxZ;
01158   evtvtxplane = event->RecoInfo.VtxPlane;
01159 
01160   multimudemuxflag = event->RecoInfo.MultipleMuonFlag;  
01161   multimuflag = event->RecoInfo.MultiMuReco; 
01162   multimumultiplicity = event->RecoInfo.MultiMuTracks; 
01163   multimudiru = event->RecoInfo.MultiMuDirCosU;
01164   multimudirv = event->RecoInfo.MultiMuDirCosV;
01165   multimudirx = event->RecoInfo.MultiMuDirCosX; 
01166   multimudiry = event->RecoInfo.MultiMuDirCosY;
01167   multimudirz = event->RecoInfo.MultiMuDirCosZ;
01168   
01169   spilltime = atnuspilltime;
01170   shieldtime = atnushieldtime;
01171 
01172   if(eventtype&AtNuEventType::kGoodSlice) goodslice = 1;
01173   if(eventtype&AtNuEventType::kGoodEvent) goodevent = 1;
01174   if(eventtype&AtNuEventType::kGoodTrack) goodtrack = 1;
01175   if(eventtype&AtNuEventType::kGoodShower) goodshower = 1;
01176   if(eventtype&AtNuEventType::kCV) cv = 1;
01177   if(eventtype&AtNuEventType::kCE) ce = 1;
01178   if(eventtype&AtNuEventType::kUPDN) updn = 1;
01179   if(eventtype&AtNuEventType::kFC) fc = 1;
01180   if(eventtype&AtNuEventType::kPC) pc = 1;
01181   if(eventtype&AtNuEventType::kRAF) raf = 1;
01182   if(eventtype&AtNuEventType::kCVUP) cvup = 1;
01183   if(eventtype&AtNuEventType::kUPMU) upmu = 1;
01184   if(eventtype&AtNuEventType::kCosmic) cosmic = 1;
01185   if(eventtype&AtNuEventType::kGoodCosmic) goodcosmic = 1;
01186   if(eventtype&AtNuEventType::kStoppingMuon) stoppingmuon = 1;
01187   if(eventtype&AtNuEventType::kThroughGoingMuon) throughgoingmuon = 1;
01188   if(eventtype&AtNuEventType::kMultipleMuon) multiplemuon = 1;
01189   if(eventtype&AtNuEventType::kVeto) veto = 1;
01190   if(eventtype&AtNuEventType::kSpill) spill = 1;
01191   if(eventtype&AtNuEventType::kBeamSpill) beamspill = 1;
01192   if(eventtype&AtNuEventType::kFakeSpill) fakespill = 1;
01193   if(eventtype&AtNuEventType::kGoodDirection) gooddirection = 1;
01194   if(eventtype&AtNuEventType::kGoodEnergy) goodenergy = 1;
01195   if(eventtype&AtNuEventType::kGoodCharge) goodcharge = 1;
01196   if(eventtype&AtNuEventType::kPositiveCharge) positivecharge = 1;
01197   if(eventtype&AtNuEventType::kNegativeCharge) negativecharge = 1;
01198   if(eventtype&AtNuEventType::kLIevent) lievent = 1;
01199   if(eventtype&AtNuEventType::kMCscatter) mcscatter = 1;
01200 
01201   if(atmoseventtype&AtNuAtmosEventType::kAtmosSlice) atmosslice = 1;
01202   if(atmoseventtype&AtNuAtmosEventType::kAtmosTrack) atmostrack = 1;
01203   if(atmoseventtype&AtNuAtmosEventType::kAtmosShower) atmosshower = 1;
01204   if(atmoseventtype&AtNuAtmosEventType::kGoodAtmosSlice) goodatmosslice = 1;
01205   if(atmoseventtype&AtNuAtmosEventType::kGoodAtmosTrack) goodatmostrack = 1;
01206   if(atmoseventtype&AtNuAtmosEventType::kGoodAtmosShower) goodatmosshower = 1;
01207   if(atmoseventtype&AtNuAtmosEventType::kContainedAtmosTrack ) containedatmostrack = 1;
01208   if(atmoseventtype&AtNuAtmosEventType::kContainedAtmosShower ) containedatmosshower = 1;
01209   if(atmoseventtype&AtNuAtmosEventType::kAtmosNumu) atmosnumu = 1;
01210   if(atmoseventtype&AtNuAtmosEventType::kAtmosNumuCV) atmosnumucv = 1;
01211   if(atmoseventtype&AtNuAtmosEventType::kAtmosNumuUP) atmosnumuup = 1;
01212   if(atmoseventtype&AtNuAtmosEventType::kAtmosNumuUPDN) atmosnumuupdn = 1;
01213   if(atmoseventtype&AtNuAtmosEventType::kAtmosNue) atmosnue = 1; 
01214   if(atmoseventtype&AtNuAtmosEventType::kAtmosNumuCVcut1) atmosnumucvcut1 = 1;
01215   if(atmoseventtype&AtNuAtmosEventType::kAtmosNumuCVcut2) atmosnumucvcut2 = 1;
01216   if(atmoseventtype&AtNuAtmosEventType::kAtmosNumuCVcut3) atmosnumucvcut3 = 1;
01217   if(atmoseventtype&AtNuAtmosEventType::kAtmosNumuCVcut4) atmosnumucvcut4 = 1;
01218   if(atmoseventtype&AtNuAtmosEventType::kAtmosNumuUPcut1) atmosnumuupcut1 = 1;
01219   if(atmoseventtype&AtNuAtmosEventType::kAtmosNumuUPcut2) atmosnumuupcut2 = 1;
01220   if(atmoseventtype&AtNuAtmosEventType::kAtmosNumuUPcut3) atmosnumuupcut3 = 1;
01221   if(atmoseventtype&AtNuAtmosEventType::kAtmosNumuUPcut4) atmosnumuupcut4 = 1;
01222   if(atmoseventtype&AtNuAtmosEventType::kAtmosNueCVcut1) atmosnuecvcut1 = 1;
01223   if(atmoseventtype&AtNuAtmosEventType::kAtmosNueCVcut2) atmosnuecvcut2 = 1;
01224   if(atmoseventtype&AtNuAtmosEventType::kAtmosNueCVcut3) atmosnuecvcut3 = 1;
01225   if(atmoseventtype&AtNuAtmosEventType::kAtmosNueCVcut4) atmosnuecvcut4 = 1;
01226   if(atmoseventtype&AtNuAtmosEventType::kGoodShield) goodshield = 1;
01227 
01228   // containment and direction
01229   // =========================
01230   if( updn ){
01231     if( evttrkdiry>=0 ) up = 1;
01232     if( fabs(evttrkdiry)<0.05 ) hoz = 1;
01233     if( evttrkdiry<0 ) dn = 1;
01234     if( evttrkdiry>-0.25 ) updnfilter = 1;
01235     if( evttrkdiry>-0.05 ) updnselect = 1;
01236   }
01237 
01238   if( pc ){
01239     if( evttrkdiry>=0 ) pcup = 1;
01240     if( evttrkdiry<0 ) pcdn = 1;
01241   }
01242 
01243   if( fc || pc ) fcpc = 1;
01244   if( cvup || upmu ) upnu = 1;
01245 
01246   if( atmosnumuupdn ){
01247     if( evttrkdiry>-0.25 ) atmosnumuupdnfilter = 1;
01248     if( evttrkdiry>-0.05 ) atmosnumuupdnselect = 1;
01249   }
01250 
01251   // set year/month/day
01252   // ==================
01253   TTimeStamp timestamp(unixtime,0);
01254   Int_t datestamp = timestamp.GetDate();
01255   Double_t sec = (Double_t)(timestamp.GetSec());
01256 
01257   year = (Int_t)(datestamp/10000.0);
01258   datestamp -= 10000*year;
01259   month = (Int_t)(datestamp/100.0);
01260   datestamp -= 100*month;
01261   day = datestamp;
01262         
01263   TTimeStamp year0(year,1,1,0,0,0);
01264   Double_t sec0 = (Double_t)(year0.GetSec());
01265 
01266   TTimeStamp year1(year+1,1,1,0,0,0);
01267   Double_t sec1 = (Double_t)(year1.GetSec());
01268 
01269   yearfrac = (Double_t)year + (sec-sec0)/(sec1-sec0);
01270 
01271   // division by resolution
01272   // ======================
01273   // default values (either lores or hires4)
01274   if( atmosnue ){
01275     lores = 1;
01276   }
01277   else if( atmosnumu && (fc||pc) ){
01278     if( gooddirection && goodenergy ) hires4 = 1;
01279     else lores = 1;
01280   }
01281   else if( atmosnumu && upmu ){
01282     hires4 = 1; 
01283   }  
01284   else{
01285     lores = 1;
01286   }
01287 
01288   // solar cycle weighting
01289   // =====================
01290   if( idnu!=0 ){
01291     solaridnu = idnu;
01292     if( solaridnu==-16 ) solaridnu = -14;
01293     if( solaridnu==+16 ) solaridnu = +14;
01294     solartime = SolarCycleRW::Instance()->GenTime();
01295     solarweight = SolarCycleRW::Instance()->Weight(enu, -pnuy/enu, solaridnu, solartime);
01296     solarminweight = SolarCycleRW::Instance()->MinWeight(enu, -pnuy/enu, solaridnu);
01297     solarmaxweight = SolarCycleRW::Instance()->MaxWeight(enu, -pnuy/enu, solaridnu); 
01298   }
01299 
01300   if( idnu!=0 ){
01301     fluxcvupratio = AtNuFluxRW::Instance()->GetBartolFluxRatio(idnu, enu, -pnuy/enu);
01302 
01303     if (idnu<0 ) fluxelmuratio = AtNuFluxRW::Instance()->GetBartolFlavourRatio(-14, enu, -pnuy/enu); 
01304     else         fluxelmuratio = AtNuFluxRW::Instance()->GetBartolFlavourRatio(+14, enu, -pnuy/enu); 
01305   }
01306 
01307   // production heights
01308   // ==================
01309   Double_t fR = 6371.0;  // radius of earth
01310   Double_t fD = 0.65;    // detector depth
01311   Double_t fH = 15.0;    // production height
01312 
01313   if( idnu!=0 ){   
01314     truesimpleheight = AtNuOscillate::ProductionHeight(0,idnu,-pnuy/enu,enu);
01315     truesimplelength = AtNuOscillate::PropagationLength(-pnuy/enu,truesimpleheight);
01316     
01317     truemeanheight = AtNuOscillate::ProductionHeight(1,idnu,-pnuy/enu,enu);
01318     truemeanlength = AtNuOscillate::PropagationLength(-pnuy/enu,truemeanheight);
01319 
01320     truepdfheight = AtNuOscillate::ProductionHeight(2,idnu,-pnuy/enu,enu); 
01321     truepdflength = AtNuOscillate::PropagationLength(-pnuy/enu,truepdfheight);
01322 
01323     trueheight = truepdfheight; // default: use pdf height
01324     truelength = truepdflength; // default: use pdf length
01325   }
01326 
01327   // true kinematics
01328   // ===============
01329   if( idnu!=0 ){ 
01330     if( idact==1 ){
01331       if( fabs(idnu)==14 ){  // numu CC
01332         trueemu = fabs(emu);
01333         trueeshw = enu - fabs(emu);
01334         trueevis = enu;
01335       }
01336       else{  // nue CC or nutau CC
01337         trueemu = 0.0;
01338         trueeshw = enu;
01339         trueevis = enu;
01340       }
01341     }
01342     else{  // NC
01343       trueemu = 0.0;
01344       trueeshw = ehad;
01345       trueevis = ehad;
01346     }
01347   }
01348   
01349   // track extension
01350   // ===============
01351   AtmosTrack* mytrack = 0;
01352   for( Int_t i=0; i<event->NTracks; i++){
01353     AtmosTrack* track = (AtmosTrack*)(event->TrackList->At(i));
01354     if( track ){
01355       if( mytrack==0 ) mytrack = track;
01356       else if( track->Nplanes>mytrack->Nplanes ) mytrack = track;
01357     }
01358   }
01359 
01360   AtmosShower* myshower = 0;
01361   for( Int_t i=0; i<event->NShowers; i++){
01362     AtmosShower* shower = (AtmosShower*)(event->ShowerList->At(i));
01363     if( shower ){
01364       if( myshower==0 ) myshower = shower;
01365       else if( shower->Nplanes>myshower->Nplanes ) myshower = shower;
01366     }
01367   }
01368 
01369   Int_t mytrkplanes = 0;
01370   if( mytrack ){
01371     mytrkplanes = mytrack->Nplanes;
01372   }
01373 
01374   Int_t myshwplanes = 0;
01375   if( myshower ){
01376     myshwplanes = myshower->Nplanes;
01377   }
01378   
01379   evttrkplanes = mytrkplanes;
01380   evtshwplanes = myshwplanes;
01381   evttrackextension = mytrkplanes - myshwplanes;
01382 
01383   // shower energy
01384   // =============
01385   if( goodshower && myshower ){
01386     // recoeshwnue = 0.24 + 6.38e-3*150.0*(myshower->Energy-0.3);
01387     recoeshwnue = AtNuEnergyCorrections::GetNeutrinoShowerEnergy(event);
01388   }
01389 
01390   // track fit error
01391   // ===============
01392   if( goodtrack && mytrack ){
01393     if( mytrack->QPvtxErr>0.0 ){
01394       evttrkqpsigmaqp = fBReverse*mytrack->QPvtx/mytrack->QPvtxErr;   
01395     }
01396   }
01397 
01398   // good track fit error
01399   // ====================
01400   if( goodtrack && mytrack ){
01401     if( goodenergy ){
01402       if( ce==1 ){  // stopping
01403         goodenergyfit = 1;
01404       }
01405       else{  // exiting
01406         if( fabs(evttrkqpsigmaqp)>1.0 ){
01407           goodenergyfit = 1;
01408         }
01409       }
01410     }   
01411   }
01412 
01413   // reco shower kinematics
01414   // ======================
01415   if( atmosnue
01416    || ( atmosnumu==0 && goodshower ) ){
01417  
01418     // nominal energies
01419     recoemu = evttrkprange;
01420     recoemuerr = evttrkprange;
01421     recoemuraw = recoemu;
01422     recoeshwlin = evtshwgevlin;
01423     recoeshwdwgt = evtshwgevdwgt; 
01424     recoeshwdwgtraw = evtshwgevdwgt; 
01425     recoeshwdwgtcorr = evtshwgevdwgt; 
01426     recolength = sqrt( (fH+fD)*(2.0*fR+fH-fD) );
01427     
01428     // corrected energies
01429     if( recoeshwnue>0.0 ) recoeshw = recoeshwnue;
01430     else recoeshw = recoemu+recoeshwdwgt;
01431     recoenu = recoeshw;
01432   }
01433 
01434   // reco track kinematics
01435   // =====================
01436   if( atmosnumu
01437    || ( atmosnue==0 && goodtrack ) ){
01438 
01439     // nominal energies 
01440     recoemu  = evttrkprange;
01441     if( ce ) recoemu  = evttrkprange;
01442     else if( evttrkemcharge!=0 ) recoemu = evttrkpcurve;
01443     recoemuraw = recoemu;
01444      
01445     recoeshwlin = evtshwgevlin;
01446     recoeshwdwgt = evtshwgevdwgt; 
01447     recoeshwdwgtraw = recoeshwdwgt;
01448     recoeshwdwgtcorr = recoeshwdwgt;
01449 
01450     // corrected energies (muon momentum)
01451     if( recoemu>0.0 ){
01452       if( ce ){
01453         recoemu = AtNuEnergyCorrections::GetMuonMomentumRange(event);
01454       }
01455       else{
01456         recoemu = AtNuEnergyCorrections::GetMuonMomentumCurve(event);
01457       }
01458     }
01459 
01460     // corrected energies (shower energy)
01461     if( recoeshwdwgt>0.0 ){
01462       recoeshwdwgt = AtNuEnergyCorrections::GetHadronicShowerEnergy(event);
01463     }
01464 
01465     // truncate shower energy
01466     recoeshwdwgtcorr = recoeshwdwgt;
01467     if( recoeshwdwgt<0.250 ) recoeshwdwgt = 0.250;
01468 
01469     // error in muon momentum
01470     if( ce ){
01471       recoemuerr = sqrt( 0.04*0.04*recoemu*recoemu + 0.08*0.08*recoemu );
01472     }
01473     else{
01474       recoemuerr = recoemu;
01475       if( goodenergy && fabs(evttrkqpsigmaqp)>0.0 ){
01476         recoemuerr = recoemu/fabs(evttrkqpsigmaqp);
01477       }
01478     }
01479 
01480     // overall kinematics
01481     recoeshw = recoeshwdwgt;
01482     recoenu = recoemu+recoeshw;
01483     recolength = + (fR-fD)*evttrkdiry 
01484                  + sqrt( (fR-fD)*(fR-fD)*evttrkdiry*evttrkdiry+(fH+fD)*(2.0*fR+fH-fD) );  
01485   }
01486 
01487   // can now set resolution bins for neutrino-induced rock-muons
01488   if( atmosnumu && upmu ){
01489     if( recoemu<10.0 ) { hires3 = 0; hires4 = 1; }
01490     else               { hires3 = 1; hires4 = 0; }
01491   }
01492 
01493 
01494   // time slope correction factor
01495   // ============================
01496   Double_t fTimeSlopeCorrection = 1.07;
01497 
01498   // write out tracks and showers
01499   // ============================
01500   index = -1;
01501   last = -1;
01502 
01503   if( fWriteTracks ){
01504     if( fWriteTracksLimit>=0 
01505      && fWriteTracksLimit<ntracks ) last += fWriteTracksLimit;
01506     else last += ntracks;
01507   }
01508 
01509   if( fWriteShowers ){
01510     if( fWriteShowersLimit>=0 
01511      && fWriteShowersLimit<nshowers ) last += fWriteShowersLimit;
01512     else last += nshowers;
01513   }
01514 
01515   if( last<0 ) last = 0;
01516 
01517   // ensure that each event is written out
01518   // =====================================
01519   if( (!fWriteTracks || ntracks==0)
01520    && (!fWriteShowers || nshowers==0) ){
01521     index++; this->WriteToFile();
01522   }
01523 
01524   // write tracks
01525   // ============
01526   if( fWriteTracks ){
01527     
01528     trklast = event->TrackList->GetLast();
01529     if( fWriteTracksLimit-1>=0
01530      && fWriteTracksLimit-1<trklast ){
01531       trklast = fWriteTracksLimit-1;
01532     }
01533 
01534     // reset shower properties
01535     // =======================
01536     shwindex = -1;
01537     shwlast = -1;
01538     shwprimary = 0;
01539     shwdigits = 0;
01540     shwstrips = 0;
01541     shwplanes = 0;
01542     shwminplane = -999;
01543     shwmaxplane = -999;
01544     shwvtxplane = 0;
01545     shwvtxtime = 0.0;
01546     shwvtxu = 0.0;
01547     shwvtxv = 0.0;
01548     shwvtxx = 0.0;
01549     shwvtxy = 0.0;
01550     shwvtxz = 0.0;
01551     shwdiru = 0.0;
01552     shwdirv = 0.0;
01553     shwdirx = 0.0;
01554     shwdiry = 0.0;
01555     shwdirz = 0.0;
01556     shwfwdtrace = 0.0;
01557     shwfwdtracez = 0.0;
01558     shwbwdtrace = 0.0;
01559     shwbwdtracez = 0.0;
01560     shwuptrace = 0.0;
01561     shwuptracez = 0.0;
01562     shwvtxdr = 0.0;
01563     shwph = 0.0;
01564     shwcalibph = 0.0;
01565     shwenergy = 0.0;
01566     shwstripssingle = 0;
01567     shwstripsdouble = 0;
01568     shwuplanes = 0;
01569     shwvplanes = 0;
01570     shwuvasymmetry = 0.0;
01571     shwassocph = 0.0;
01572     shwassocphfrac = 0.0;
01573     shwnonfidfrac = 0.0;
01574     shwstripsplane = 0.0;
01575     shwstripsplanerms = 0.0;
01576     shwchargeplane = 0.0;
01577     shwchargeplanerms = 0.0;
01578     shwmoiuvzeigval0 = -999.9;
01579     shwmoiuvzeigval1 = -999.9;
01580     shwmoiuvzeigval2 = -999.9;
01581     shwmoiuzeigval0 = -999.9;
01582     shwmoiuzeigval1 = -999.9;
01583     shwmoivzeigval0 = -999.9;
01584     shwmoivzeigval1 = -999.9;
01585 
01586     for( Int_t i=0; i<=trklast; i++ ){
01587       trkindex = -1; 
01588       index++;
01589 
01590       // set track properties
01591       // ====================
01592       AtmosTrack* track = (AtmosTrack*)(event->TrackList->At(i));
01593       if( track ){
01594         if( track->Index==ptrackid ) trkprimary = 1;
01595         else trkprimary = 0;
01596 
01597         trkindex = i;
01598         trkdigits = track->Ndigits;
01599         trkstrips = track->Nstrips;
01600         trkplanes = track->Nplanes;
01601         trkminplane = track->MinPlaneNumber;
01602         trkmaxplane = track->MaxPlaneNumber;
01603         trkvtxplane = track->VtxPlane;
01604         trkvtxtime = track->VtxTime;
01605         trkvtxu = track->VtxU;
01606         trkvtxv = track->VtxV;
01607         trkvtxx = track->VtxX;
01608         trkvtxy = track->VtxY;
01609         trkvtxz = track->VtxZ;
01610         trkvtxtrace = track->VtxTrace;
01611         trkvtxtracez = track->VtxTraceZ;
01612         trkvtxdr = track->VtxDistToEdge;
01613         trkvtxdiru = track->VtxDirCosU;
01614         trkvtxdirv = track->VtxDirCosV;
01615         trkvtxdirx = track->VtxDirCosX;
01616         trkvtxdiry = track->VtxDirCosY;
01617         trkvtxdirz = track->VtxDirCosZ;
01618         trkvtxtimerms = track->VtxDirTimeFitRMS;
01619         trkvtxtimermsndf = track->VtxDirTimeFitNdf;
01620         trkendplane = track->EndPlane;
01621         trkendtime = track->EndTime;
01622         trkendu = track->EndU;
01623         trkendv = track->EndV;
01624         trkendx = track->EndX;
01625         trkendy = track->EndY;
01626         trkendz = track->EndZ;
01627         trkendtrace = track->EndTrace;
01628         trkendtracez = track->EndTraceZ;
01629         trkenddr = track->EndDistToEdge;
01630         trkenddiru = track->EndDirCosU;
01631         trkenddirv = track->EndDirCosV;
01632         trkenddirx = track->EndDirCosX;
01633         trkenddiry = track->EndDirCosY;
01634         trkenddirz = track->EndDirCosZ;
01635         trkendtimerms = track->EndDirTimeFitRMS;
01636         trkendtimermsndf = track->EndDirTimeFitNdf;
01637         trktimeslope = fTimeSlopeCorrection*track->TimeSlope;
01638         trktimeoffset = track->TimeOffset;
01639         trktimefitchi2 = track->TimingFitChi2;
01640         trktimefitndf = track->TimingFitNdf;
01641         trkmomentum = track->Momentum;
01642         trkmomentumrange = track->MomentumRange;
01643         trkmomentumcurve = track->MomentumCurve;
01644         trkrangemetres = track->RangeMetres;
01645         trkfitpass = track->FitPass;
01646         trkfitemcharge = fBReverse*track->EMcharge;
01647         trkfitqp = fBReverse*track->QPvtx;
01648         trkfitqptweaked = fBReverse*track->QPvtxTweaked;
01649         trkfitqperr = track->QPvtxErr;
01650         trkfitchi2 = track->QPvtxChi2;
01651         trkfitndf = track->QPvtxNdf;
01652         trkph = track->TrkPH;
01653         trkassocph = track->AssocTrkPH;
01654         trkassocphfrac = track->AssocTrkPHfrac;
01655         trklinfitdiru = track->LinearDirCosU;
01656         trklinfitdirv = track->LinearDirCosV;
01657         trklinfitdirz = track->LinearDirCosZ;
01658         trklinfitchi2u = track->LinearDirFitChisqU;
01659         trklinfitchi2v = track->LinearDirFitChisqV;
01660         trklinfitndfu = track->LinearDirFitNdfU;
01661         trklinfitndfv = track->LinearDirFitNdfV;
01662         trkvtxlinfitchi2u = track->VtxLinearDirFitChisqU;
01663         trkvtxlinfitchi2v = track->VtxLinearDirFitChisqV;
01664         trkvtxlinfitndfu = track->VtxLinearDirFitNdfU;
01665         trkvtxlinfitndfv = track->VtxLinearDirFitNdfV;
01666         trkendlinfitchi2u = track->EndLinearDirFitChisqU;
01667         trkendlinfitchi2v = track->EndLinearDirFitChisqV;
01668         trkendlinfitndfu = track->EndLinearDirFitNdfU;
01669         trkendlinfitndfv = track->EndLinearDirFitNdfV;
01670         trklikeplanes = track->TrkLikePlanes;
01671         trkstripssingle = track->NstripsSingleEnded;
01672         trkstripsdouble = track->NstripsDoubleEnded;
01673         trkonlyplanes = track->NplanesTrackOnly;
01674         trkgapplanes = track->NplanesTrackGaps;
01675         trkuplanes = track->NplanesUview;
01676         trkvplanes = track->NplanesVview;
01677         trkuvasymmetry = track->UVassymetry;
01678         trkzerocurvechi2 = track->ZeroCurveChi2;
01679         trkzerocurvendf = track->ZeroCurveNdf;
01680         trkvtxdrdigits = track->VtxDistToEdgeDigits;
01681         trkvtxplanedigits = track->VtxPlaneDigits;
01682         trkvtxuwidth = track->VtxUwidth;
01683         trkvtxvwidth = track->VtxVwidth;
01684         trkvtxumean = track->VtxUmean;
01685         trkvtxvmean = track->VtxVmean;
01686         trkvtxrmax = track->VtxRmax;
01687         trkvtxqmax = track->VtxQmax;
01688         trkenddrdigits = track->EndDistToEdgeDigits;
01689         trkendplanedigits = track->EndPlaneDigits;
01690         trkenduwidth = track->EndUwidth;
01691         trkendvwidth = track->EndVwidth;
01692         trkendumean = track->EndUmean;
01693         trkendvmean = track->EndVmean;
01694         trkendrmax = track->EndRmax;
01695         trkendqmax = track->EndQmax;
01696         trknonfidfrac = track->NonFidFrac;
01697       }
01698       
01699       // write to file
01700       // =============
01701       if( trkindex>=0 ) this->WriteToFile();
01702 
01703     }
01704   }
01705 
01706   // write showers
01707   // =============
01708   if( fWriteShowers ){
01709     
01710     shwlast = event->ShowerList->GetLast();
01711     if( fWriteShowersLimit-1>=0
01712      && fWriteShowersLimit-1<shwlast ){
01713       shwlast = fWriteShowersLimit-1;
01714     }
01715 
01716     // reset track properties
01717     // ======================
01718     trkindex = -1; 
01719     trklast = -1;
01720     trkprimary = 0;
01721     trkdigits = 0;
01722     trkstrips = 0;
01723     trkplanes = 0;
01724     trkminplane = -999;
01725     trkmaxplane = -999;
01726     trkvtxplane = 0;
01727     trkvtxtime = 0.0;
01728     trkvtxu = 0.0;
01729     trkvtxv = 0.0;
01730     trkvtxx = 0.0;
01731     trkvtxy = 0.0;
01732     trkvtxz = 0.0;
01733     trkvtxtrace = 0.0;
01734     trkvtxtracez = 0.0;
01735     trkvtxdr = 0.0;
01736     trkvtxdiru = 0.0;
01737     trkvtxdirv = 0.0;
01738     trkvtxdirx = 0.0;
01739     trkvtxdiry = 0.0;
01740     trkvtxdirz = 0.0;
01741     trkvtxtimerms = 0.0;
01742     trkvtxtimermsndf = 0;
01743     trkendplane = 0;
01744     trkendtime = 0.0;
01745     trkendu = 0.0;
01746     trkendv = 0.0;
01747     trkendx = 0.0;
01748     trkendy = 0.0;
01749     trkendz = 0.0;
01750     trkendtrace = 0.0;
01751     trkendtracez = 0.0;
01752     trkenddr = 0.0;
01753     trkenddiru = 0.0;
01754     trkenddirv = 0.0;
01755     trkenddirx = 0.0;
01756     trkenddiry = 0.0;
01757     trkenddirz = 0.0;
01758     trkendtimerms = 0.0;
01759     trkendtimermsndf = 0;
01760     trktimeslope = 0.0;
01761     trktimeoffset = 0.0;
01762     trktimefitchi2 = 0.0;
01763     trktimefitndf = 0;
01764     trkmomentum = 0.0;
01765     trkmomentumrange = 0.0;
01766     trkmomentumcurve = 0.0;
01767     trkrangemetres = 0.0;
01768     trkfitpass = 0;
01769     trkfitemcharge = 0;
01770     trkfitqp = 0.0;
01771     trkfitqptweaked = 0.0;
01772     trkfitqperr = 0.0;
01773     trkfitchi2 = 0.0;
01774     trkfitndf = 0;
01775     trkph = 0.0;
01776     trkassocph = 0.0;
01777     trkassocphfrac = 0.0;
01778     trklinfitdiru = 0.0;
01779     trklinfitdirv = 0.0;
01780     trklinfitdirz = 0.0;
01781     trklinfitchi2u = -999.9;
01782     trklinfitchi2v = -999.9;
01783     trklinfitndfu = 0;
01784     trklinfitndfv = 0;
01785     trkvtxlinfitchi2u = -999.9;
01786     trkvtxlinfitchi2v = -999.9;
01787     trkvtxlinfitndfu = 0;
01788     trkvtxlinfitndfv = 0;
01789     trkendlinfitchi2u = -999.9;
01790     trkendlinfitchi2v = -999.9;
01791     trkendlinfitndfu = 0;
01792     trkendlinfitndfv = 0;
01793     trklikeplanes = 0;
01794     trkstripssingle = 0;
01795     trkstripsdouble = 0;
01796     trkonlyplanes = 0;
01797     trkgapplanes = 0;
01798     trkuplanes = 0;
01799     trkvplanes = 0;
01800     trkuvasymmetry = 0.0;
01801     trkzerocurvechi2 = 0.0;
01802     trkzerocurvendf = 0;
01803     trkvtxdrdigits = 0.0;
01804     trkvtxplanedigits = 0;
01805     trkvtxuwidth = 0.0;
01806     trkvtxvwidth = 0.0;
01807     trkvtxumean = 0.0;
01808     trkvtxvmean = 0.0;
01809     trkvtxrmax = 0.0;
01810     trkvtxqmax = 0.0;
01811     trkenddrdigits = 0.0;
01812     trkendplanedigits = 0;
01813     trkenduwidth = 0.0;
01814     trkendvwidth = 0.0;
01815     trkendumean = 0.0;
01816     trkendvmean = 0.0;
01817     trkendrmax = 0.0;
01818     trkendqmax = 0.0;
01819     trknonfidfrac = -999.9;
01820 
01821     for( Int_t i=0; i<=shwlast; i++ ){
01822       shwindex = -1; 
01823       index++;
01824 
01825       // set shower properties
01826       // =====================
01827       AtmosShower* shower = (AtmosShower*)(event->ShowerList->At(i));
01828       if( shower ){
01829         if( shower->Index==pshowerid ) shwprimary = 1;
01830         else shwprimary = 0;
01831 
01832         shwindex = i;
01833         shwdigits = shower->Ndigits;
01834         shwstrips = shower->Nstrips;
01835         shwplanes = shower->Nplanes;
01836         shwminplane = shower->MinPlaneNumber;
01837         shwmaxplane = shower->MaxPlaneNumber;
01838         shwvtxplane = shower->VtxPlane;
01839         shwvtxtime = shower->VtxTime;
01840         shwvtxu = shower->VtxU;
01841         shwvtxv = shower->VtxV;
01842         shwvtxx = shower->VtxX;
01843         shwvtxy = shower->VtxY;
01844         shwvtxz = shower->VtxZ;
01845         shwdiru = shower->VtxDirCosU;
01846         shwdirv = shower->VtxDirCosV;
01847         shwdirx = shower->VtxDirCosX;
01848         shwdiry = shower->VtxDirCosY;
01849         shwdirz = shower->VtxDirCosZ;
01850         shwfwdtrace = shower->VtxForTrace;
01851         shwfwdtracez = shower->VtxForTraceZ;
01852         shwbwdtrace = shower->VtxRevTrace;
01853         shwbwdtracez = shower->VtxRevTraceZ;
01854         shwuptrace = shower->VtxUpTrace;
01855         shwuptracez = shower->VtxUpTraceZ;
01856         shwph = shower->AssocShwPH;
01857         shwcalibph = 150.0*(shower->Energy-0.3); // NOTE, THIS IS A HACK!
01858         shwenergy = shower->Energy;
01859         shwstripssingle = shower->NstripsSingleEnded;
01860         shwstripsdouble = shower->NstripsDoubleEnded;
01861         shwuplanes = shower->NplanesUview;
01862         shwvplanes = shower->NplanesVview;
01863         shwuvasymmetry = shower->UVassymetry;
01864         shwvtxdr = shower->VtxDistToEdge;      
01865         shwnonfidfrac = shower->NonFidFrac;
01866         shwassocph = shower->AssocShwPH;
01867         shwassocphfrac = shower->AssocShwPHfrac;
01868         shwstripsplane = shower->MeanStripsPerPlane;
01869         shwstripsplanerms = shower->RMSStripsPerPlane;
01870         shwchargeplane = shower->MeanChargePerPlane;
01871         shwchargeplanerms = shower->RMSChargePerPlane;
01872         shwmoiuvzeigval0 = shower->MOIUVZEigenValue0;
01873         shwmoiuvzeigval1 = shower->MOIUVZEigenValue1;
01874         shwmoiuvzeigval2 = shower->MOIUVZEigenValue2;
01875         shwmoiuzeigval0 = shower->MOIUZEigenValue0;
01876         shwmoiuzeigval1 = shower->MOIUZEigenValue1;
01877         shwmoivzeigval0 = shower->MOIVZEigenValue0;
01878         shwmoivzeigval1 = shower->MOIVZEigenValue1;
01879       }
01880 
01881       // write to file
01882       // =============
01883       if( shwindex>=0 ) this->WriteToFile();
01884 
01885     }
01886   }
01887   
01888   return;
01889 }


Member Data Documentation

Double_t AtNuEventNtuple::abstime [private]

Definition at line 179 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::atmosnue [private]

Definition at line 463 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 472 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 473 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 474 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 475 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::atmosnumu [private]

Definition at line 457 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 458 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 464 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 465 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 466 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 467 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 459 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 468 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 469 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 470 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 471 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 460 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 461 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 462 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 451 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::atmosslice [private]

Definition at line 449 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::atmostrack [private]

Definition at line 450 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::beam_type [private]

Definition at line 151 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 146 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 144 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 145 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::beammontime [private]

Definition at line 147 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::beamspill [private]

Definition at line 440 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::busychips [private]

Definition at line 164 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::ce [private]

Definition at line 417 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::coldchips [private]

Definition at line 162 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 456 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 455 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::cosmic [private]

Definition at line 433 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::cratemask [private]

Definition at line 131 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::cv [private]

Definition at line 416 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::cvup [private]

Definition at line 430 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 166 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::date [private]

Definition at line 121 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::day [private]

Definition at line 125 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 177 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 178 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::demuxword [private]

Definition at line 176 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::dn [private]

Definition at line 419 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::doubleph [private]

Definition at line 186 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::doublephu [private]

Definition at line 187 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::doublephv [private]

Definition at line 188 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::eastph [private]

Definition at line 181 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::ehad [private]

Definition at line 79 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::emu [private]

Definition at line 75 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::enu [private]

Definition at line 71 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::errorcode [private]

Definition at line 132 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::eventid [private]

Definition at line 189 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::eventid1 [private]

Definition at line 190 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::eventid2 [private]

Definition at line 191 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::eventidx [private]

Definition at line 192 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::evtshwdiru [private]

Definition at line 209 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::evtshwdirv [private]

Definition at line 210 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::evtshwdirx [private]

Definition at line 211 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::evtshwdiry [private]

Definition at line 212 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::evtshwdirz [private]

Definition at line 213 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::evtshwgevdwgt [private]

Definition at line 217 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::evtshwgevlin [private]

Definition at line 216 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::evtshwmipsdwgt [private]

Definition at line 215 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::evtshwmipslin [private]

Definition at line 214 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 226 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::evtshwreco [private]

Definition at line 208 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 227 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::evttrkdiru [private]

Definition at line 202 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::evttrkdirv [private]

Definition at line 203 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::evttrkdirx [private]

Definition at line 204 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::evttrkdiry [private]

Definition at line 205 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::evttrkdirz [private]

Definition at line 206 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::evttrkemcharge [private]

Definition at line 199 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::evttrkpcurve [private]

Definition at line 201 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 225 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::evttrkprange [private]

Definition at line 200 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 207 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::evttrkreco [private]

Definition at line 198 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 224 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::evtvtxtime [private]

Definition at line 218 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::evtvtxu [private]

Definition at line 219 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::evtvtxv [private]

Definition at line 220 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::evtvtxx [private]

Definition at line 221 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::evtvtxy [private]

Definition at line 222 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::evtvtxz [private]

Definition at line 223 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::fakespill [private]

Definition at line 441 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::fc [private]

Definition at line 424 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::fcpc [private]

Definition at line 426 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 47 of file AtNuEventNtuple.h.

Referenced by WriteToFile().

Double_t AtNuEventNtuple::fluxcvupratio [private]

Definition at line 112 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::fluxelmuratio [private]

Definition at line 113 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 46 of file AtNuEventNtuple.h.

Referenced by AtNuEventNtuple(), and WriteToFile().

TFile* AtNuEventNtuple::fNtupleFile [private]

Definition at line 49 of file AtNuEventNtuple.h.

Referenced by Close(), CloseFile(), Open(), OpenFile(), and WriteToFile().

Definition at line 45 of file AtNuEventNtuple.h.

Referenced by AtNuEventNtuple(), Open(), and WriteToFile().

TTree* AtNuEventNtuple::fNtupleTree [private]

Definition at line 50 of file AtNuEventNtuple.h.

Referenced by CloseFile(), OpenFile(), and WriteToFile().

Definition at line 52 of file AtNuEventNtuple.h.

Referenced by WriteShowers(), and WriteVariables().

Definition at line 54 of file AtNuEventNtuple.h.

Referenced by WriteShowersLimit(), and WriteVariables().

Definition at line 51 of file AtNuEventNtuple.h.

Referenced by WriteTracks(), and WriteVariables().

Definition at line 53 of file AtNuEventNtuple.h.

Referenced by WriteTracksLimit(), and WriteVariables().

Definition at line 454 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 452 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 453 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::goodcharge [private]

Definition at line 446 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::goodcosmic [private]

Definition at line 434 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 443 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::goodenergy [private]

Definition at line 444 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 445 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::goodevent [private]

Definition at line 413 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::goodplanes [private]

Definition at line 172 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::goodshield [private]

Definition at line 442 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::goodshower [private]

Definition at line 415 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::goodslice [private]

Definition at line 412 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::goodstrips [private]

Definition at line 171 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::goodtrack [private]

Definition at line 414 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 173 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 174 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::hires1 [private]

Definition at line 508 of file AtNuEventNtuple.h.

Referenced by OpenFile(), and ResetVariables().

Int_t AtNuEventNtuple::hires2 [private]

Definition at line 509 of file AtNuEventNtuple.h.

Referenced by OpenFile(), and ResetVariables().

Int_t AtNuEventNtuple::hires3 [private]

Definition at line 510 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::hires4 [private]

Definition at line 511 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::horn_on [private]

Definition at line 149 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::hotchips [private]

Definition at line 163 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::hoz [private]

Definition at line 420 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::idact [private]

Definition at line 64 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::idnu [private]

Definition at line 63 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::idres [private]

Definition at line 65 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::index [private]

Definition at line 58 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::last [private]

Definition at line 59 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::lievent [private]

Definition at line 476 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 160 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 161 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 159 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 158 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::litime [private]

Definition at line 157 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::litrigger [private]

Definition at line 156 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::lores [private]

Definition at line 507 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::maxplaneph [private]

Definition at line 175 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::mcscatter [private]

Definition at line 477 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::month [private]

Definition at line 124 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::muenddr [private]

Definition at line 96 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::muendplane [private]

Definition at line 97 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::muendstrip [private]

Definition at line 98 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::muendu [private]

Definition at line 91 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::muendv [private]

Definition at line 92 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::muendx [private]

Definition at line 93 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::muendy [private]

Definition at line 94 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::muendz [private]

Definition at line 95 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 231 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::multimudiru [private]

Definition at line 234 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::multimudirv [private]

Definition at line 235 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::multimudirx [private]

Definition at line 236 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::multimudiry [private]

Definition at line 237 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::multimudirz [private]

Definition at line 238 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 232 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 233 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 437 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::mupend [private]

Definition at line 100 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::mupvtx [private]

Definition at line 99 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::muvtxdr [private]

Definition at line 88 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::muvtxplane [private]

Definition at line 89 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::muvtxstrip [private]

Definition at line 90 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::muvtxu [private]

Definition at line 83 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::muvtxv [private]

Definition at line 84 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::muvtxx [private]

Definition at line 85 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::muvtxy [private]

Definition at line 86 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::muvtxz [private]

Definition at line 87 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::n_batches [private]

Definition at line 152 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 448 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::nshowers [private]

Definition at line 197 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::nstrips [private]

Definition at line 170 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::ntracks [private]

Definition at line 196 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::pc [private]

Definition at line 425 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::pcdn [private]

Definition at line 427 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::pcup [private]

Definition at line 428 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::phadx [private]

Definition at line 80 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::phady [private]

Definition at line 81 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::phadz [private]

Definition at line 82 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::pmux [private]

Definition at line 76 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::pmuy [private]

Definition at line 77 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::pmuz [private]

Definition at line 78 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::pnux [private]

Definition at line 72 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::pnuy [private]

Definition at line 73 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::pnuz [private]

Definition at line 74 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 447 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 134 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 133 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::raf [private]

Definition at line 429 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 165 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::recoemu [private]

Definition at line 493 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::recoemuerr [private]

Definition at line 495 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::recoemuraw [private]

Definition at line 494 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::recoenu [private]

Definition at line 502 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::recoeshw [private]

Definition at line 501 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::recoeshwdwgt [private]

Definition at line 497 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 499 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 498 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::recoeshwlin [private]

Definition at line 496 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::recoeshwnue [private]

Definition at line 500 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::recolength [private]

Definition at line 492 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::resolution [private]

Definition at line 506 of file AtNuEventNtuple.h.

Referenced by OpenFile(), and ResetVariables().

Int_t AtNuEventNtuple::run [private]

Definition at line 117 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::runtype [private]

Definition at line 120 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shieldtime [private]

Definition at line 407 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shwassocph [private]

Definition at line 388 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shwassocphfrac [private]

Definition at line 389 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shwbwdtrace [private]

Definition at line 372 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shwbwdtracez [private]

Definition at line 373 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shwcalibph [private]

Definition at line 378 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shwchargeplane [private]

Definition at line 393 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 394 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::shwdigits [private]

Definition at line 353 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shwdiru [private]

Definition at line 365 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shwdirv [private]

Definition at line 366 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shwdirx [private]

Definition at line 367 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shwdiry [private]

Definition at line 368 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shwdirz [private]

Definition at line 369 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shwenergy [private]

Definition at line 379 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shwfwdtrace [private]

Definition at line 370 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shwfwdtracez [private]

Definition at line 371 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::shwindex [private]

Definition at line 350 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::shwlast [private]

Definition at line 351 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 357 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 356 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 396 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 397 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 398 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 399 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 400 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 401 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 402 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shwnonfidfrac [private]

Definition at line 390 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shwph [private]

Definition at line 377 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::shwplanes [private]

Definition at line 355 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::shwprimary [private]

Definition at line 352 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::shwstrips [private]

Definition at line 354 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 384 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shwstripsplane [private]

Definition at line 391 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 392 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 383 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::shwuplanes [private]

Definition at line 385 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shwuptrace [private]

Definition at line 374 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shwuptracez [private]

Definition at line 375 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shwuvasymmetry [private]

Definition at line 387 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::shwvplanes [private]

Definition at line 386 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shwvtxdr [private]

Definition at line 376 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 358 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shwvtxtime [private]

Definition at line 359 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shwvtxu [private]

Definition at line 360 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shwvtxv [private]

Definition at line 361 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shwvtxx [private]

Definition at line 362 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shwvtxy [private]

Definition at line 363 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::shwvtxz [private]

Definition at line 364 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::simflag [private]

Definition at line 128 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::singleph [private]

Definition at line 183 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::singlephu [private]

Definition at line 184 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::singlephv [private]

Definition at line 185 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::snarl [private]

Definition at line 119 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 135 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::solaridnu [private]

Definition at line 104 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::solarmaxweight [private]

Definition at line 108 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::solarminweight [private]

Definition at line 107 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::solartime [private]

Definition at line 105 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::solarweight [private]

Definition at line 106 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::spill [private]

Definition at line 439 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 142 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 143 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 139 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::spilltime [private]

Definition at line 408 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::spilltimeerror [private]

Definition at line 141 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::spilltype [private]

Definition at line 140 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 435 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::subrun [private]

Definition at line 118 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::target_in [private]

Definition at line 150 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 436 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::time [private]

Definition at line 122 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::totph [private]

Definition at line 180 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 129 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 130 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkassocph [private]

Definition at line 303 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkassocphfrac [private]

Definition at line 304 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::trkdigits [private]

Definition at line 245 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkenddiru [private]

Definition at line 277 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkenddirv [private]

Definition at line 278 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkenddirx [private]

Definition at line 279 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkenddiry [private]

Definition at line 280 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkenddirz [private]

Definition at line 281 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkenddr [private]

Definition at line 276 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkenddrdigits [private]

Definition at line 338 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 316 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 317 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 318 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 319 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 267 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 339 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkendqmax [private]

Definition at line 345 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkendrmax [private]

Definition at line 344 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkendtime [private]

Definition at line 268 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkendtimerms [private]

Definition at line 282 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 283 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkendtrace [private]

Definition at line 274 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkendtracez [private]

Definition at line 275 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkendu [private]

Definition at line 269 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkendumean [private]

Definition at line 342 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkenduwidth [private]

Definition at line 340 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkendv [private]

Definition at line 270 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkendvmean [private]

Definition at line 343 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkendvwidth [private]

Definition at line 341 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkendx [private]

Definition at line 271 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkendy [private]

Definition at line 272 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkendz [private]

Definition at line 273 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkfitchi2 [private]

Definition at line 297 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkfitemcharge [private]

Definition at line 293 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::trkfitndf [private]

Definition at line 298 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::trkfitpass [private]

Definition at line 292 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkfitqp [private]

Definition at line 294 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkfitqperr [private]

Definition at line 296 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 295 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 324 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::trkindex [private]

Definition at line 242 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::trklast [private]

Definition at line 243 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 320 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trklinfitchi2u [private]

Definition at line 308 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trklinfitchi2v [private]

Definition at line 309 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trklinfitdiru [private]

Definition at line 305 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trklinfitdirv [private]

Definition at line 306 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trklinfitdirz [private]

Definition at line 307 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 310 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 311 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 249 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 248 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkmomentum [private]

Definition at line 288 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 290 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 289 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trknonfidfrac [private]

Definition at line 346 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 323 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkph [private]

Definition at line 302 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::trkplanes [private]

Definition at line 247 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::trkprimary [private]

Definition at line 244 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkrangemetres [private]

Definition at line 291 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::trkstrips [private]

Definition at line 246 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 322 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 321 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trktimefitchi2 [private]

Definition at line 286 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trktimefitndf [private]

Definition at line 287 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trktimeoffset [private]

Definition at line 285 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trktimeslope [private]

Definition at line 284 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::trkuplanes [private]

Definition at line 325 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkuvasymmetry [private]

Definition at line 327 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::trkvplanes [private]

Definition at line 326 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkvtxdiru [private]

Definition at line 260 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkvtxdirv [private]

Definition at line 261 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkvtxdirx [private]

Definition at line 262 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkvtxdiry [private]

Definition at line 263 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkvtxdirz [private]

Definition at line 264 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkvtxdr [private]

Definition at line 259 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkvtxdrdigits [private]

Definition at line 330 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 312 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 313 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 314 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 315 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 250 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 331 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkvtxqmax [private]

Definition at line 337 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkvtxrmax [private]

Definition at line 336 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkvtxtime [private]

Definition at line 251 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkvtxtimerms [private]

Definition at line 265 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 266 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkvtxtrace [private]

Definition at line 257 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkvtxtracez [private]

Definition at line 258 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkvtxu [private]

Definition at line 252 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkvtxumean [private]

Definition at line 334 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkvtxuwidth [private]

Definition at line 332 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkvtxv [private]

Definition at line 253 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkvtxvmean [private]

Definition at line 335 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkvtxvwidth [private]

Definition at line 333 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkvtxx [private]

Definition at line 254 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkvtxy [private]

Definition at line 255 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trkvtxz [private]

Definition at line 256 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 328 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 329 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trueemu [private]

Definition at line 489 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trueeshw [private]

Definition at line 490 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trueevis [private]

Definition at line 491 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::trueheight [private]

Definition at line 481 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::truelength [private]

Definition at line 485 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::truemeanheight [private]

Definition at line 483 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::truemeanlength [private]

Definition at line 487 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::truepdfheight [private]

Definition at line 484 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::truepdflength [private]

Definition at line 488 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 482 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Definition at line 486 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::unixtime [private]

Definition at line 127 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::up [private]

Definition at line 418 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::updn [private]

Definition at line 421 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::updnfilter [private]

Definition at line 422 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::updnselect [private]

Definition at line 423 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::upmu [private]

Definition at line 431 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::upnu [private]

Definition at line 432 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::veto [private]

Definition at line 438 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::vtxu [private]

Definition at line 66 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::vtxv [private]

Definition at line 67 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::vtxx [private]

Definition at line 68 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::vtxy [private]

Definition at line 69 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::vtxz [private]

Definition at line 70 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::westph [private]

Definition at line 182 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Int_t AtNuEventNtuple::year [private]

Definition at line 123 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().

Double_t AtNuEventNtuple::yearfrac [private]

Definition at line 126 of file AtNuEventNtuple.h.

Referenced by OpenFile(), ResetVariables(), and WriteVariables().


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1