NuEvent Class Reference

#include <NuEvent.h>

List of all members.

Public Member Functions

 NuEvent ()
virtual ~NuEvent ()
void Reset ()
 ClassDef (NuEvent, 94)

Public Attributes

Bool_t vtxFitPassFail
Double_t vtxFitTime
Double_t vtxFitTimeError
Double_t vtxFitChi2DoF
Book-keeping quantities

EVERYTIME A TRUTH VARIABLE IS ADDED TO THIS CLASS IT MUST ALSO BE ADDED TO NuMCEvent



Int_t index
 the n'th NuEvent object to be written to the tree
Int_t entry
 the n'th snarl to be processed
Snarl/run based quantities



Int_t run
 fHeader.fRun
Int_t subRun
 fHeader.fSubRun
Int_t runType
 fHeader.fRunType
Int_t errorCode
 fHeader.fErrorCode
Int_t snarl
 actual DAQ snarl number
Int_t trigSrc
 fHeader.fTrigSrc
Int_t timeFrame
 fHeader.fTimeFrame
Int_t remoteSpillType
 fHeader.fRemoteSpillType
Int_t detector
 fHeader.fVldContext.fDetector
Int_t simFlag
 fHeader.fVldContext.fSimFlag
Int_t timeSec
 fHeader.fVldContext.fTimeStamp.fSec
Int_t timeNanoSec
 fHeader.fVldContext.fTimeStamp.fNanoSec
Double_t timeSeconds
 VldTimeStamp.GetSeconds() sec+nanoSec/1e9.
Double_t trigtime
 evthdr.trigtime
Double_t medianTime
 the median time in event (with respect to timeFrame start)
Double_t timeEvtMin
Double_t timeEvtMax
 latest time in event (with respect to timeNanoSec)
Double_t crateT0
 Crate t0.
Int_t sgate_10mhz
Int_t sgate_53mhz
Int_t rollover_53mhz
Int_t rollover_last_53mhz
Int_t timingFiducial
Int_t nearestSpillSec
 time of nearest spill (s)
Int_t nearestSpillNanosec
 time of nearest spill (ns);
Double_t timeToNearestSpill
 time to nearest spill (uses SpillTimeFinder)
Int_t planeEvtHdrBeg
 evthdr.plane.beg (different than evt.plane.beg!)
Int_t planeEvtHdrEnd
 evthdr.plane.end (different than evt.plane.end!)
Double_t snarlPulseHeight
 evthdr.ph.sigcor
Data quality variables



Bool_t isGoodDataQuality
 uses DataUtil::IsGoodData()
Bool_t isGoodDataQualityRUN
 uses DataUtil::IsGoodDataRUN()
Bool_t isGoodDataQualityCOIL
 uses DataUtil::IsGoodDataCOIL()
Bool_t isGoodDataQualityHV
 uses DataUtil::IsGoodDataHV()
Bool_t isGoodDataQualityGPS
 uses DataUtil::IsGoodDataGPS()
Int_t numActiveCrates
 number of active readout crates ('cratemask')
Int_t numTimeFrames
 number of timeframes, gives run duration
Int_t numGoodSnarls
 number of 'good' snarls during run
Float_t snarlRateMedian
 median snarl rate during run
Float_t snarlRateMax
 maximum snarl rate during run
Int_t deltaSecToSpillGPS
 time from trigger to nearest spill (s)
Int_t deltaNanoSecToSpillGPS
 time from trigger to nearest spill (ns)
Int_t gpsError
 GPS error (ns).
Int_t gpsSpillType
 type of spill
Bool_t coilIsOk
 CoilTools::IsOk(vldc);.
Bool_t coilIsReverse
 CoilTools::IsReverse(vldc);.
Float_t coilCurrent
 detector B field coil current (not always filled)
Bool_t isLI
 LISieve::IsLI().
Int_t litag
 CC analysis definition: reco.FDRCBoundary(nu);.
Double_t litime
 evthdr.litime (==-1 if not LI)
Reconstructed quantities

These variables are here to add a level of indirection, they don't store information directly from the sntp files, but rather they can be set at analysis-time to what the user wants them to contain e.g. shwEn could be set to the deweighted, energy corrected, CC shower energy if the analysis selected the event as a CC event. Alternatively, if the analysis selected the event as NC then shwEn could be set to the linear NC, no energy correction, NC shower energy. Don't rely on the defaults, but they typically assume you have a CC event and want linear, energy corrected values of the energy



Float_t energy
 Best reconstructed energy.
Float_t energyCC
 Reconstructed energy assuming this is a CC event.
Float_t energyNC
 Reconstructed energy assuming this is an NC event.
Float_t energyRM
 Reconstructed energy for RAF events.
Float_t trkEn
 Best reconstructed track energy.
Float_t trkEnRange
 Reconstructed track energy calculated from range.
Float_t trkEnCurv
 Reconstructed track energy calculated from curvature.
Float_t shwEn
 Best reconstructed shower energy.
Float_t shwEnCC
 Reconstructed shower energy assuming this is a CC event.
Float_t shwEnNC
 Reconstructed shower energy assuming this is an NC event.
Float_t resolution
 Estimated energy resolution of this event in GeV.
Convenience flags

These 3 flags are just for convenience when playing with DSTs they are ABSOLUTELY NOT TO BE USED FOR ANALYSIS



Bool_t isInFidVolCC
 Is the event in the CC 2010 fiducial volume.
Bool_t isGoodTrackReclamation
 Pass trkFitPass or ND reclamation.
Bool_t isNCClean
 Pass NC cleaning (for all events, not just NCs).
Basic kinematics



Float_t y
 reco'd y = (Enu-Emu)/Enu
Float_t q2
 reco'd q2 = -q^{2} = 2 Enu Emu (1 - cos(theta_mu))
Float_t x
 reco'd x = Q2 / (2M* Ehad) {M=nucleon mass}
Float_t w2
 reco'd w2 = M^{2} + q^{2} + 2M(Enu-Emu)
Float_t dirCosNu
 reco'd direction cosine of track
Event info extracted from the ntuples



Int_t evt
 reco'd event number, evt.index
Int_t slc
 reco'd slice number, evt.slc
Int_t nevt
 Number of reconstructed events in the snarl.
Int_t ndigitEvt
 evt.ndigit
Int_t nstripEvt
 evt.nstrip
Int_t nshw
 evt.nshower
Int_t ntrk
 evt.ntrack
Int_t primshw
 evt.primshw
Int_t primtrk
 evt.primtrk
Float_t rawPhEvt
 evt.ph.raw
Float_t evtphsigcor
 evt.ph.sigcor
Float_t evtphsigmap
 evt.ph.sigmap
Int_t planeEvtN
 number of planes in event
Int_t planeEvtNu
 evt.plane.nu
Int_t planeEvtNv
 evt.plane.nv
RO PID variables

These RO PID variables store the values obtained using the NtpSREvent. Rustem's code defines which track to use by using the number of "active" planes



Float_t roIDEvt
 RO's PID variable (got using the evt).
Float_t knn01TrkActivePlanesEvt
 number of active planes in trk
Float_t knn10TrkMeanPhEvt
 average ph per plane in trk
Float_t knn20LowHighPhEvt
 average of low ph strips / average of high ph strips
Float_t knn40TrkPhFracEvt
 fraction of ph in trk
Float_t roIDNuMuBarEvt
 RO's PID NuMuBar selection (0 or 1).
Float_t relativeAngleEvt
 RO's track angle relative to muon dir.
Jasmine Ma/Ratchford new PID variables (Event)



Float_t jmIDEvt
Float_t jmTrackPlaneEvt
Float_t jmEndPhEvt
Float_t jmMeanPhEvt
Float_t jmScatteringUEvt
Float_t jmScatteringVEvt
Float_t jmScatteringUVEvt
Float_t jmEventknnIDEvt
Float_t jmEventknn208Evt
 Summed ph in path end.
Float_t jmEventknn207Evt
 Standard devation of ph in path end.
Float_t jmEventknn206Evt
 Mean ph in path.
Float_t jmEventknn205Evt
Float_t jmEventknn204Evt
 Size of the path found by the Dijkstra algorithm.
Event vertex and end



Float_t xEvtVtx
 evt.vtx.x
Float_t yEvtVtx
 evt.vtx.y
Float_t zEvtVtx
 evt.vtx.z
Float_t uEvtVtx
 evt.vtx.u
Float_t vEvtVtx
 evt.vtx.v
Float_t tEvtVtx
 evt.vtx.t
Int_t planeEvtVtx
 evt.vtx.plane
Int_t planeEvtBeg
 evt.plane.beg
Int_t planeEvtBegu
 evt.plane.begu
Int_t planeEvtBegv
 evt.plane.begv
Float_t xEvtEnd
 evt.end.x
Float_t yEvtEnd
 evt.end.y
Float_t zEvtEnd
 evt.end.z
Float_t uEvtEnd
 evt.end.u
Float_t vEvtEnd
 evt.end.v
Int_t planeEvtEnd
 evt.plane.end
Int_t planeEvtEndu
 evt.plane.endu
Int_t planeEvtEndv
 evt.plane.endv
Best track



Bool_t trkExists
 simply state if track exists
Int_t trkIndex
 trk.index, position in TClonesArray in sntp file
Int_t ndigitTrk
 trk.ndigit
Int_t nstripTrk
 trk.nstrip
Float_t trkEnCorRange
 Equivalent to trkEnRange.
Float_t trkEnCorCurv
 Equivalent to trkEnCurv.
Float_t trkShwEnNear
 Reconstructed shower energy within 1m of the track vertex.
Float_t trkShwEnNearDW
 Reconstructed deweighted shower energy within 1m of the track vertex.
Float_t trkMomentumRange
 Uncorrected track momentum from range.
Float_t trkResolution
 Estimated resolution on the track energy in GeV.
Int_t containedTrk
 trk.contained
Int_t trkfitpass
 trk.fit.pass
Float_t trkvtxdcosz
 trk.vtx.dcosz
Float_t trkvtxdcosy
 trk.vtx.dcosy
Int_t trknplane
 trk.nplane
Int_t charge
 +1 or -1: simply derived from qp (from track fit)
Float_t qp
 track Q/P from fit (no EnCor)
Float_t qp_rangebiased
 track Q/P from fit (with range bias)
Float_t sigqp
 track sigma Q/P from fit
Float_t qp_sigqp
 qp / sigqp
Float_t chi2
 track chi2 of fit
Float_t ndof
 track ndof of fit
Float_t qpFraction
 trk.stpfitqp[i], npositive/nstrip
Int_t trkVtxUVDiffPl
 trk.plane.begu-trk.plane.begv;
Int_t trkLength
 abs(trk.plane.end-trk.plane.beg+1);
Int_t planeTrkNu
 trk.plane.nu: number of u planes hit
Int_t planeTrkNv
 trk.plane.nv: number of v planes hit
Int_t ntrklike
 the number of trk-like planes
Float_t trkphsigcor
 trk.ph.sigcor
Float_t trkphsigmap
 trk.ph.sigmap
Int_t trkIdMC
 true identity of the track
Float_t trkds
 total track path length from vertex to end (m) trk.ds
Int_t trkfitpassSA
 variables from the SA track fitter
Float_t trkvtxdcoszSA
 fitsa.fit.dcosz
Int_t chargeSA
 definition same as variable without SA postfix
Float_t qpSA
 definition same as variable without SA postfix
Float_t sigqpSA
 definition same as variable without SA postfix
Float_t chi2SA
 definition same as variable without SA postfix
Float_t ndofSA
 definition same as variable without SA postfix
Float_t probSA
 definition same as variable without SA postfix
Float_t xTrkVtxSA
 calculated from u&v
Float_t yTrkVtxSA
 calculated from u&v
Float_t zTrkVtxSA
 fitsa.fit.z
Float_t uTrkVtxSA
 fitsa.fit.u
Float_t vTrkVtxSA
 fitsa.fit.v
Float_t jitter
 from MajCInfo
Float_t jPID
 from MajCInfo
Float_t majC
 from MajCInfo
Float_t smoothMajC
 from MajCInfo
Float_t xTrkVtx
 trk.vtx.x
Float_t yTrkVtx
 trk.vtx.y
Float_t zTrkVtx
 trk.vtx.z
Float_t uTrkVtx
 trk.vtx.u
Float_t vTrkVtx
 trk.vtx.v
Float_t tTrkVtx
Int_t planeTrkVtx
 trk.vtx.plane
Int_t planeTrkBeg
 trk.plane.beg
Int_t planeTrkBegu
 trk.plane.begu
Int_t planeTrkBegv
 trk.plane.begv
Float_t inverseBetaTrk
 trk.time.cdtds, which is 1/beta
Double_t t0Trk
Float_t chi2TimeTrk
UShort_t ndigitTimeTrk
Double_t forwardRMSTrk
Int_t forwardNDOFTrk
Track strip geometry information



Int_t stripTrkBeg
 Strip number of the first strip hit.
Int_t stripTrkBegu
 Strip number of the first strip hit in a u plane.
Int_t stripTrkBegv
 Strip number of the first strip hit in a v plane.
Short_t stripTrkEnd
 Strip number of the last strip hit.
Short_t stripTrkEndu
 Strip number of the last strip hit in a u plane.
Short_t stripTrkEndv
 Strip number of the last strip hit in a u plane.
Bool_t stripTrkBegIsu
 True if the first strip hit in this track was in a u plane.
Bool_t stripTrkEndIsu
 True if the last strip hit in this track was in a u plane.
RAF (rock and anti-fiducial) variables



Int_t regionTrkVtx
 The region of the detector the track vertex is in.
Char_t edgeRegionTrkVtx
 The octant of the detector that the track vertex is in.
Char_t edgeRegionTrkEnd
 Same as edgeRegionTrkVtx but for the track end.
Float_t phiTrkVtx
 Location of the track vertex in Phi = atan2(vtx.x / vtx.y).
Float_t phiTrkEnd
 Location of the track end in Phi = atan2(vtx.x / vtx.y).
Short_t parallelStripTrkVtx
 On a diagonal edge, the strip number of the first track hit.
Short_t parallelStripTrkVtxNoShift
 parallelStripTrkVtx without post-MC corrections
Short_t parallelStripTrkEnd
 Same as parallelStripTrkVtx, but for the track end.
Char_t stripTrkBegPerpFlag
 Whether the first hit on a diagonal edge is on a perpendicular (overhanging) strip.
Char_t stripTrkEndPerpFlag
 Same as stripTrkBegPerpFlag, but for the last hit in the track.
Short_t stripHoveNumTrkVtx
 HOrizontal/VErtical strip number --- a measure of distance from the edge.
Short_t stripHoveNumTrkVtxNoShift
 stripHoveNumTrkVtx without post-MC corrections
Short_t stripHoveNumTrkEnd
 stripHoveNumTrkVtx but for the track end
Float_t cosPrTrkVtx
 Cosine of angle between theta and radial momentum.
More best track variables copied from the SNTP



Float_t xTrkEnd
 trk.end.x
Float_t yTrkEnd
 trk.end.y
Float_t zTrkEnd
 trk.end.z
Float_t uTrkEnd
 trk.end.u
Float_t vTrkEnd
 trk.end.v
Int_t planeTrkEnd
 trk.plane.end
Int_t planeTrkEndu
 trk.plane.endu
Int_t planeTrkEndv
 trk.plane.endv
Float_t drTrkFidall
 trk.fidall.dr
Float_t dzTrkFidall
 trk.fidall.dz
Float_t drTrkFidvtx
 trk.fidbeg.dr
Float_t dzTrkFidvtx
 trk.fidbeg.dz
Float_t drTrkFidend
 trk.fidend.dr
Float_t dzTrkFidend
 trk.fidend.dz
Float_t traceTrkFidall
 trk.fidall.trace
Float_t traceTrkFidvtx
 trk.fidvtx.trace
Float_t traceTrkFidend
 trk.fidend.trace
Best shower



Bool_t shwExists
 simply state if shower exists
Int_t ndigitShw
 shw.ndigit
Int_t nstripShw
 shw.nstrip
Int_t nplaneShw
 shw.plane.n
Float_t shwEnCor
 Equivalent to shwEnLinCCCor.
Float_t shwEnNoCor
 Copied from NtpSRShowerPulseHeight::linCCgev.
Float_t shwEnMip
 Copied from NtpSRStripPulseHeight::mip.
Float_t shwEnLinCCNoCor
 shw.shwph.linCCgev
Float_t shwEnLinCCCor
 Calorimetric shower energy assuming a CC event.
Float_t shwEnWtCCNoCor
 Copied from NtpSRShowerPulseHeight::wtCCgev.
Float_t shwEnWtCCCor
 Deweighted shower energy with energy corrections.
Float_t shwEnLinNCNoCor
 Copied from NtpSRShowerPulseHeight::linNCgev.
Float_t shwEnLinNCCor
 Shower energy with energy corrections assuming this is an NC event.
Float_t shwEnWtNCNoCor
 Copied from NtpSRShowerPulseHeight::wtNCgev.
Float_t shwEnWtNCCor
 Deweighted NC shower energy with corrections.
Float_t shwResolution
 Estimated resolution on the shower energy in GeV.
Float_t shwEnkNN
 Shower energy as calculated by the kNN algorithm.
Float_t shwEnkNNNoCor
 Uncorrected shower energy as calculated by the kNN algorithm.
Float_t shwEnReskNN
 Shower energy resolution estimate from the kNN method.
Int_t planeShwBeg
 shw.plane.beg
Int_t planeShwEnd
 shw.plane.end
Int_t planeShwMax
 Shower plane with maximum pulseheight.
Float_t xShwVtx
 shw.vtx.x
Float_t yShwVtx
 shw.vtx.y
Float_t zShwVtx
 shw.vtx.z



Float_t shwEnkNNPlus
 MINOS+ kNN shower energy variables shwEnkNNPlus and shwEnkNNPlusNoCor are computed in NtupleUtils/NuReco.cxx shwRmsT, shwPctWidth, ..., planeAllShwMax are computed in NtupleUtils/NuExtraction.cxx junting@physics.utexas.edu.
Float_t shwEnkNNPlusNoCor
 non-corrected version of shwEnkNNPlus // topology variables for the best shower
Float_t shwRmsT
 RMS of transverse distribution.
Float_t shwPctWidth
 sum of widths with 10%, 20%, ..., 90% containment
Float_t shwPctLength
 sum of widths with 10%, 20%, ..., 90% containment
Float_t shwSumHitLength
 sum of hit z position weighted by mip
Float_t shwSumHitWidth
 sum of hit transverse position weighted by mip // kinematics variables for the best shower
Float_t avgShwHitMip
 average hit mip
Float_t maxShwPlaneMip
 max mip in a plane
Float_t maxShwHitMip
 max mip of a hit // variables calculated from hits in all showers
Float_t shwRmsTAllShws
 all-shower version of shwRmsT
Float_t shwPctWidthAllShws
 all-shower version of shwPctWidth
Float_t shwPctLengthAllShws
 all-shower version of shwPctLength
Float_t avgShwHitMipAllShws
 all-shower version of avgShwHitMipAllShws
Float_t shwSumHitLengthAllShws
 all-shower version of shwSumHitLengthAllShws
Float_t shwSumHitWidthAllShws
 all-shower version of shwSumHitWidthAllShws
Float_t maxShwPlaneMipAllShws
 all-shower version of maxShwPlaneMipAllShws
Float_t maxShwHitMipAllShws
 all-shower version of maxShwHitMipAllShws
Float_t nplaneAllShws
 all-shower version of nplaneShw
Float_t planeAllShwMax
 all-shower version of planeShwMax
Primary track

For documentation see the same variables without the suffix



Bool_t trkExists1
Int_t trkIndex1
Int_t ndigitTrk1
Int_t nstripTrk1
Float_t trkEnCorRange1
Float_t trkEnCorCurv1
Float_t trkShwEnNear1
Float_t trkShwEnNearDW1
Float_t trkMomentumRange1
Int_t containedTrk1
Int_t trkfitpass1
Float_t trkvtxdcosz1
Float_t trkvtxdcosy1
Int_t trknplane1
Int_t charge1
Float_t qp1
Float_t qp_rangebiased1
Float_t sigqp1
Float_t qp_sigqp1
Float_t chi21
Float_t ndof1
Float_t qpFraction1
Int_t trkVtxUVDiffPl1
Int_t trkLength1
Int_t planeTrkNu1
Int_t planeTrkNv1
Int_t ntrklike1
Float_t trkphsigcor1
Float_t trkphsigmap1
Int_t trkIdMC1
Float_t trkds1
Int_t trkfitpassSA1
Float_t trkvtxdcoszSA1
Int_t chargeSA1
Float_t qpSA1
Float_t sigqpSA1
Float_t chi2SA1
Float_t ndofSA1
Float_t probSA1
Float_t xTrkVtxSA1
Float_t yTrkVtxSA1
Float_t zTrkVtxSA1
Float_t uTrkVtxSA1
Float_t vTrkVtxSA1
Float_t jitter1
Float_t jPID1
Float_t majC1
Float_t smoothMajC1
Float_t roID1
Float_t knn01TrkActivePlanes1
Float_t knn10TrkMeanPh1
Float_t knn20LowHighPh1
Float_t knn40TrkPhFrac1
Float_t roIDNuMuBar1
Float_t relativeAngle1
Float_t jmID1
Float_t jmTrackPlane1
Float_t jmEndPh1
Float_t jmMeanPh1
Float_t jmScatteringU1
Float_t jmScatteringV1
Float_t jmScatteringUV1
Float_t xTrkVtx1
Float_t yTrkVtx1
Float_t zTrkVtx1
Float_t uTrkVtx1
Float_t vTrkVtx1
Float_t tTrkVtx1
Int_t planeTrkVtx1
Int_t planeTrkBeg1
Int_t planeTrkBegu1
Int_t planeTrkBegv1
Float_t inverseBetaTrk1
Double_t t0Trk1
Float_t chi2TimeTrk1
UShort_t ndigitTimeTrk1
Double_t forwardRMSTrk1
Int_t forwardNDOFTrk1
Int_t stripTrkBeg1
Int_t stripTrkBegu1
Int_t stripTrkBegv1
Short_t stripTrkEnd1
Short_t stripTrkEndu1
Short_t stripTrkEndv1
Bool_t stripTrkBegIsu1
Bool_t stripTrkEndIsu1
Int_t regionTrkVtx1
Char_t edgeRegionTrkVtx1
Char_t edgeRegionTrkEnd1
Float_t phiTrkVtx1
Float_t phiTrkEnd1
Short_t parallelStripTrkVtx1
Short_t parallelStripTrkEnd1
Char_t stripTrkBegPerpFlag1
Char_t stripTrkEndPerpFlag1
Short_t stripHoveNumTrkVtx1
Short_t stripHoveNumTrkEnd1
Float_t xTrkEnd1
Float_t yTrkEnd1
Float_t zTrkEnd1
Float_t uTrkEnd1
Float_t vTrkEnd1
Int_t planeTrkEnd1
Int_t planeTrkEndu1
Int_t planeTrkEndv1
Float_t drTrkFidall1
Float_t dzTrkFidall1
Float_t drTrkFidvtx1
Float_t dzTrkFidvtx1
Float_t drTrkFidend1
Float_t dzTrkFidend1
Float_t traceTrkFidall1
Float_t traceTrkFidvtx1
Float_t traceTrkFidend1
Float_t cosPrTrkVtx1
Primary shower

For documentation see the same variables without the suffix



Bool_t shwExists1
Int_t ndigitShw1
Int_t nstripShw1
Int_t nplaneShw1
Float_t shwEnCor1
Float_t shwEnNoCor1
Float_t shwEnLinCCNoCor1
Float_t shwEnLinCCCor1
Float_t shwEnWtCCNoCor1
Float_t shwEnWtCCCor1
Float_t shwEnLinNCNoCor1
Float_t shwEnLinNCCor1
Float_t shwEnWtNCNoCor1
Float_t shwEnWtNCCor1
Float_t shwEnMip1
Int_t planeShwBeg1
Int_t planeShwEnd1
Int_t planeShwMax1
Float_t xShwVtx1
Float_t yShwVtx1
Float_t zShwVtx1
Second track

For documentation see the same variables without the suffix



Bool_t trkExists2
Int_t trkIndex2
Int_t ndigitTrk2
Int_t nstripTrk2
Float_t trkEnCorRange2
Float_t trkEnCorCurv2
Float_t trkShwEnNear2
Float_t trkShwEnNearDW2
Float_t trkMomentumRange2
Int_t containedTrk2
Int_t trkfitpass2
Float_t trkvtxdcosz2
Float_t trkvtxdcosy2
Int_t trknplane2
Int_t charge2
Float_t qp2
Float_t qp_rangebiased2
Float_t sigqp2
Float_t qp_sigqp2
Float_t chi22
Float_t ndof2
Float_t qpFraction2
Int_t trkVtxUVDiffPl2
Int_t trkLength2
Int_t planeTrkNu2
Int_t planeTrkNv2
Int_t ntrklike2
Float_t trkphsigcor2
Float_t trkphsigmap2
Int_t trkIdMC2
Float_t trkds2
Int_t trkfitpassSA2
Float_t trkvtxdcoszSA2
Int_t chargeSA2
Float_t qpSA2
Float_t sigqpSA2
Float_t chi2SA2
Float_t ndofSA2
Float_t probSA2
Float_t xTrkVtxSA2
Float_t yTrkVtxSA2
Float_t zTrkVtxSA2
Float_t uTrkVtxSA2
Float_t vTrkVtxSA2
Float_t jitter2
Float_t jPID2
Float_t majC2
Float_t smoothMajC2
Float_t roID2
Float_t knn01TrkActivePlanes2
Float_t knn10TrkMeanPh2
Float_t knn20LowHighPh2
Float_t knn40TrkPhFrac2
Float_t roIDNuMuBar2
Float_t relativeAngle2
Float_t jmID2
Float_t jmTrackPlane2
Float_t jmEndPh2
Float_t jmMeanPh2
Float_t jmScatteringU2
Float_t jmScatteringV2
Float_t jmScatteringUV2
Float_t xTrkVtx2
Float_t yTrkVtx2
Float_t zTrkVtx2
Float_t uTrkVtx2
Float_t vTrkVtx2
Float_t tTrkVtx2
Int_t planeTrkVtx2
Int_t planeTrkBeg2
Int_t planeTrkBegu2
Int_t planeTrkBegv2
Float_t inverseBetaTrk2
Double_t t0Trk2
Float_t chi2TimeTrk2
UShort_t ndigitTimeTrk2
Double_t forwardRMSTrk2
Int_t forwardNDOFTrk2
Int_t stripTrkBeg2
Int_t stripTrkBegu2
Int_t stripTrkBegv2
Short_t stripTrkEnd2
Short_t stripTrkEndu2
Short_t stripTrkEndv2
Bool_t stripTrkBegIsu2
Bool_t stripTrkEndIsu2
Int_t regionTrkVtx2
Char_t edgeRegionTrkVtx2
Char_t edgeRegionTrkEnd2
Float_t phiTrkVtx2
Float_t phiTrkEnd2
Short_t parallelStripTrkVtx2
Short_t parallelStripTrkEnd2
Char_t stripTrkBegPerpFlag2
Char_t stripTrkEndPerpFlag2
Short_t stripHoveNumTrkVtx2
Short_t stripHoveNumTrkEnd2
Float_t xTrkEnd2
Float_t yTrkEnd2
Float_t zTrkEnd2
Float_t uTrkEnd2
Float_t vTrkEnd2
Int_t planeTrkEnd2
Int_t planeTrkEndu2
Int_t planeTrkEndv2
Float_t drTrkFidall2
Float_t dzTrkFidall2
Float_t drTrkFidvtx2
Float_t dzTrkFidvtx2
Float_t drTrkFidend2
Float_t dzTrkFidend2
Float_t traceTrkFidall2
Float_t traceTrkFidvtx2
Float_t traceTrkFidend2
Float_t cosPrTrkVtx2
Second shower

For documentation see the same variables without the suffix



Bool_t shwExists2
Int_t ndigitShw2
Int_t nstripShw2
Int_t nplaneShw2
Float_t shwEnCor2
Float_t shwEnNoCor2
Float_t shwEnLinCCNoCor2
Float_t shwEnLinCCCor2
Float_t shwEnWtCCNoCor2
Float_t shwEnWtCCCor2
Float_t shwEnLinNCNoCor2
Float_t shwEnLinNCCor2
Float_t shwEnWtNCNoCor2
Float_t shwEnWtNCCor2
Float_t shwEnMip2
Int_t planeShwBeg2
Int_t planeShwEnd2
Int_t planeShwMax2
Float_t xShwVtx2
Float_t yShwVtx2
Float_t zShwVtx2
Third track

For documentation see the same variables without the suffix



Bool_t trkExists3
Int_t trkIndex3
Int_t ndigitTrk3
Int_t nstripTrk3
Float_t trkEnCorRange3
Float_t trkEnCorCurv3
Float_t trkShwEnNear3
Float_t trkShwEnNearDW3
Float_t trkMomentumRange3
Int_t containedTrk3
Int_t trkfitpass3
Float_t trkvtxdcosz3
Float_t trkvtxdcosy3
Int_t trknplane3
Int_t charge3
Float_t qp3
Float_t qp_rangebiased3
Float_t sigqp3
Float_t qp_sigqp3
Float_t chi23
Float_t ndof3
Float_t qpFraction3
Int_t trkVtxUVDiffPl3
Int_t trkLength3
Int_t planeTrkNu3
Int_t planeTrkNv3
Int_t ntrklike3
Float_t trkphsigcor3
Float_t trkphsigmap3
Int_t trkIdMC3
Float_t trkds3
Int_t trkfitpassSA3
Float_t trkvtxdcoszSA3
Int_t chargeSA3
Float_t qpSA3
Float_t sigqpSA3
Float_t chi2SA3
Float_t ndofSA3
Float_t probSA3
Float_t xTrkVtxSA3
Float_t yTrkVtxSA3
Float_t zTrkVtxSA3
Float_t uTrkVtxSA3
Float_t vTrkVtxSA3
Float_t jitter3
Float_t jPID3
Float_t majC3
Float_t smoothMajC3
Float_t roID3
Float_t knn01TrkActivePlanes3
Float_t knn10TrkMeanPh3
Float_t knn20LowHighPh3
Float_t knn40TrkPhFrac3
Float_t roIDNuMuBar3
Float_t relativeAngle3
Float_t jmID3
Float_t jmTrackPlane3
Float_t jmEndPh3
Float_t jmMeanPh3
Float_t jmScatteringU3
Float_t jmScatteringV3
Float_t jmScatteringUV3
Float_t xTrkVtx3
Float_t yTrkVtx3
Float_t zTrkVtx3
Float_t uTrkVtx3
Float_t vTrkVtx3
Float_t tTrkVtx3
Int_t planeTrkVtx3
Int_t planeTrkBeg3
Int_t planeTrkBegu3
Int_t planeTrkBegv3
Float_t inverseBetaTrk3
Double_t t0Trk3
Float_t chi2TimeTrk3
UShort_t ndigitTimeTrk3
Double_t forwardRMSTrk3
Int_t forwardNDOFTrk3
Int_t stripTrkBeg3
Int_t stripTrkBegu3
Int_t stripTrkBegv3
Short_t stripTrkEnd3
Short_t stripTrkEndu3
Short_t stripTrkEndv3
Bool_t stripTrkBegIsu3
Bool_t stripTrkEndIsu3
Int_t regionTrkVtx3
Char_t edgeRegionTrkVtx3
Char_t edgeRegionTrkEnd3
Float_t phiTrkVtx3
Float_t phiTrkEnd3
Short_t parallelStripTrkVtx3
Short_t parallelStripTrkEnd3
Char_t stripTrkBegPerpFlag3
Char_t stripTrkEndPerpFlag3
Short_t stripHoveNumTrkVtx3
Short_t stripHoveNumTrkEnd3
Float_t xTrkEnd3
Float_t yTrkEnd3
Float_t zTrkEnd3
Float_t uTrkEnd3
Float_t vTrkEnd3
Int_t planeTrkEnd3
Int_t planeTrkEndu3
Int_t planeTrkEndv3
Float_t drTrkFidall3
Float_t dzTrkFidall3
Float_t drTrkFidvtx3
Float_t dzTrkFidvtx3
Float_t drTrkFidend3
Float_t dzTrkFidend3
Float_t traceTrkFidall3
Float_t traceTrkFidvtx3
Float_t traceTrkFidend3
Float_t cosPrTrkVtx3
Third shower

For documentation see the same variables without the suffix



Bool_t shwExists3
Int_t ndigitShw3
Int_t nstripShw3
Int_t nplaneShw3
Float_t shwEnCor3
Float_t shwEnNoCor3
Float_t shwEnLinCCNoCor3
Float_t shwEnLinCCCor3
Float_t shwEnWtCCNoCor3
Float_t shwEnWtCCCor3
Float_t shwEnLinNCNoCor3
Float_t shwEnLinNCCor3
Float_t shwEnWtNCNoCor3
Float_t shwEnWtNCCor3
Float_t shwEnMip3
Int_t planeShwBeg3
Int_t planeShwEnd3
Int_t planeShwMax3
Float_t xShwVtx3
Float_t yShwVtx3
Float_t zShwVtx3
Fourth shower

For documentation see the same variables without the suffix



Bool_t shwExists4
Int_t ndigitShw4
Int_t nstripShw4
Int_t nplaneShw4
Float_t shwEnCor4
Float_t shwEnNoCor4
Float_t shwEnLinCCNoCor4
Float_t shwEnLinCCCor4
Float_t shwEnWtCCNoCor4
Float_t shwEnWtCCCor4
Float_t shwEnLinNCNoCor4
Float_t shwEnLinNCCor4
Float_t shwEnWtNCNoCor4
Float_t shwEnWtNCCor4
Float_t shwEnMip4
Int_t planeShwBeg4
Int_t planeShwEnd4
Int_t planeShwMax4
Float_t xShwVtx4
Float_t yShwVtx4
Float_t zShwVtx4
Fifth shower

For documentation see the same variables without the suffix



Bool_t shwExists5
Int_t ndigitShw5
Int_t nstripShw5
Int_t nplaneShw5
Float_t shwEnCor5
Float_t shwEnNoCor5
Float_t shwEnLinCCNoCor5
Float_t shwEnLinCCCor5
Float_t shwEnWtCCNoCor5
Float_t shwEnWtCCCor5
Float_t shwEnLinNCNoCor5
Float_t shwEnLinNCCor5
Float_t shwEnWtNCNoCor5
Float_t shwEnWtNCCor5
Float_t shwEnMip5
Int_t planeShwBeg5
Int_t planeShwEnd5
Int_t planeShwMax5
Float_t xShwVtx5
Float_t yShwVtx5
Float_t zShwVtx5
Other info calculated



Float_t rEvtVtx
 Distance of event vertex from (x,y) = (0,0).
Float_t rEvtEnd
 Distance of event end from (x,y) = (0,0).
Float_t distToEdgeEvtVtx
 event vertex distance to edge of scintillator
Int_t evtVtxUVDiffPl
 Number of planes between first U plane of event and first V plane of event.
Float_t rTrkVtx
 Distance of track vertex from (x,y) = (0,0).
Float_t rTrkEnd
 Distance of track end from (x,y) = (0,0).
Float_t sigqp_qp
 best track sigma Q/P / Q/P from fit
Float_t chi2PerNdof
 track's chi2/ndof of fit
Float_t prob
 track's probability of fit
Int_t containmentFlag
 containment flag to use
Int_t containmentFlagCC0093Std
 CC 0.9e20 pot containment flag.
Int_t containmentFlagCC0250Std
 CC 2.5e20 pot containment flag.
Int_t containmentFlagPitt
 pitt specific flag: 1-4, up/down stop/exit
Int_t usedRange
 1=used range, 0=not
Int_t usedCurv
 1=used curvature, 0=not
Weights



Float_t rw
 The final weight applied to the event.
Float_t fluxErr
 The error on the flux from SKZP.
Float_t rwActual
 This is the weight as it leaves NuReco::ApplyReweights. Any later changes (i.e. systematics) only affect rw.
Float_t generatorWeight
 weight factor from generator
Float_t detectorWeight
 SKZP detector weight to use as default.
Float_t coilCorrWeight
 weight to account for daikon coil mismodeling
Float_t rockxsecCorrWeight
 weight updating cross section model for rock
Float_t anaWeightCC2010
 Weight applied to this event by the 2010 CC analysis.
Float_t trkEnWeight
 SKZP weight to apply to trkEn.
Float_t shwEnWeight
 SKZP weight to apply to shwEn.
Float_t beamWeight
 SKZP weight for beam (e.g. hadron production).
Float_t fluxErrHadProdAfterTune
 flux error, kHadProdAfterTune
Float_t fluxErrTotalErrorPreTune
 flux error, kTotalErrorPreTune
Float_t fluxErrTotalErrorAfterTune
 flux error kTotalErrorAfterTune
Float_t detectorWeightNMB
 SKZP detector weight (e.g. xsec).
Float_t detectorWeightNM
 NuMu rather than NuMuBar above.
Float_t energyRw
 Reconstructed energy with SKZP detector weights applied.
Float_t energyNoRw
 Reconstructed energy without detector weights.
Float_t trkEnRw
 Reconstructed track energy with SKZP detector weights applied.
Float_t trkEnNoRw
 Reconstructed track energy without detector weights.
Float_t shwEnRw
 Reconstructed shower energy with SKZP detector weights applied.
Float_t shwEnNoRw
 Reconstructed shower energy without detector weights.
PIDs



Float_t dpID
 DP's PID variable.
Float_t abID
 AB's PID variable.
Float_t roID
 RO's PID variable.
Float_t knn01TrkActivePlanes
 number of active planes in trk
Float_t knn10TrkMeanPh
 average ph per plane in trk
Float_t knn20LowHighPh
 av of low ph strips/av of high ph strips
Float_t knn40TrkPhFrac
 fraction of ph in trk
Float_t roIDNuMuBar
 RO's PID variable for NuMuBar selection (0 or 1).
Float_t relativeAngle
 RO's track angle relative to muon dir.
Float_t poID
 PO's PID variable.
Float_t poIDKin
 PO's PID variable (kinematics only).
MINOS+ PIDs
Float_t roIDPlus
 RO's PID made with mahalanobis metric (for MINOS+ only).
Jasmine Ma/Ratchford variables



Float_t jmID
Float_t jmTrackPlane
Float_t jmEndPh
Float_t jmMeanPh
Float_t jmScatteringU
Float_t jmScatteringV
Float_t jmScatteringUV
Float_t jmEventknnID
Float_t jmEventknn208
Float_t jmEventknn207
Float_t jmEventknn206
Float_t jmEventknn205
Float_t jmEventknn204
NC variables

Comments from NC code



Float_t closeTimeDeltaZ
 distance in z to event closest in time
Int_t edgeActivityStrips
 number of strips in partially instrumented region in 40ns time window
Float_t edgeActivityPH
 summed PH in partially instrumented region in 40ns time window
Int_t oppEdgeStrips
 number of strips in opposite edge region in 40ns time window
Float_t oppEdgePH
 summed PH in opposite edge region in 40ns time window
Float_t vtxMetersToCoilEvt
 distance to the coil hole
Float_t vtxMetersToCloseEdgeEvt
 distance to nearest edge (in XY)of partial plane outline in ND
Double_t minTimeSeparation
 time difference to closest event in time
Float_t slicePHFraction
Int_t maxConsecutivePlanes
Float_t transverseRMSU
 rms of transverse strip positions in U
Float_t transverseRMSV
 rms of transverse strip positions in V
Float_t dtdz
 gradient of t(z) fit (with c_light=1)
Float_t endMetersToCloseEdge
Float_t vtxMetersToCloseEdgeTrk
 distance to nearest edge (in XY) of partial plane outline in ND
Float_t vtxMetersToCoilTrk
 distance to the center of the coil hole
Float_t traceEndZ
 delta in z from end to projected exit location
Beam variables



Float_t pot
 pot in current spill
Float_t potDB
 pot in current spill from database
Float_t potSinceLastEvt
 includes pot count for spills with no events
Float_t potSinceLastEvtGood
 as above but also good beam+det spills
Float_t potSinceLastEvtBad
 as above but for bad beam+det spills
Float_t potSinceLastEvtDB
 as above but with database version of pots
Float_t potSinceLastEvtGoodDB
 as above but with database version of pots
Float_t potSinceLastEvtBadDB
 as above but with database version of pots
Int_t nBatch
std::vector< Double_t > potListSinceLastEvtGood
Int_t runPeriod
 Major analysis run period, e.g. "Run IV" == 4.
Bool_t hornIsReverse
Int_t beamTypeDB
 From BeamMonSpill.
Int_t beamType
 From NuConfig.
Float_t intensity
 Only filled for MC events.
Float_t hornCur
 BeamMonSpill::fHornCur.
Bool_t goodBeam
 BMSpillAna.SelectSpill().
Bool_t goodBeamSntp
 uses the beam data in the sntp file
Truth variables

EVERYTIME A TRUTH VARIABLE IS ADDED TO THIS CLASS IT MUST ALSO BE ADDED TO NuMCEvent



Bool_t isInFidVolCCMC
 Is the true vertex in the CC fiducial volume?
Float_t energyMC
 True energy in principle visible in the detector.
Float_t neuEnMC
 True neutrino energy.
Float_t neuPxMC
 p4neu[0];
Float_t neuPyMC
 p4neu[1];
Float_t neuPzMC
 p4neu[2];
Float_t mu1EnMC
 p4mu1[3];
Float_t mu1PxMC
 p4mu1[0];
Float_t mu1PyMC
 p4mu1[1];
Float_t mu1PzMC
 p4mu1[2];
Float_t tgtEnMC
 p4tgt[3]
Float_t tgtPxMC
 p4tgt[0];
Float_t tgtPyMC
 p4tgt[1];
Float_t tgtPzMC
 p4tgt[2];
Int_t zMC
 z;
Int_t aMC
 a;
Int_t nucleusMC
 encoding from Mad of the nucleus type
Int_t initialStateMC
 encoding from Mad of the initial state
Int_t hadronicFinalStateMC
 encoding from Mad of the hadronic final state
Int_t numPreInukeFSprotMC
 Number of final state protons (before inuke).
Int_t numPreInukeFSneutMC
 Number of final state neutrons (before inuke).
Float_t maxMomPreInukeFSprotMC
 The highest momentum final state proton (before inuke).
Float_t maxMomPreInukeFSneutMC
 The highest momentum final state neutron (before inuke).
Float_t yMC
 kinematic y value from sntp file (not y position)
Float_t y2MC
 p4shw[3]/(fabs(p4mu1[3])+p4shw[3])
Float_t xMC
 kinematic x (not x position)
Float_t q2MC
 q2
Float_t w2MC
 w2
Float_t trkEnMC
 True energy of the muon. Signed according to true muon charge.
Float_t trkEn2MC
 True leptonic energy: (1-y)*p4neu[3].
Float_t shwEnMC
 True energy of the shower.
Float_t shwEn2MC
 True hadronic energy: y*p4neu[3];.
Float_t trkEndEnMC
 NtpMCStdHep.dethit[1].pE, particle energy at last scint hit.
Float_t trkStartEnMC
 muon energy at first scintillator hit
Bool_t trkContainmentMC
 Experimental: MC Containment of primary muon.
Float_t sigma
 mc.sigma=cross-section
Int_t iaction
 CC=1, NC=0.
Int_t iresonance
 QE=1001, RES=1002, DIS=1003, CPP=1004.
Int_t inu
 PDG code of neutrino (positive = particles, negative = anti-particles).
Int_t inunoosc
 PDG code id of neutrino at birth.
Int_t itg
 neutrino interaction target
Float_t vtxxMC
 vtxx: x vertex of neutrino interaction
Float_t vtxyMC
 vtxy: y vertex of neutrino interaction
Float_t vtxzMC
 vtxz: z vertex of neutrino interaction
Float_t vtxuMC
 vertex u, calculated from x&y
Float_t vtxvMC
 vertex v, calculated from x&y
Int_t planeTrkVtxMC
 calculated from z
Float_t rTrkVtxMC
 calculated from x&y
Int_t mc
 the index of the object to be used
Int_t mcTrk
 track mc index
Int_t mcShw
 shower mc index
Int_t mcEvt
 event mc index
Int_t mcTrk1
 1st track mc index
Int_t mcTrk2
 2nd track mc index
Int_t mcTrk3
 3rd track mc index
Int_t mcShw1
 1st shower mc index
Int_t mcShw2
 2nd shower mc index
Int_t mcShw3
 3rd shower mc index
Int_t mcShw4
 4th shower mc index
Int_t mcShw5
 5th shower mc index
Truth flux variables, copied from underlying flux files



Float_t Npz
 Neutrino momentum (GeV/c) along the $z$-axis (beam axis).
Float_t NdxdzNea
 Direction slopes for a neutrino forced towards the center of the near detecto.
Float_t NdydzNea
 Direction slopes for a neutrino forced towards the center of the near detecto.
Float_t NenergyN
 Energy for a neutrino forced towards the center of the near detector.
Float_t NWtNear
 Weight for a neutrino forced towards the center of the near detector.
Float_t NdxdzFar
 Direction slopes for a neutrino forced towards the center of the far detector.
Float_t NdydzFar
 Direction slopes for a neutrino forced towards the center of the far detector.
Float_t NenergyF
 Neutrino energy (GeV) for a decay forced to the center of the far detector.
Float_t NWtFar
 Neutrino weight for a decay forced to the center of the far detector.
Int_t Ndecay
 Decay process that produced the neutrino, see {decays}.
Float_t Vx
 Neutrino production vertex (cm).
Float_t Vy
 Neutrino production vertex (cm).
Float_t Vz
 Neutrino production vertex (cm).
Float_t pdPx
 Momentum (GeV/c) of the neutrino parent at the neutrino production vertex (parent decay point).
Float_t pdPy
 Momentum (GeV/c) of the neutrino parent at the neutrino production vertex (parent decay point).
Float_t pdPz
 Momentum (GeV/c) of the neutrino parent at the neutrino production vertex (parent decay point).
Float_t ppdxdz
 Direction of the neutrino parent at its production point (which may be in the target).
Float_t ppdydz
 Direction of the neutrino parent at its production point (which may be in the target).
Float_t pppz
 z momentum (GeV/c) of the neutrino parent at its production point
Float_t ppenergy
 Energy (GeV) of the neutrino parent at its production point.
Float_t ppmedium
 Code for the material the neutrino parent was produced in (see doc-6316).
Float_t ppvx
 Production vertex (cm) of the neutrino parent.
Float_t ppvy
 Production vertex (cm) of the neutrino parent.
Float_t ppvz
 Production vertex (cm) of the neutrino parent (used to determine decay pipe events).
Int_t ptype
 Neutrino parent species (GEANT codes).
Float_t Necm
 Neutrino energy (GeV) in the center-of-mass frame.
Float_t Nimpwt
 Importance weight of the neutrino.
Float_t tvx
 Position (cm) of the neutrino ancestor as it exits target (possibly, but not necessarily, the direct neutrino parent).
Float_t tvy
 Position (cm) of the neutrino ancestor as it exits target (possibly, but not necessarily, the direct neutrino parent).
Float_t tvz
 Position (cm) of the neutrino ancestor as it exits target (possibly, but not necessarily, the direct neutrino parent).
Float_t tpx
 Momentum (GeV/c) of the ancestor as it exits target.
Float_t tpy
 Momentum (GeV/c) of the ancestor as it exits target.
Float_t tpz
 Momentum (GeV/c) of the ancestor as it exits target.
Int_t tptype
 Species of the ancestor exiting the target (GEANT codes).
Int_t tgen
 Neutrino parent generation in cascade. 1 = primary proton, 2 = particles produced by proton interaction, 3 = particles from.
Truth Intranuke weighting (Jasmine ma)



Int_t InukeNwts
Float_t InukePiCExchgP
 0
Float_t InukePiCExchgN
 1
Float_t InukePiEScatP
 2
Float_t InukePiEScatN
 3
Float_t InukePiInEScatP
 4
Float_t InukePiInEScatN
 5
Float_t InukePiAbsorbP
 6
Float_t InukePiAbsorbN
 7
Float_t InukePi2PiP
 8
Float_t InukePi2PiN
 9
Float_t InukeNknockP
 10
Float_t InukeNknockN
 11
Float_t InukeNNPiP
 12
Float_t InukeNNPiN
 13
Float_t InukeFormTP
 14
Float_t InukeFormTN
 15
Float_t InukePiXsecP
 16
Float_t InukePiXsecN
 17
Float_t InukeNXsecP
 18
Float_t InukeNXsecN
 19
Float_t InukeNucrad
Float_t InukeWrad
Program control variables



Int_t anaVersion
 different cuts etc
Int_t releaseType
 Conventions/ReleaseType.h definition.
Int_t recoVersion
 Birch/Cedar.
Int_t mcVersion
 Carrot/Daikon, used to select pdfs in data case.
Int_t reweightVersion
 the beam reweighting to use
Bool_t useGeneratorReweight
 switch to turn off generator reweighting
std::string sGeneratorConfigName
 name of generator rw configuration
Int_t generatorConfigNo
 number of generator rw configuration
Bool_t useDBForDataQuality
 flag to use DB for data quality
Bool_t useDBForSpillTiming
 flag to use DB for spill timing
Bool_t useDBForBeamInfo
 flag to use DB for beam info
Bool_t cutOnDataQuality
 flag to enable cut on data quality
Bool_t cutOnSpillTiming
 flag to enable cut on spill timing
Bool_t cutOnBeamInfo
 flag to enable cut on beam info
Bool_t applyEnergyShifts
 Flag to use energy shifts.
Bool_t applyBeamWeight
 Flag to use beam weight.
Bool_t apply1SigmaWeight
 Flag to use +1-sigma SKZP error shift.
Bool_t applyDetectorWeight
 Flag to use detector weight, e.g. xsec.
Bool_t applyGeneratorWeight
 Flag to use generator weight.
Bool_t calcMajCurv
 flag to run majorityCurv or not
Bool_t calcRoID
 flag to run RoID or not
Bool_t calcJmID
 flag to run JmID or not

Detailed Description

Definition at line 15 of file NuEvent.h.


Constructor & Destructor Documentation

NuEvent::NuEvent (  ) 

Definition at line 10 of file NuEvent.cxx.

References Reset().

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

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

Definition at line 19 of file NuEvent.h.

00019 {};


Member Function Documentation

NuEvent::ClassDef ( NuEvent  ,
94   
)
void NuEvent::Reset (  ) 

EVERYTIME A TRUTH VARIABLE IS ADDED TO THIS CLASS IT MUST ALSO BE ADDED TO NuMCEvent

See header file for a description of the variables

Definition at line 17 of file NuEvent.cxx.

References abID, aMC, anaVersion, anaWeightCC2010, apply1SigmaWeight, applyBeamWeight, applyDetectorWeight, applyEnergyShifts, applyGeneratorWeight, avgShwHitMip, avgShwHitMipAllShws, beamType, beamTypeDB, beamWeight, calcJmID, calcMajCurv, calcRoID, charge, chargeSA, chi2, chi2PerNdof, chi2SA, chi2TimeTrk, closeTimeDeltaZ, coilCorrWeight, coilCurrent, coilIsOk, coilIsReverse, containedTrk, containmentFlag, containmentFlagCC0093Std, containmentFlagCC0250Std, containmentFlagPitt, cosPrTrkVtx, crateT0, cutOnBeamInfo, cutOnDataQuality, cutOnSpillTiming, deltaNanoSecToSpillGPS, deltaSecToSpillGPS, detector, detectorWeight, detectorWeightNM, detectorWeightNMB, dirCosNu, distToEdgeEvtVtx, dpID, drTrkFidall, drTrkFidend, drTrkFidvtx, dtdz, dzTrkFidall, dzTrkFidend, dzTrkFidvtx, edgeActivityPH, edgeActivityStrips, edgeRegionTrkEnd, edgeRegionTrkVtx, endMetersToCloseEdge, energy, energyCC, energyMC, energyNC, energyNoRw, energyRM, energyRw, entry, errorCode, evt, evtphsigcor, evtphsigmap, evtVtxUVDiffPl, fluxErr, forwardNDOFTrk, forwardRMSTrk, generatorConfigNo, generatorWeight, goodBeam, goodBeamSntp, gpsError, gpsSpillType, hadronicFinalStateMC, hornCur, hornIsReverse, iaction, index, initialStateMC, intensity, inu, InukeFormTN, InukeFormTP, InukeNknockN, InukeNknockP, InukeNNPiN, InukeNNPiP, InukeNucrad, InukeNwts, InukeNXsecN, InukeNXsecP, InukePi2PiN, InukePi2PiP, InukePiAbsorbN, InukePiAbsorbP, InukePiCExchgN, InukePiCExchgP, InukePiEScatN, InukePiEScatP, InukePiInEScatN, InukePiInEScatP, InukePiXsecN, InukePiXsecP, InukeWrad, inunoosc, inverseBetaTrk, iresonance, isGoodDataQuality, isGoodDataQualityCOIL, isGoodDataQualityGPS, isGoodDataQualityHV, isGoodDataQualityRUN, isGoodTrackReclamation, isInFidVolCC, isInFidVolCCMC, isLI, isNCClean, itg, jitter, jmEndPh, jmEndPhEvt, jmEventknn204, jmEventknn204Evt, jmEventknn205, jmEventknn205Evt, jmEventknn206, jmEventknn206Evt, jmEventknn207, jmEventknn207Evt, jmEventknn208, jmEventknn208Evt, jmEventknnID, jmEventknnIDEvt, jmID, jmIDEvt, jmMeanPh, jmMeanPhEvt, jmScatteringU, jmScatteringUEvt, jmScatteringUV, jmScatteringUVEvt, jmScatteringV, jmScatteringVEvt, jmTrackPlane, jmTrackPlaneEvt, jPID, knn01TrkActivePlanes, knn01TrkActivePlanesEvt, knn10TrkMeanPh, knn10TrkMeanPhEvt, knn20LowHighPh, knn20LowHighPhEvt, knn40TrkPhFrac, knn40TrkPhFracEvt, litag, litime, majC, maxConsecutivePlanes, maxMomPreInukeFSneutMC, maxMomPreInukeFSprotMC, maxShwHitMip, maxShwHitMipAllShws, maxShwPlaneMip, maxShwPlaneMipAllShws, mc, mcEvt, mcShw, mcShw1, mcShw2, mcShw3, mcShw4, mcShw5, mcTrk, mcTrk1, mcTrk2, mcTrk3, mcVersion, medianTime, minTimeSeparation, mu1EnMC, mu1PxMC, mu1PyMC, mu1PzMC, nBatch, Ndecay, ndigitEvt, ndigitShw, ndigitTimeTrk, ndigitTrk, ndof, ndofSA, NdxdzFar, NdxdzNea, NdydzFar, NdydzNea, nearestSpillNanosec, nearestSpillSec, Necm, NenergyF, NenergyN, neuEnMC, neuPxMC, neuPyMC, neuPzMC, nevt, Nimpwt, nplaneAllShws, nplaneShw, Npz, nshw, nstripEvt, nstripShw, nstripTrk, ntrk, ntrklike, nucleusMC, numActiveCrates, numGoodSnarls, numPreInukeFSneutMC, numPreInukeFSprotMC, numTimeFrames, NWtFar, NWtNear, oppEdgePH, oppEdgeStrips, parallelStripTrkEnd, parallelStripTrkVtx, parallelStripTrkVtxNoShift, pdPx, pdPy, pdPz, phiTrkEnd, phiTrkVtx, planeAllShwMax, planeEvtBeg, planeEvtBegu, planeEvtBegv, planeEvtEnd, planeEvtEndu, planeEvtEndv, planeEvtHdrBeg, planeEvtHdrEnd, planeEvtN, planeEvtNu, planeEvtNv, planeEvtVtx, planeShwBeg, planeShwEnd, planeShwMax, planeTrkBeg, planeTrkBegu, planeTrkBegv, planeTrkEnd, planeTrkEndu, planeTrkEndv, planeTrkNu, planeTrkNv, planeTrkVtx, planeTrkVtxMC, poID, poIDKin, pot, potDB, potListSinceLastEvtGood, potSinceLastEvt, potSinceLastEvtBad, potSinceLastEvtBadDB, potSinceLastEvtDB, potSinceLastEvtGood, potSinceLastEvtGoodDB, ppdxdz, ppdydz, ppenergy, ppmedium, pppz, ppvx, ppvy, ppvz, primshw, primtrk, prob, probSA, ptype, q2, q2MC, qp, qp_rangebiased, qp_sigqp, qpFraction, qpSA, rawPhEvt, recoVersion, regionTrkVtx, relativeAngle, relativeAngleEvt, releaseType, remoteSpillType, resolution, rEvtEnd, rEvtVtx, reweightVersion, rockxsecCorrWeight, roID, roIDEvt, roIDNuMuBar, roIDNuMuBarEvt, roIDPlus, rollover_53mhz, rollover_last_53mhz, rTrkEnd, rTrkVtx, rTrkVtxMC, run, runPeriod, runType, rw, rwActual, sgate_10mhz, sgate_53mhz, sGeneratorConfigName, shwEn, shwEn2MC, shwEnCC, shwEnCor, shwEnkNN, shwEnkNNNoCor, shwEnkNNPlus, shwEnkNNPlusNoCor, shwEnLinCCCor, shwEnLinCCNoCor, shwEnLinNCCor, shwEnLinNCNoCor, shwEnMC, shwEnMip, shwEnNC, shwEnNoCor, shwEnNoRw, shwEnReskNN, shwEnRw, shwEnWeight, shwEnWtCCCor, shwEnWtCCNoCor, shwEnWtNCCor, shwEnWtNCNoCor, shwExists, shwPctLength, shwPctLengthAllShws, shwPctWidth, shwPctWidthAllShws, shwResolution, shwRmsT, shwRmsTAllShws, shwSumHitLength, shwSumHitLengthAllShws, shwSumHitWidth, shwSumHitWidthAllShws, sigma, sigqp, sigqp_qp, sigqpSA, simFlag, slc, slicePHFraction, smoothMajC, snarl, snarlPulseHeight, snarlRateMax, snarlRateMedian, stripHoveNumTrkEnd, stripHoveNumTrkVtx, stripHoveNumTrkVtxNoShift, stripTrkBeg, stripTrkBegIsu, stripTrkBegPerpFlag, stripTrkBegu, stripTrkBegv, stripTrkEnd, stripTrkEndIsu, stripTrkEndPerpFlag, stripTrkEndu, stripTrkEndv, subRun, t0Trk, tEvtVtx, tgen, tgtEnMC, tgtPxMC, tgtPyMC, tgtPzMC, timeEvtMax, timeEvtMin, timeFrame, timeNanoSec, timeSec, timeSeconds, timeToNearestSpill, timingFiducial, tptype, tpx, tpy, tpz, traceEndZ, traceTrkFidall, traceTrkFidend, traceTrkFidvtx, transverseRMSU, transverseRMSV, trigSrc, trigtime, trkContainmentMC, trkds, trkEn, trkEn2MC, trkEnCorCurv, trkEnCorRange, trkEnCurv, trkEndEnMC, trkEnMC, trkEnNoRw, trkEnRange, trkEnRw, trkEnWeight, trkExists, trkfitpass, trkfitpassSA, trkIdMC, trkIndex, trkLength, trkMomentumRange, trknplane, trkphsigcor, trkphsigmap, trkResolution, trkShwEnNear, trkShwEnNearDW, trkStartEnMC, trkvtxdcosy, trkvtxdcosz, trkvtxdcoszSA, trkVtxUVDiffPl, tTrkVtx, tvx, tvy, tvz, uEvtEnd, uEvtVtx, useDBForBeamInfo, useDBForDataQuality, useDBForSpillTiming, usedCurv, usedRange, useGeneratorReweight, uTrkEnd, uTrkVtx, uTrkVtxSA, vEvtEnd, vEvtVtx, vTrkEnd, vTrkVtx, vTrkVtxSA, vtxFitChi2DoF, vtxFitPassFail, vtxFitTime, vtxFitTimeError, vtxMetersToCloseEdgeEvt, vtxMetersToCloseEdgeTrk, vtxMetersToCoilEvt, vtxMetersToCoilTrk, vtxuMC, vtxvMC, vtxxMC, vtxyMC, vtxzMC, Vx, Vy, Vz, w2, w2MC, x, xEvtEnd, xEvtVtx, xMC, xShwVtx, xTrkEnd, xTrkVtx, xTrkVtxSA, y, y2MC, yEvtEnd, yEvtVtx, yMC, yShwVtx, yTrkEnd, yTrkVtx, yTrkVtxSA, zEvtEnd, zEvtVtx, zMC, zShwVtx, zTrkEnd, zTrkVtx, and zTrkVtxSA.

Referenced by NuOutputWriter::GetNuEventToFill(), NuTreeWrapper::GetObjectToFill(), and NuEvent().

00018 {
00023 
00025 
00027   //book keeping  quantities
00029   index=-1;
00030   entry=-1;
00031 
00033   //snarl/run based quantities
00035   run=-1;
00036   subRun=-1;
00037   runType=-1;
00038   errorCode=-1;
00039   snarl=-1;
00040   trigSrc=-1;
00041   timeFrame=-1;
00042   remoteSpillType=-1;
00043 
00044   detector=-1;
00045   simFlag=-1;
00046   timeSec=-1;
00047   timeNanoSec=-1;
00048   timeSeconds=-1;
00049 
00050   trigtime=-1;
00051   medianTime=-1;
00052   timeEvtMin=-999999;
00053   timeEvtMax=-999999;
00054   crateT0 = -999999.;
00055   sgate_10mhz = -999999;
00056   sgate_53mhz = -999999;
00057   rollover_53mhz = -999999;
00058   rollover_last_53mhz = -999999;
00059   timingFiducial = -999999;
00060 
00061   nearestSpillSec=-1;
00062   nearestSpillNanosec=0;
00063   timeToNearestSpill=-999999;
00064 
00065   planeEvtHdrBeg=-1;
00066   planeEvtHdrEnd=-1;
00067   snarlPulseHeight=-1;
00068 
00070   // data quality variables
00072   isGoodDataQuality=false;
00073   isGoodDataQualityRUN=false;
00074   isGoodDataQualityCOIL=false;
00075   isGoodDataQualityHV=false;
00076   isGoodDataQualityGPS=false;
00077 
00078   numActiveCrates=0;
00079   numTimeFrames=0;
00080   numGoodSnarls=0;
00081   snarlRateMedian=0.0;
00082   snarlRateMax=0.0;
00083 
00084   coilIsOk=true;//false is safer, but old ntuples don't have it
00085   coilIsReverse=false;//assume forward (unlikely to happen upon reverse)
00086   coilCurrent=0;//will never want 0 most likely
00087 
00088   deltaSecToSpillGPS=-999999;
00089   deltaNanoSecToSpillGPS=0;
00090   gpsError=-1;
00091   gpsSpillType=-1;
00092 
00093   isLI=false;
00094   litag=0;
00095   litime=-1;
00096 
00098   //reconstructed quantities
00100   energy=-1;
00101   energyCC=-1;
00102   energyNC=-1;
00103   energyRM=-1;
00104   trkEn=-1;
00105   trkEnRange=-1;
00106   trkEnCurv=-1;
00107   shwEn=-1;
00108   shwEnCC=-1;
00109   shwEnNC=-1;
00110   resolution=-1;
00111 
00112   isInFidVolCC=false;
00113   isGoodTrackReclamation=false;
00114   isNCClean=false;
00115 
00116   y=-1;
00117   q2=-1;
00118   x=-1;
00119   w2=-1;
00120   dirCosNu=-999;
00121 
00122   //fvnmb=false;//DEPRECATED
00123   //fvpitt=false;//DEPRECATED
00124   //fvcc=false;//DEPRECATED
00125 
00127   //event info extracted from the ntuples
00128   evt=-1;
00129   slc=-1;
00130   nevt=-1;
00131   ndigitEvt=-1;
00132   nstripEvt=-1;
00133   nshw=-1;
00134   ntrk=-1;
00135   primshw=-1;
00136   primtrk=-1;
00137   rawPhEvt=-1;
00138   evtphsigcor=-1;
00139   evtphsigmap=-1;
00140   planeEvtN=-1;
00141   planeEvtNu=-1;
00142   planeEvtNv=-1;
00143 
00144   vtxFitPassFail = false;
00145   vtxFitTime = -999.9;
00146   vtxFitTimeError = -999.9;
00147   vtxFitChi2DoF = -999.9;
00148 
00149   roIDEvt=-999;
00150   knn01TrkActivePlanesEvt=-999;
00151   knn10TrkMeanPhEvt=-999;
00152   knn20LowHighPhEvt=-999;
00153   knn40TrkPhFracEvt=-999;
00154   roIDNuMuBarEvt=-999;
00155   relativeAngleEvt=-999;
00156   // jasmine's test variables
00157   jmIDEvt=-1;
00158   jmTrackPlaneEvt= -999;
00159   jmMeanPhEvt = -999;
00160   jmEndPhEvt = -999;
00161   jmScatteringUEvt =-999;
00162   jmScatteringVEvt =-999;
00163   jmScatteringUVEvt =-999;
00164   jmEventknnIDEvt = -999;
00165   jmEventknn208Evt =-999;
00166   jmEventknn207Evt =-999;
00167   jmEventknn206Evt =-999;
00168   jmEventknn205Evt =-999;
00169   jmEventknn204Evt =-999;
00170 
00171 
00172   xEvtVtx=-999;
00173   yEvtVtx=-999;
00174   zEvtVtx=-999;
00175   uEvtVtx=-999;
00176   vEvtVtx=-999;
00177   tEvtVtx=-999;
00178   planeEvtVtx=-1;
00179   planeEvtBeg=-1;
00180   planeEvtBegu=-1;
00181   planeEvtBegv=-1;
00182 
00183   xEvtEnd=-999;
00184   yEvtEnd=-999;
00185   zEvtEnd=-999;
00186   uEvtEnd=-999;
00187   vEvtEnd=-999;
00188   planeEvtEnd=-1;
00189   planeEvtEndu=-1;
00190   planeEvtEndv=-1;
00191 
00193   //these are the variables of the "best" track and shower
00194   trkExists=false;
00195   trkIndex=-1;
00196   ndigitTrk=-1;
00197   nstripTrk=-1;
00198   trkEnCorRange=-1;
00199   trkEnCorCurv=-1;
00200   trkShwEnNear=-1;
00201   trkShwEnNearDW=-1;
00202   trkMomentumRange=-1;
00203   trkResolution=-1;
00204   containedTrk=0;
00205   trkfitpass=-1;
00206   trkvtxdcosz=-999;
00207   trkvtxdcosy=-999;
00208   trknplane=-999;
00209   charge=0;
00210   qp=-999;
00211   qp_rangebiased=-999;
00212   sigqp=-1;
00213   qp_sigqp=-999;
00214   chi2=-1;
00215   ndof=0;
00216   qpFraction=-1;
00217   trkVtxUVDiffPl=-999;
00218   trkLength=-1;
00219   planeTrkNu=-1;
00220   planeTrkNv=-1;
00221   ntrklike=-1;
00222   trkphsigcor=-1;
00223   trkphsigmap=-1;
00224   trkIdMC=0;
00225   trkds = 0;
00226 
00227 
00228   trkfitpassSA=-1;
00229   trkvtxdcoszSA=-999;
00230   chargeSA=0;
00231   qpSA=-999;
00232   sigqpSA=-1;
00233   chi2SA=-1;
00234   ndofSA=0;
00235   probSA=-1;
00236   xTrkVtxSA=-999;
00237   yTrkVtxSA=-999;
00238   zTrkVtxSA=-999;
00239   uTrkVtxSA=-999;
00240   vTrkVtxSA=-999;
00241 
00242   jitter=-1;
00243   jPID=-999;
00244   majC=0;
00245   //majCRatio=-999;
00246   //rms=-1;
00247   //simpleMajC=-999;
00248   smoothMajC=-999;
00249   //sqJitter=-1;
00250   //totWidth=-999;
00251 
00252   xTrkVtx=-999;
00253   yTrkVtx=-999;
00254   zTrkVtx=-999;
00255   uTrkVtx=-999;
00256   vTrkVtx=-999;
00257   tTrkVtx=-999;
00258   planeTrkVtx=-1;
00259   planeTrkBeg=-1;
00260   planeTrkBegu=-1;
00261   planeTrkBegv=-1;
00262   inverseBetaTrk=-999;
00263   t0Trk=-999;
00264   chi2TimeTrk=-999;
00265   ndigitTimeTrk=0;
00266   forwardRMSTrk=-999;
00267   forwardNDOFTrk=-999;
00268 
00269   stripTrkBeg=-1;
00270   stripTrkBegu=-1;
00271   stripTrkBegv=-1;
00272   stripTrkEnd=-1;
00273   stripTrkEndu=-1;
00274   stripTrkEndv=-1;
00275   stripTrkBegIsu=false;
00276   stripTrkEndIsu=false;
00277   regionTrkVtx=-1;
00278   edgeRegionTrkVtx=-1;
00279   edgeRegionTrkEnd=-1;
00280   phiTrkVtx=-999;
00281   phiTrkEnd=-999;
00282 
00283   parallelStripTrkVtx=-999;
00284   parallelStripTrkVtxNoShift=-999;
00285   parallelStripTrkEnd=-999;
00286   stripTrkBegPerpFlag = -10;
00287   stripTrkEndPerpFlag = -10;
00288   stripHoveNumTrkVtx = -999;
00289   stripHoveNumTrkVtxNoShift = -999;
00290   stripHoveNumTrkEnd = -999;
00291 
00292 
00293   xTrkEnd=-999;
00294   yTrkEnd=-999;
00295   zTrkEnd=-999;
00296   uTrkEnd=-999;
00297   vTrkEnd=-999;
00298   planeTrkEnd=-1;
00299   planeTrkEndu=-1;
00300   planeTrkEndv=-1;
00301 
00302   drTrkFidall=-999;
00303   dzTrkFidall=-999;
00304   drTrkFidvtx=-999;
00305   dzTrkFidvtx=-999;
00306   drTrkFidend=-999;
00307   dzTrkFidend=-999;
00308   traceTrkFidall = -999;
00309   traceTrkFidvtx = -999;
00310   traceTrkFidend = -999;
00311 
00312   cosPrTrkVtx = -999;
00313 
00314   //shw variables
00315   shwExists=false;
00316   ndigitShw=-1;
00317   nstripShw=-1;
00318   nplaneShw=-1;
00319   shwEnCor=-1;
00320   shwEnNoCor=-1;
00321   shwEnMip=-1;
00322   shwEnLinCCNoCor=-1;
00323   shwEnLinCCCor=-1;
00324   shwEnWtCCNoCor=-1;
00325   shwEnWtCCCor=-1;
00326   shwEnLinNCNoCor=-1;
00327   shwEnLinNCCor=-1;
00328   shwEnWtNCNoCor=-1;
00329   shwEnWtNCCor=-1;
00330   shwResolution=-1;
00331   shwEnkNN=-1;
00332   shwEnkNNNoCor=-1;
00333   shwEnReskNN=-1;
00334 
00335   planeShwBeg=-1;
00336   planeShwEnd=-1;
00337   planeShwMax=-1;
00338   xShwVtx=-999;
00339   yShwVtx=-999;
00340   zShwVtx=-999;
00341 
00342   // MINOS+ shower variables
00343   // junting@physics.utexas.edu
00344   shwEnkNNPlus = -1;
00345   shwEnkNNPlusNoCor = -1;
00346   shwRmsT = -1;
00347   shwPctWidth = -1;
00348   shwPctLength = -1;
00349   shwSumHitLength = -1;
00350   shwSumHitWidth = -1;
00351   avgShwHitMip = -1;
00352   maxShwPlaneMip = -1;
00353   maxShwHitMip = -1;  
00354   shwRmsTAllShws = -1;
00355   shwPctWidthAllShws = -1;
00356   shwPctLengthAllShws = -1;
00357   avgShwHitMipAllShws = -1;
00358   shwSumHitLengthAllShws = -1;
00359   shwSumHitWidthAllShws = -1;
00360   maxShwPlaneMipAllShws = -1;
00361   maxShwHitMipAllShws = -1;
00362   nplaneAllShws = -1;
00363   planeAllShwMax = -1; 
00364 
00365   // Initialize tracks and showers
00366 
00367   for(int trkIdx = 1; trkIdx <= 3; ++trkIdx){
00368     get_trkExists(this, trkIdx) = false;
00369     get_trkIndex(this, trkIdx) = -1;
00370     get_ndigitTrk(this, trkIdx) = -1;
00371     get_nstripTrk(this, trkIdx) = -1;
00372     get_trkEnCorRange(this, trkIdx) = -1;
00373     get_trkEnCorCurv(this, trkIdx) = -1;
00374     get_trkShwEnNear(this, trkIdx) = -1;
00375     get_trkShwEnNearDW(this, trkIdx) = -1;
00376     get_trkMomentumRange(this, trkIdx) = -1;
00377     get_containedTrk(this, trkIdx) = 0;
00378     get_trkfitpass(this, trkIdx) = -1;
00379     get_trkvtxdcosz(this, trkIdx) = -999;
00380     get_trkvtxdcosy(this, trkIdx) = -999;
00381     get_trknplane(this, trkIdx) = -999;
00382     get_charge(this, trkIdx) = 0;
00383     get_qp(this, trkIdx) = -999;
00384     get_qp_rangebiased(this, trkIdx) = -999;
00385     get_sigqp(this, trkIdx) = -1;
00386     get_qp_sigqp(this, trkIdx) = -999;
00387     get_chi2(this, trkIdx) = -1;
00388     get_ndof(this, trkIdx) = 0;
00389     get_qpFraction(this, trkIdx) = -1;
00390     get_trkVtxUVDiffPl(this, trkIdx) = -999;
00391     get_trkLength(this, trkIdx) = -1;
00392     get_planeTrkNu(this, trkIdx) = -1;
00393     get_planeTrkNv(this, trkIdx) = -1;
00394     get_ntrklike(this, trkIdx) = -1;
00395     get_trkphsigcor(this, trkIdx) = -1;
00396     get_trkphsigmap(this, trkIdx) = -1;
00397     get_trkIdMC(this, trkIdx) = 0;
00398     get_trkds(this, trkIdx) = -1;
00399 
00400     get_trkfitpassSA(this, trkIdx) = -1;
00401     get_trkvtxdcoszSA(this, trkIdx) = -999;
00402     get_chargeSA(this, trkIdx) = 0;
00403     get_qpSA(this, trkIdx) = -999;
00404     get_sigqpSA(this, trkIdx) = -1;
00405     get_chi2SA(this, trkIdx) = -1;
00406     get_ndofSA(this, trkIdx) = 0;
00407     get_probSA(this, trkIdx) = -1;
00408     get_xTrkVtxSA(this, trkIdx) = -999;
00409     get_yTrkVtxSA(this, trkIdx) = -999;
00410     get_zTrkVtxSA(this, trkIdx) = -999;
00411     get_uTrkVtxSA(this, trkIdx) = -999;
00412     get_vTrkVtxSA(this, trkIdx) = -999;
00413 
00414     get_jitter(this, trkIdx) = -1;
00415     get_jPID(this, trkIdx) = -999;
00416     get_majC(this, trkIdx) = 0;
00417     //    get_majCRatio(this, trkIdx) = -999;
00418     //    get_rms(this, trkIdx) = -1;
00419     //    get_simpleMajC(this, trkIdx) = -999;
00420     get_smoothMajC(this, trkIdx) = -999;
00421     //    get_sqJitter(this, trkIdx) = -1;
00422     //    get_totWidth(this, trkIdx) = -999;
00423 
00424     get_roID(this, trkIdx) = -999;
00425     get_knn01TrkActivePlanes(this, trkIdx) = -999;
00426     get_knn10TrkMeanPh(this, trkIdx) = -999;
00427     get_knn20LowHighPh(this, trkIdx) = -999;
00428     get_knn40TrkPhFrac(this, trkIdx) = -999;
00429     get_roIDNuMuBar(this, trkIdx) = -999;
00430     get_relativeAngle(this, trkIdx) = -999;
00431 
00432     // jasmine's test variables
00433     get_jmID(this, trkIdx) = -1;
00434     get_jmTrackPlane(this, trkIdx) = -999;
00435     get_jmMeanPh(this, trkIdx) =  -999;
00436     get_jmEndPh(this, trkIdx) =  -999;
00437     get_jmScatteringU(this, trkIdx) = -999;
00438     get_jmScatteringV(this, trkIdx) = -999;
00439     get_jmScatteringUV(this, trkIdx) = -999;
00440 
00441     get_xTrkVtx(this, trkIdx) = -999;
00442     get_yTrkVtx(this, trkIdx) = -999;
00443     get_zTrkVtx(this, trkIdx) = -999;
00444     get_uTrkVtx(this, trkIdx) = -999;
00445     get_vTrkVtx(this, trkIdx) = -999;
00446     get_tTrkVtx(this, trkIdx) = -999;
00447     get_planeTrkVtx(this, trkIdx) = -1;
00448     get_planeTrkBeg(this, trkIdx) = -1;
00449     get_planeTrkBegu(this, trkIdx) = -1;
00450     get_planeTrkBegv(this, trkIdx) = -1;
00451     get_inverseBetaTrk(this, trkIdx) = -999;
00452     get_t0Trk(this, trkIdx) = -999;
00453     get_chi2TimeTrk(this, trkIdx) = -999;
00454     get_ndigitTimeTrk(this, trkIdx) = 0;
00455     get_forwardRMSTrk(this, trkIdx) = -999;
00456     get_forwardNDOFTrk(this, trkIdx) = -999;
00457     get_stripTrkBeg(this, trkIdx) = -1;
00458     get_stripTrkBegu(this, trkIdx) = -1;
00459     get_stripTrkBegv(this, trkIdx) = -1;
00460     get_stripTrkEnd(this, trkIdx) = -1;
00461     get_stripTrkEndu(this, trkIdx) = -1;
00462     get_stripTrkEndv(this, trkIdx) = -1;
00463     get_stripTrkBegIsu(this, trkIdx) = false;
00464     get_stripTrkEndIsu(this, trkIdx) = false;
00465     get_regionTrkVtx(this, trkIdx) = -1;
00466     get_edgeRegionTrkVtx(this, trkIdx) = -1;
00467     get_edgeRegionTrkEnd(this, trkIdx) = -1;
00468     get_phiTrkVtx(this, trkIdx) = -999;
00469     get_phiTrkEnd(this, trkIdx) = -999;
00470 
00471     get_parallelStripTrkVtx(this, trkIdx) = -999;
00472     get_parallelStripTrkEnd(this, trkIdx) = -999;
00473     get_stripTrkBegPerpFlag(this, trkIdx) = -10;
00474     get_stripTrkEndPerpFlag(this, trkIdx) = -10;
00475     get_stripHoveNumTrkVtx(this, trkIdx) = -999;
00476     get_stripHoveNumTrkEnd(this, trkIdx) = -999;
00477 
00478     get_xTrkEnd(this, trkIdx) = -999;
00479     get_yTrkEnd(this, trkIdx) = -999;
00480     get_zTrkEnd(this, trkIdx) = -999;
00481     get_uTrkEnd(this, trkIdx) = -999;
00482     get_vTrkEnd(this, trkIdx) = -999;
00483     get_planeTrkEnd(this, trkIdx) = -1;
00484     get_planeTrkEndu(this, trkIdx) = -1;
00485     get_planeTrkEndv(this, trkIdx) = -1;
00486 
00487     get_drTrkFidall(this, trkIdx) = -999;
00488     get_dzTrkFidall(this, trkIdx) = -999;
00489     get_drTrkFidvtx(this, trkIdx) = -999;
00490     get_dzTrkFidvtx(this, trkIdx) = -999;
00491     get_drTrkFidend(this, trkIdx) = -999;
00492     get_dzTrkFidend(this, trkIdx) = -999;
00493     get_traceTrkFidall(this, trkIdx) = -999;
00494     get_traceTrkFidvtx(this, trkIdx) = -999;
00495     get_traceTrkFidend(this, trkIdx) = -999;
00496 
00497     get_cosPrTrkVtx(this, trkIdx) = -999;
00498   } // end for trkIdx
00499 
00500   for(int shwIdx = 1; shwIdx <= 5; ++shwIdx){
00501     get_shwExists(this, shwIdx) = false;
00502     get_ndigitShw(this, shwIdx) = -1;
00503     get_nstripShw(this, shwIdx) = -1;
00504     get_nplaneShw(this, shwIdx) = -1;
00505     get_shwEnCor(this, shwIdx) = -1;
00506     get_shwEnNoCor(this, shwIdx) = -1;
00507     get_shwEnLinCCNoCor(this, shwIdx) = -1;
00508     get_shwEnLinCCCor(this, shwIdx) = -1;
00509     get_shwEnWtCCNoCor(this, shwIdx) = -1;
00510     get_shwEnWtCCCor(this, shwIdx) = -1;
00511     get_shwEnLinNCNoCor(this, shwIdx) = -1;
00512     get_shwEnLinNCCor(this, shwIdx) = -1;
00513     get_shwEnWtNCNoCor(this, shwIdx) = -1;
00514     get_shwEnWtNCCor(this, shwIdx) = -1;
00515     get_shwEnMip(this, shwIdx) = -1;
00516     get_planeShwBeg(this, shwIdx) = -1;
00517     get_planeShwEnd(this, shwIdx) = -1;
00518     get_planeShwMax(this, shwIdx) = -1;
00519     get_xShwVtx(this, shwIdx) = -999;
00520     get_yShwVtx(this, shwIdx) = -999;
00521     get_zShwVtx(this, shwIdx) = -999;
00522   } // end for shwIdx
00523 
00524 
00526   //other info calculated
00527   rEvtVtx=-999;
00528   rEvtEnd=-999;
00529   distToEdgeEvtVtx=-999;
00530   evtVtxUVDiffPl=-999;
00531 
00532   rTrkVtx=-999;
00533   rTrkEnd=-999;
00534   sigqp_qp=-999;
00535   chi2PerNdof=999;
00536   prob=-1;
00537 
00538   containmentFlag=-1;
00539   containmentFlagCC0093Std=-1;
00540   containmentFlagCC0250Std=-1;
00541   containmentFlagPitt=-1;
00542   usedRange=0;
00543   usedCurv=0;
00544 
00545 
00547   //weights
00549   rw=1;//default of no reweight
00550   fluxErr=-1;
00551   rwActual=1;//default of no reweight
00552   generatorWeight=1;//no weight
00553   detectorWeight=1;//no weight
00554   coilCorrWeight=1;//no weight
00555   rockxsecCorrWeight=1;//no weight
00556   anaWeightCC2010=1; // Weight currently unknown
00557 
00558   trkEnWeight=1;//no weight
00559   shwEnWeight=1;//no weight
00560   beamWeight=1;//no weight
00561   detectorWeightNMB=1;//no weight
00562   detectorWeightNM=1;//no weight
00563 
00564   //energies with and without weights
00565   energyRw=-1;
00566   energyNoRw=-1;
00567   trkEnRw=-1;
00568   trkEnNoRw=-1;
00569   shwEnRw=-1;
00570   shwEnNoRw=-1;
00571 
00572   //pids
00573   dpID=-999;
00574   abID=-999;
00575   roID=-999;
00576   knn01TrkActivePlanes=-999;
00577   knn10TrkMeanPh=-999;
00578   knn20LowHighPh=-999;
00579   knn40TrkPhFrac=-999;
00580   roIDNuMuBar=-999;
00581   relativeAngle=-999;
00582   poID=-999;
00583   poIDKin=-999;
00584   roIDPlus=-999;  // roID for MINOS+
00585                   // junting@physics.utexas.edu
00586   // jasmine ID
00587   jmID = -1;
00588   jmTrackPlane =-999;
00589   jmMeanPh = -999;
00590   jmEndPh = -999;
00591   jmScatteringU =-999;
00592   jmScatteringV =-999;
00593   jmScatteringUV =-999;
00594   jmEventknnID=-999;
00595   jmEventknn208=-999;
00596   jmEventknn207=-999;
00597   jmEventknn206=-999;
00598   jmEventknn205=-999;
00599   jmEventknn204=-999;
00600 
00601 
00603   // NC variables
00605   // event
00606   closeTimeDeltaZ=-1;
00607   edgeActivityStrips=-1;
00608   edgeActivityPH=-1;
00609   oppEdgeStrips=-1;
00610   oppEdgePH=-1;
00611   vtxMetersToCoilEvt=-1;
00612   vtxMetersToCloseEdgeEvt=-1;
00613   minTimeSeparation=-1;
00614   slicePHFraction=-1;
00615   maxConsecutivePlanes=-1;
00616 
00617   // shower
00618   transverseRMSU=-1;
00619   transverseRMSV=-1;
00620   // track
00621   dtdz=-1;
00622   endMetersToCloseEdge=-1;
00623   vtxMetersToCloseEdgeTrk=-1;
00624   vtxMetersToCoilTrk=-1;
00625   traceEndZ=-1;
00626 
00627   //beam variables
00628   pot=-1;
00629   potDB=-1;
00630   potSinceLastEvt=0;    //set to zero in case it's used to count
00631   potSinceLastEvtGood=0;//rather than being set to a value
00632   potSinceLastEvtBad=0;
00633   potSinceLastEvtDB=0;
00634   potSinceLastEvtGoodDB=0;
00635   potSinceLastEvtBadDB=0;
00636   nBatch=0;
00637   potListSinceLastEvtGood.clear();
00638 
00639   runPeriod=-1;
00640   hornIsReverse=false;
00641   beamTypeDB=0;
00642   beamType=0;
00643   intensity=-1;
00644   hornCur=-999999;//might want 0 horn current
00645   goodBeam=false;
00646   goodBeamSntp=false;
00647 
00649   //truth variables
00651 
00653   //EVERYTIME A TRUTH VARIABLE IS ADDED TO THIS CLASS IT MUST
00654   //ALSO BE ADDED TO NuMCEvent
00656 
00657   isInFidVolCCMC = false;
00658 
00659   energyMC=-1;
00660 
00661   neuEnMC=-1;
00662   neuPxMC=-1;
00663   neuPyMC=-1;
00664   neuPzMC=-1;
00665 
00666   mu1EnMC=-1;
00667   mu1PxMC=-1;
00668   mu1PyMC=-1;
00669   mu1PzMC=-1;
00670 
00671   tgtEnMC=-1;
00672   tgtPxMC=-1;
00673   tgtPyMC=-1;
00674   tgtPzMC=-1;
00675 
00676   zMC=-1;
00677   aMC=-1;
00678   nucleusMC=-1;
00679   initialStateMC=-1;
00680   hadronicFinalStateMC=-1;
00681   numPreInukeFSprotMC=-1;
00682   numPreInukeFSneutMC=-1;
00683   maxMomPreInukeFSprotMC=-1;
00684   maxMomPreInukeFSneutMC=-1;
00685 
00686   yMC=-1;
00687   y2MC=-1;
00688   xMC=-1;
00689   q2MC=-1;
00690   w2MC=-1;
00691 
00692   trkEnMC=-1;
00693   trkEn2MC=-1;
00694   shwEnMC=-1;
00695   shwEn2MC=-1;
00696 
00697   trkEndEnMC = -1;
00698   trkStartEnMC = -1;
00699   trkContainmentMC = false;
00700 
00701   sigma=999999;
00702   iaction=-1;
00703   iresonance=-1;
00704   inu=0;
00705   inunoosc=0;
00706   itg=0;
00707 
00708   vtxxMC=-999;
00709   vtxyMC=-999;
00710   vtxzMC=-999;
00711   vtxuMC=-999;
00712   vtxvMC=-999;
00713   planeTrkVtxMC=-999;
00714   rTrkVtxMC=-999;
00715 
00716   mc=-1;
00717   mcTrk=-1;
00718   mcShw=-1;
00719   mcEvt=-1;
00720 
00721   mcTrk1 = -1;
00722   mcTrk2 = -1;
00723   mcTrk3 = -1;
00724 
00725   mcShw1 = -1;
00726   mcShw2 = -1;
00727   mcShw3 = -1;
00728   mcShw4 = -1;
00729   mcShw5 = -1;
00730 
00731   Npz=-1;
00732   NdxdzNea=-1;
00733   NdydzNea=-1;
00734   NenergyN=-1;
00735   NWtNear=-1;
00736   NdxdzFar=-1;
00737   NdydzFar=-1;
00738   NenergyF=-1;
00739   NWtFar=-1;
00740   Ndecay=-1;
00741   Vx=-1;
00742   Vy=-1;
00743   Vz=-1;
00744   pdPx=-1;
00745   pdPy=-1;
00746   pdPz=-1;
00747   ppdxdz=-1;
00748   ppdydz=-1;
00749   pppz=-1;
00750   ppenergy=-1;
00751   ppmedium=-1;
00752   ppvx=-1;
00753   ppvy=-1;
00754   ppvz=-1;
00755   ptype=-1;
00756   Necm=-1;
00757   Nimpwt=-1;
00758   tvx=-1;
00759   tvy=-1;
00760   tvz=-1;
00761   tpx=-1;
00762   tpy=-1;
00763   tpz=-1;
00764   tptype=-1;
00765   tgen=-1;
00766 
00767   InukeNwts  =  -999 ;
00768   InukePiCExchgP  =  -999 ;   //0
00769   InukePiCExchgN  =  -999 ;   //1
00770   InukePiEScatP  =  -999 ;  //2
00771   InukePiEScatN  =  -999 ;  //3
00772   InukePiInEScatP  =  -999 ;  //4
00773   InukePiInEScatN  =  -999 ;  //5
00774   InukePiAbsorbP  =  -999 ;   //6
00775   InukePiAbsorbN  =  -999 ;   //7
00776   InukePi2PiP  =  -999 ;      //8
00777   InukePi2PiN  =  -999 ;      //9
00778   InukeNknockP  =  -999 ;     //10
00779   InukeNknockN  =  -999 ;     //11
00780   InukeNNPiP  =  -999 ;       //12
00781   InukeNNPiN  =  -999 ;       //13
00782   InukeFormTP  =  -999 ;      //14
00783   InukeFormTN  =  -999 ;      //15
00784   InukePiXsecP  =  -999 ;     //16
00785   InukePiXsecN  =  -999 ;     //17
00786   InukeNXsecP  =  -999 ;      //18
00787   InukeNXsecN  =  -999 ;      //19
00788   InukeNucrad  =  -999 ;
00789   InukeWrad  =  -999 ;
00790 
00792   //EVERYTIME A TRUTH VARIABLE IS ADDED TO THIS CLASS IT MUST
00793   //ALSO BE ADDED TO NuMCEvent
00795 
00797   //program control variables
00799   anaVersion=0;
00800   releaseType=-1;//the value of Conventions/ReleaseType::kUnknown
00801   recoVersion=-1;//the value of Conventions/ReleaseType::kUnknown
00802   mcVersion=-1;//the value of Conventions/ReleaseType::kUnknown
00803   reweightVersion=0;
00804   //beamType=0;
00805 
00806   useGeneratorReweight=1;//default is to do the generatorReweighting
00807   sGeneratorConfigName="Unknown";
00808   generatorConfigNo=-1;
00809 
00810   //set all these to true by default, so they are used and cut on
00811   useDBForDataQuality=true;
00812   useDBForSpillTiming=true;
00813   useDBForBeamInfo=true;
00814 
00815   cutOnDataQuality=true;
00816   cutOnSpillTiming=true;
00817   cutOnBeamInfo=true;
00818 
00819   applyEnergyShifts=false;
00820   applyBeamWeight=true;
00821   apply1SigmaWeight=false;
00822   applyDetectorWeight=false;
00823   applyGeneratorWeight=false;
00824 
00825   calcMajCurv=true;
00826   calcRoID=true;
00827   calcJmID=true;
00828 }


Member Data Documentation

Float_t NuEvent::abID
Int_t NuEvent::aMC

different cuts etc

Definition at line 1634 of file NuEvent.h.

Referenced by NuDemoModule::Ana(), NuReco::ApplyReweights(), NuAnalysis::ChargeSignCut(), NuAnalysis::CopyConfig(), NuAnalysis::Efficiencies(), NuAnalysis::EnergySpect(), NuAnalysis::EnergySpectMC(), NuCuts::FiducialMass(), NuReco::GetBestShower(), NuReco::GetBestTrack(), NuReco::GetContainmentFlag(), NuDSTAna::GetNuConfig(), NuReco::GetRadiusFromBeamCentre(), NuReco::GetShowerEnergyCC(), NuCutImps::NuCutsSelection::InFidVol(), NuCutImps::Preselection2014::InFidVol(), NuCutImps::NuCutsSelection::InFidVolEvt(), NuCuts::IsGoodAbID(), NuCuts::IsGoodBeam(), NuCuts::IsGoodCoilCurrent(), NuCuts::IsGoodCosPr(), NuCuts::IsGoodDataQuality(), NuCuts::IsGoodDpID(), NuCuts::IsGoodFitChi2PerNdof(), NuCuts::IsGoodFitProb(), NuCuts::IsGoodMajorityCurvature(), NuCuts::IsGoodNearShowerEn(), NuCuts::IsGoodPID(), NuCuts::IsGoodPoKIN(), NuDSTAna::IsGoodPreSelectionCuts(), NuCuts::IsGoodQP(), NuCuts::IsGoodRelAngle(), NuCuts::IsGoodRoID(), NuCuts::IsGoodSigmaQP_QP(), NuDSTAna::IsGoodStdCuts(), NuCuts::IsGoodTimeToNearestSpill(), NuCuts::IsGoodTrackDr(), NuCuts::IsGoodTrackFitPass(), NuCuts::IsGoodTrackLength(), NuCuts::IsGoodTrackLengthInUV(), NuCuts::IsGoodUVVtx(), NuCuts::IsInFidVolEvt(), NuCuts::IsInFidVolTrk(), NuCuts::IsInFidVolTrueEvt(), NuCuts::IsLI(), NuCuts::IsNMB(), NuAnalysis::LIRejectionTest(), NuAnalysis::LoopOverTruthInfo(), NuDSTAna::MakeFCTree(), NuAnalysis::N_1(), NuDSTAna::NDQPRB(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), NuAnalysis::NuMuBarAppearance(), NuCutImps::NuCutsSelection::Preselection(), NuDSTAna::QPStudy(), Reset(), NuFluctuator::SelectedAs(), and NuCutImps::NuCutsSelection::Selection().

Weight applied to this event by the 2010 CC analysis.

This weight is intended for plot-making purposes only. It is not included in rw

The analysis weights can't be known at DST-making time, so this weight defaults to one. The files should be rewritten so this weight represents the weight applied to this event by the beam-matrix extrapolation. Including this weight along with rw should give fully correct nominal Far Detector predictions. Best-fit systematics are more complicated and not included here.

Definition at line 1304 of file NuEvent.h.

Referenced by NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

Flag to use +1-sigma SKZP error shift.

Definition at line 1654 of file NuEvent.h.

Referenced by NuReco::ApplyReweights(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

Flag to use detector weight, e.g. xsec.

Definition at line 1655 of file NuEvent.h.

Referenced by NuReco::ApplyReweights(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

Flag to use energy shifts.

Definition at line 1652 of file NuEvent.h.

Referenced by NuReco::ApplyReweights(), NuDSTAna::NDQPRB(), NuDSTAna::QPStudy(), and Reset().

Flag to use generator weight.

Definition at line 1656 of file NuEvent.h.

Referenced by NuReco::ApplyReweights(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

average hit mip

Definition at line 666 of file NuEvent.h.

Referenced by NuExtraction::ExtractShwInfo(), and Reset().

all-shower version of avgShwHitMipAllShws

Definition at line 673 of file NuEvent.h.

Referenced by NuExtraction::ExtractShwInfo(), and Reset().

flag to run JmID or not

Definition at line 1660 of file NuEvent.h.

Referenced by NuAnalysis::CopyConfig(), NuAnalysis::ExtractPIDsAndWeights(), and Reset().

flag to run majorityCurv or not

Definition at line 1658 of file NuEvent.h.

Referenced by NuAnalysis::CopyConfig(), NuExtraction::ExtractMajorityCurvature(), and Reset().

flag to run RoID or not

Definition at line 1659 of file NuEvent.h.

Referenced by NuAnalysis::CopyConfig(), NuAnalysis::ExtractPIDsAndWeights(), and Reset().

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

Definition at line 333 of file NuEvent.h.

Referenced by NuSystematic::AllBackgroundsScaleBothShift(), NuDemoModule::Ana(), NuReco::ApplyReweights(), NuSystematic::BFieldShift(), NuReco::CalcTrkReclamation(), NuAnalysis::ChargeSeparationOneSnarl(), NuAnalysis::ChargeSignCut(), NuFCEventManager::Classify(), NuAnalysis::Efficiencies(), NuAnalysis::EnergySpect(), NuFCEvent2::Expand(), NuFCEvent::Extract(), NuDSTAna::FDTestAna(), NuMatrixCPT::Fill(), NuPlots::FillBRev(), FoverNHistos::FillCCSelectedPlots(), NuPlots::FillContainmentHistos(), NuPlots::FillCounts(), NuPlots::FillDetectorEdge(), NuPlots::FillDPIdSigmaQPFailDpIDCutPlots(), NuPlots::FillDPIdSigmaQPFailProbCutPlots(), NuPlots::FillDPIdSigmaQPFailSigQPCutPlots(), NuPlots::FillDPIdSigmaQPPassDpIDCutPlots(), NuPlots::FillDPIdSigmaQPPassPreSelCutPlots(), NuPlots::FillDPIdSigmaQPPassSigQPCutPlots(), NuPlots::FillDPIdSigmaQPPassUVVtxCutPlots(), NuPlots::FillDPIdSigmaQPPlotsN(), NuPlots::FillEffPur(), NuPlots::FillEnergyBinHistos(), NuPlots::FillEvtAndSpillTimingPlots(), NuFCEvent2::FillFrom(), NuFCExperimentFactoryNSI::FillFromDST(), NuFCExperimentFactory::FillFromDST(), NuPlots::FillHe(), NuPlots::FillKinematicsHistos(), NuPlots::FillLowProbPlots(), NuHistos::FillMatrixMethodHistos(), NuPlots::FillMiscHists(), NuPlots::FillN_1Plots(), TemplateAnalysisClass::FillPlots(), DataStabilityAnalysisClass::FillPlots(), DataMCPlots::FillPlots(), NuPlots::FillRangeCurvCompHistos(), NuPlots::FillRecoEnYHistosN(), FoverNHistos::FillRecoToTrueHistoTriplet(), FoverNHistos::FillRecoVTrueHistoTriplet(), NuPlots::FillRelativeAngleHistos(), NuPlots::FillRHCplusRHCminusHistosNQ(), NuPlots::FillRHCplusRHCminusHistosPQ(), DataMCPlots::FillRoIDPlots(), NuPlots::FillSelPlots(), NuPlots::FillShwHistos(), NuPlots::FillSigmaQPPlots(), NuPlots::FillSpectra(), NuPlots::FillStpfitqpPlots(), NuPlots::FillTrueAbIDHistosPQNQ(), NuPlots::FillTrueDpIDHistosPQNQ(), NuPlots::FillTrueJmIDHistosPQNQ(), NuPlots::FillTruePIDHistos(), NuPlots::FillTrueRoIDHistosPQNQ(), NuPlots::FillUVHistos(), NuTime::FillVsTimeHistos(), NuTime::FillVsTimeHistos2(), NuPlots::FillXYZHistos(), NuUtilities::FixDogwoodQP(), NuReco::GetBestShower(), NuReco::GetContainmentFlag(), NuCuts::IsGoodAbID(), NuCuts::IsGoodDpID(), NuCuts::IsGoodFitProb(), NuCuts::IsGoodMajorityCurvature(), NuCuts::IsGoodPID(), NuCuts::IsGoodRelAngle(), NuCuts::IsGoodSigmaQP_QP(), NuCuts::IsGoodTrackFitPass(), NuCuts::IsGoodTrackLength(), NuCuts::IsGoodTrackLengthInUV(), NuCuts::IsNMBNQ(), NuCuts::IsNMBPQ(), NuAnalysis::LIRejectionTest(), NuDSTAna::MakeFCTree(), NuAnalysis::MakeFullDST(), NuDSTAna::NDQPRB(), NuDSTAna::NDTestAna(), NuDSTAna::Oscillate(), NuDSTAna::OscillateTrans(), NuPlots::PrintRecoInfo(), NuDSTAna::QPStudy(), Reset(), NuFluctuator::SelectedAs(), NuCutImps::Bravo0720BFnu::Selection(), NuCutImps::Delta::Selection(), NuCutImps::RM0720::Selection(), NuCutImps::Bravo::Selection(), NuCutImps::RM2::Selection(), NuCutImps::BravoPrime::Selection(), NuCutImps::Charlie::Selection(), NuCutImps::RHC0350BFnuBravo::Selection(), NuCutImps::Bravo0720::Selection(), NuReco::SetBestTrk(), TestExperimentGenerator::testAccessSummary(), TestExperimentGenerator::testBuildSummaries(), TestEventManager::testEventAddFD(), TestExperimentGenerator::testNDGenSingleEvent(), TestEventManager::testReweightSamplesPerBin(), NuSystematic::TrackEnergyNeutrinoQE(), and NuSystematic::WSNuBarBackgroundShift().

Definition at line 700 of file NuEvent.h.

Definition at line 863 of file NuEvent.h.

Definition at line 1027 of file NuEvent.h.

definition same as variable without SA postfix

Definition at line 353 of file NuEvent.h.

Referenced by Reset(), and NuReco::SetBestTrkSAFit().

Definition at line 720 of file NuEvent.h.

Definition at line 883 of file NuEvent.h.

Definition at line 1047 of file NuEvent.h.

Float_t NuEvent::chi2

track chi2 of fit

Definition at line 338 of file NuEvent.h.

Referenced by NuReco::CalcTrkVariables(), NuPlots::FillSigmaQPPlots(), Reset(), and NuReco::SetBestTrk().

Float_t NuEvent::chi21

Definition at line 705 of file NuEvent.h.

Float_t NuEvent::chi22

Definition at line 868 of file NuEvent.h.

Float_t NuEvent::chi23

Definition at line 1032 of file NuEvent.h.

Float_t NuEvent::chi2SA

definition same as variable without SA postfix

Definition at line 356 of file NuEvent.h.

Referenced by Reset(), and NuReco::SetBestTrkSAFit().

Definition at line 723 of file NuEvent.h.

Definition at line 886 of file NuEvent.h.

Definition at line 1050 of file NuEvent.h.

trk.time.chi2: chi2 of fit done on track direction determination

Definition at line 388 of file NuEvent.h.

Referenced by Reset(), and NuReco::SetBestTrk().

Definition at line 768 of file NuEvent.h.

Definition at line 932 of file NuEvent.h.

Definition at line 1096 of file NuEvent.h.

weight to account for daikon coil mismodeling

Daikon mismodels the coil by using "coil material" for neutrino interactions, but steel and scintillator for particle propagation.

As a good approximation, this can be fixed by weighting events in which the true neutrino interaction is in the coil by the raio of densities. This is set to 1 if the true neutrino interaction is not in the coil and that ratio if it is.

This contributes to the total weight rw.

Definition at line 1276 of file NuEvent.h.

Referenced by NuReco::ApplyReweights(), and Reset().

Definition at line 695 of file NuEvent.h.

Definition at line 858 of file NuEvent.h.

Definition at line 1022 of file NuEvent.h.

CC 0.9e20 pot containment flag.

Definition at line 1243 of file NuEvent.h.

Referenced by NuReco::CalcTrkVariables(), NuReco::GetContainmentFlag(), and Reset().

pitt specific flag: 1-4, up/down stop/exit

Definition at line 1245 of file NuEvent.h.

Referenced by NuReco::CalcTrkVariables(), NuPlots::FillBRev(), NuPlots::FillDetectorEdge(), NuReco::GetContainmentFlag(), and Reset().

Cosine of angle between theta and radial momentum.

This was considered for use in RAF analysis and then dropped. Remove?

Definition at line 569 of file NuEvent.h.

Referenced by NuPlots::FillXYZHistos(), NuCuts::IsGoodCosPr(), Reset(), and NuReco::SetBestTrk().

Definition at line 813 of file NuEvent.h.

Definition at line 977 of file NuEvent.h.

Definition at line 1141 of file NuEvent.h.

Double_t NuEvent::crateT0

time from trigger to nearest spill (ns)

Definition at line 92 of file NuEvent.h.

Referenced by NuExtraction::ExtractDataQuality(), and Reset().

time from trigger to nearest spill (s)

Definition at line 91 of file NuEvent.h.

Referenced by NuExtraction::ExtractDataQuality(), NuCutImps::PreselectionNC2012::Preselection(), and Reset().

fHeader.fVldContext.fDetector

Definition at line 46 of file NuEvent.h.

Referenced by NuSystematic::AcceptanceShift(), NuReco::ApplyReweights(), ToFPlotter::BestEventTime(), ToFPlotter::BestEventTimeFar(), ToFPlotter::BestEventTimeNear(), NuSystematic::BFieldShift(), NuReco::CalcEvtVariables(), NuReco::CalcResolution(), NuReco::CalcTrkReclamation(), NuReco::CalculateEdgeRegion(), NuReco::CalculateHorizontalVerticalStripNumber(), NuReco::CalculateParallelStripInset(), NuReco::CalculatePerpendicularStripFlag(), NuAnalysis::ChargeSignCut(), DataMCPlots::CreateHistograms(), NuTreeWrapper::Detector(), NuAnalysis::Efficiencies(), NuSystematic::EnergyResolutionEvent(), NuSystematic::EnergyResolutionShower(), NuSystematic::EnergyResolutionTrackCurve(), NuSystematic::EnergyResolutionTrackRange(), NuAnalysis::EnergySpect(), NuAnalysis::EnergySpectMC(), NuFCEvent2::Expand(), NuFCEvent::Extract(), NuExtraction::ExtractBeamInfoDB(), NuExtraction::ExtractCoilCurrent(), NuExtraction::ExtractGeneralInfo(), NuExtraction::ExtractMinMaxEvtTimes(), NuExtraction::ExtractTimeToNearestSpill(), NuExtraction::ExtractTimingFiducial(), NuSystematic::FDCleaningCosmicsShiftSterile(), NuSystematic::FDCleaningShiftSterile(), NuReco::FDRCBoundary(), NuCuts::FiducialMass(), NuFCEvent2::FillFrom(), NuHistos::FillMatrixMethodHistos(), NuHistos::FillMatrixMethodNCHistos(), NuFluxHelper::FillMMHelpers(), NuFluxHelper::FillNonMMHelpers(), DataMCPlots::FillPlots(), DataMCPlots::FillPlotsNCN_1(), NuOscProb::FourFlavourDisappearanceWeight(), NuOscProb::FourFlavourNuESurvivalProbability(), NuOscProb::FourFlavourNuMuToNuEProbability(), NuOscProb::FourFlavourNuMuToNuSProbability(), NuOscProb::FourFlavourNuMuToNuTauProbability(), NuReco::GetContainmentFlag(), NuReco::GetContainmentFlagCC0093Std(), NuReco::GetContainmentFlagCC0250Std(), NuReco::GetContainmentFlagNCPRL(), NuReco::GetContainmentFlagPitt(), NuReco::GetContainmentFlagStdReco(), NuReco::GetDirCosNu(), NuPIDInterface::GetFileNameAbID(), NuPIDInterface::GetFileNameJeID(), NuPIDInterface::GetFileNamekNNID(), FitTree::GetL(), NuDSTAna::GetNuConfig(), NuReco::GetRadiusFromBeamCentre(), NuCutImps::ChairSound::GetRegion(), NuPIDInterface::GetRoIDPlus(), NuReco::GetShowerEnergykNN(), NuReco::GetVldContext(), NuZBeamReweight::GetWeightHelium(), NuZBeamReweight::GetWeights(), NuSystematic::HornCurrentShift(), NuCut::InFidVol(), NuCutImps::Preselection2014::InFidVol(), NuCutImps::PreselectionNC2012::InFidVol(), NuCut::InFidVolEvt(), NuCut::InFidVolTrueEvt(), NuPIDInterface::InitialiseDpID(), NuCuts::IsGoodAbID(), NuCutImps::CC0325Std::IsGoodBeam(), NuCuts::IsGoodBeam(), NuCuts::IsGoodBeamTypeCC2008(), NuCuts::IsGoodBeamTypeRHC2010(), NuCuts::IsGoodCoilCurrent(), NuCuts::IsGoodCoilCurrentDirectionCC2008(), NuCuts::IsGoodCoilCurrentDirectionRHC2010(), NuCuts::IsGoodDataQuality(), NuCuts::IsGoodDirCos(), NuCuts::IsGoodDpID(), NuCuts::IsGoodRoID(), NuCuts::IsGoodTimeToNearestSpill(), NuCuts::IsGoodTrackFitPass(), NuCuts::IsInFidVolEvt(), NuCuts::IsInFidVolLoose(), NuCuts::IsInFidVolTrk(), NuCuts::IsInFidVolTrueEvt(), NuCuts::IsLI(), NuAnalysis::LoopOverTruthInfo(), NuAnalysis::N_1(), NuSystematic::NDCleaningShiftSterile(), NuSystematic::NDCoilHole(), NuSystematic::NormalisationShift(), NuSystematic::NormalisationShiftSterile(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), NuAnalysis::NuMuBarAppearance(), NuDSTAna::Oscillate(), NuDSTAna::OscillateTrans(), DataMCPlots::PrepareEventForPlotting(), NuCutImps::Preselection2014::Preselection(), NuCutImps::CC1070Std::Preselection(), NuCutImps::PreselectionNC2012::Preselection(), NuCutImps::ToFPreselection::Preselection(), NuCutImps::RetroToFCC::Preselection(), NuCutImps::CC0720Std::Preselection(), NuCutImps::RHC0150Std::Preselection(), NuCutImps::NC0720Std::Preselection(), NuCutImps::ChairSound::Preselection(), NuCutImps::CC0325Std::Preselection(), NuCutImps::CC2014::Preselection(), NuCutImps::CC2014NewCoilCut::Preselection(), NuCutImps::MSRock_Nov09::Preselection(), NuCutImps::RetroToFNC::Preselection(), NuCutImps::Preselection2010::Preselection(), NuPIDInterface::PrintReleaseTypeEtc(), NuSystematic::RelativeHadronicCalibrationSterile(), Reset(), NuTransSME::Reweight(), NuTransition::Reweight(), NuSystematic::RockXSecShift(), NuSystematic::RockZAShift(), NuCutImps::NCPRLNC::Selection(), NuCutImps::Bravo0720BFnu::Selection(), NuCutImps::CC0720BFnu::Selection(), NuCutImps::CC1070Std::Selection(), NuCutImps::CC2014Resolution::Selection(), NuCutImps::RM0720::Selection(), NuCutImps::CC0720Resolution::Selection(), NuCutImps::RHC0350Std::Selection(), NuCutImps::CC2014NewCoilCut::Selection(), NuCutImps::RHC0350BFnuBravo::Selection(), NuCutImps::CC2014NewCoilCutResolution::Selection(), NuCutImps::RHC0350BFnu::Selection(), NuCutImps::Bravo0720::Selection(), NuCutImps::CC2014::Selection(), NuCutImps::CC1070Resolution::Selection(), NuSystematic::ShowerEnergyScale(), TestExperimentGenerator::testAccessSummary(), TestExperimentGenerator::testBuildSummaries(), TestEventManager::testEventAddFD(), TestEventManager::testEventAddND(), TestExperimentGenerator::testNDGenSingleEvent(), TestEventManager::testReweightSamplesPerBin(), NuOscProb::ThreeFlavourExactNuMuToNuElectron(), NuOscProb::ThreeFlavourExactNuMuToNuMu(), NuOscProb::ThreeFlavourExactNuMuToNuTau(), NuOscProb::ThreeFlavourNuMuToNuElectron(), NuOscProb::ThreeFlavourNuMuToNuMu(), NuOscProb::ThreeFlavourNuMuToNuTau(), and NuSystematic::TrackEnergyScale().

event vertex distance to edge of scintillator

Definition at line 1233 of file NuEvent.h.

Referenced by NuReco::CalcEvtVariables(), NuPlots::FillContainmentHistos(), and Reset().

Float_t NuEvent::dpID

Definition at line 804 of file NuEvent.h.

Definition at line 968 of file NuEvent.h.

Definition at line 1132 of file NuEvent.h.

trk.fidend.dr

Definition at line 588 of file NuEvent.h.

Referenced by NuPlots::FillXYZHistos(), Reset(), and NuReco::SetBestTrk().

Definition at line 808 of file NuEvent.h.

Definition at line 972 of file NuEvent.h.

Definition at line 1136 of file NuEvent.h.

trk.fidbeg.dr

Definition at line 586 of file NuEvent.h.

Referenced by NuPlots::FillXYZHistos(), NuCuts::IsGoodTrackDr(), Reset(), and NuReco::SetBestTrk().

Definition at line 806 of file NuEvent.h.

Definition at line 970 of file NuEvent.h.

Definition at line 1134 of file NuEvent.h.

Float_t NuEvent::dtdz

gradient of t(z) fit (with c_light=1)

Definition at line 1413 of file NuEvent.h.

Referenced by NuExtraction::ExtractNCInfo(), NuCutImps::NC0720Std::FDCosmics(), NuCutImps::PreselectionNC2012::Preselection(), and Reset().

Definition at line 805 of file NuEvent.h.

Definition at line 969 of file NuEvent.h.

Definition at line 1133 of file NuEvent.h.

trk.fidend.dz

Definition at line 589 of file NuEvent.h.

Referenced by NuPlots::FillXYZHistos(), Reset(), and NuReco::SetBestTrk().

Definition at line 809 of file NuEvent.h.

Definition at line 973 of file NuEvent.h.

Definition at line 1137 of file NuEvent.h.

trk.fidbeg.dz

Definition at line 587 of file NuEvent.h.

Referenced by NuPlots::FillXYZHistos(), Reset(), and NuReco::SetBestTrk().

Definition at line 807 of file NuEvent.h.

Definition at line 971 of file NuEvent.h.

Definition at line 1135 of file NuEvent.h.

summed PH in partially instrumented region in 40ns time window

Definition at line 1398 of file NuEvent.h.

Referenced by NuExtraction::ExtractNCInfo(), DataStabilityAnalysisClass::FillPlots(), NuCutImps::RetroToFNC::IsNDClean(), NuCutImps::NC0720Std::NDCleaning(), and Reset().

number of strips in partially instrumented region in 40ns time window

Definition at line 1397 of file NuEvent.h.

Referenced by NuExtraction::ExtractNCInfo(), DataStabilityAnalysisClass::FillPlots(), NuCutImps::RetroToFNC::IsNDClean(), NuCutImps::NC0720Std::NDCleaning(), and Reset().

Same as edgeRegionTrkVtx but for the track end.

Definition at line 451 of file NuEvent.h.

Referenced by NuReco::CalculateEdgeRegion(), NuReco::CalculateParallelStripInset(), NuReco::CalculatePerpendicularStripFlag(), Reset(), and NuReco::SetBestTrk().

Definition at line 783 of file NuEvent.h.

Definition at line 947 of file NuEvent.h.

Definition at line 1111 of file NuEvent.h.

The octant of the detector that the track vertex is in.

This is calculated only for the far detector. If not in the far detector or there is no track, it's set to -1.

Octants boundaries are at the corners. Counting starts with 0 at +x (west vertical edge) and goes counter-clockwise (looking south) around to to 7 (lower west diagonal edge). While this variable was intended for use only in the anti-fiducial volume near the edge, it is defined for all positions.

Note that the detector is not a regular octagon and so the corners are not at exactly (n+0.5)*360/8 degrees. Because the scintillator boundary has a complex shape, the exact locations of the corners is arbitrary on the level of a few centimeters.

In the 2010 CC analysis, only the parity of this value is used. i.e. if it is even, this is a horizontal/vertical edge and if it is odd, it is a diagonal edge.

Definition at line 449 of file NuEvent.h.

Referenced by NuReco::CalculateEdgeRegion(), NuReco::CalculateHorizontalVerticalStripNumber(), NuReco::CalculateParallelStripInset(), NuReco::CalculatePerpendicularStripFlag(), NuCutImps::RAF0720Std::CosmicNonTiming(), NuCutImps::RAF0720Ext::CosmicNonTiming(), RockEvent::Fill(), NuCutImps::RAF0720Std::PIDtype(), NuCutImps::RAF0720Ext::PIDtype(), Reset(), NuSystematic::RockSelectionShift(), NuReco::SetBestTrk(), ShiftHoveStrip(), and ShiftHoveStripAnswer().

Definition at line 782 of file NuEvent.h.

Definition at line 946 of file NuEvent.h.

Definition at line 1110 of file NuEvent.h.

Float_t NuEvent::energy

Best reconstructed energy.

Always set to energyCC by NuReco::GetEvtEnergy. Unless applyEnergyShifts is set in which case NuReco::ApplyReweights sets it to energyRw.

Definition at line 124 of file NuEvent.h.

Referenced by NuSystematic::AcceptanceShift(), NuReco::ApplyReweights(), NuReco::CalcKinematicVariables(), NuAnalysis::ChargeSignCut(), NuAnalysis::EnergySpect(), NuAnalysis::EnergySpectMC(), NuFCEvent2::Expand(), NuFCEvent::Extract(), NuDSTAna::FDTestAna(), NuMatrix1D::Fill(), NuPlots::FillBRev(), ToFPlotter::FillCCPlots(), FoverNHistos::FillCCSelectedPlots(), FitTree::FillCCVector(), NuPlots::FillContainmentHistos(), NuPlots::FillCounts(), NuPlots::FillDPIdSigmaQPFailDpIDCutPlots(), NuPlots::FillDPIdSigmaQPFailProbCutPlots(), NuPlots::FillDPIdSigmaQPFailSigQPCutPlots(), NuPlots::FillDPIdSigmaQPPassDpIDCutPlots(), NuPlots::FillDPIdSigmaQPPassPreSelCutPlots(), NuPlots::FillDPIdSigmaQPPassSigQPCutPlots(), NuPlots::FillDPIdSigmaQPPassUVVtxCutPlots(), NuPlots::FillEffPur(), NuPlots::FillEnergyBinHistos(), NuPlots::FillHe(), NuPlots::FillKinematicsHistos(), NuPlots::FillLowProbPlots(), NuHistos::FillMatrixMethodHistos(), NuPlots::FillMiscHists(), ToFPlotter::FillNCPlots(), TemplateAnalysisClass::FillPlots(), DataMCPlots::FillPlots(), ToFPlotter::FillRAFPlots(), NuPlots::FillRangeCurvCompHistos(), NuPlots::FillRecoEnYHistosN(), FoverNHistos::FillRecoVTrueHistoTriplet(), NuPlots::FillRHCplusRHCminusHistosNQ(), NuPlots::FillSigmaQPPlots(), NuPlots::FillSpectra(), NuPlots::FillTruePIDHistos(), NuTime::FillVsTimeHistos(), NuTime::FillVsTimeHistos2(), NuDSTAna::GetEvent(), NuDSTAna::GetEventND(), NuReco::GetEvtEnergy(), NuSystematic::HornCurrentShift(), NuCutImps::RetroToFNC::IsNDClean(), NuDSTAna::MakeFCTree(), NuCutImps::NC0720Std::NDCleaning(), NuDSTAna::NDTestAna(), NuPlots::PrintRecoInfo(), NuDSTAna::QPStudy(), Reset(), NuCutImps::CC2014Resolution::Resolution(), NuCutImps::CC2014NewCoilCutResolution::Resolution(), NuCutImps::CC1070Resolution::Resolution(), and NuCutImps::CC0720Resolution::Resolution().

Reconstructed energy assuming this is a CC event.

Always set to the sum of trkEn and shwEnCC by NuReco::GetEvtEnergy.

Definition at line 130 of file NuEvent.h.

Referenced by NuReco::GetEvtEnergy(), and Reset().

Reconstructed energy without detector weights.

Equivalent to energy when applyEnergyShifts is not set

Definition at line 1328 of file NuEvent.h.

Referenced by NuPlots::FillRecoEnYHistosN(), NuReco::GetEvtEnergy(), and Reset().

Reconstructed energy for RAF events.

Always set to trkEn by NuReco::GetEvtEnergy

Definition at line 140 of file NuEvent.h.

Referenced by NuReco::GetEvtEnergy(), and Reset().

Reconstructed energy with SKZP detector weights applied.

Set to the sum of trkEnRw and shwEnRw by NuReco::ApplyReweights

Definition at line 1323 of file NuEvent.h.

Referenced by NuReco::ApplyReweights(), NuPlots::FillRecoEnYHistosN(), and Reset().

fHeader.fErrorCode

Definition at line 40 of file NuEvent.h.

Referenced by NuExtraction::ExtractGeneralInfo(), and Reset().

Int_t NuEvent::evt

evt.ph.sigmap

Definition at line 221 of file NuEvent.h.

Referenced by NuExtraction::ExtractEvtInfo(), and Reset().

Number of planes between first U plane of event and first V plane of event.

Definition at line 1234 of file NuEvent.h.

Referenced by NuReco::CalcEvtVariables(), NuPlots::FillUVHistos(), and Reset().

flux error, kHadProdAfterTune

Definition at line 1313 of file NuEvent.h.

flux error kTotalErrorAfterTune

Definition at line 1315 of file NuEvent.h.

flux error, kTotalErrorPreTune

Definition at line 1314 of file NuEvent.h.

trk.time.forwardNDOF: Digits used for forward time fit

Definition at line 395 of file NuEvent.h.

Referenced by Reset(), and NuReco::SetBestTrk().

Definition at line 771 of file NuEvent.h.

Definition at line 935 of file NuEvent.h.

Definition at line 1099 of file NuEvent.h.

trk.time.forwardRMS: RMS for forward time fit

Definition at line 393 of file NuEvent.h.

Referenced by Reset(), and NuReco::SetBestTrk().

Definition at line 770 of file NuEvent.h.

Definition at line 934 of file NuEvent.h.

Definition at line 1098 of file NuEvent.h.

number of generator rw configuration

Definition at line 1642 of file NuEvent.h.

Referenced by NuZBeamReweight::CalcGeneratorReweight(), NuAnalysis::CopyConfig(), NuZBeamReweight::CreateNeugenRegistry(), and Reset().

GPS error (ns).

Definition at line 93 of file NuEvent.h.

Referenced by NuExtraction::ExtractDataQuality(), NuCutImps::PreselectionNC2012::Preselection(), and Reset().

type of spill

Definition at line 94 of file NuEvent.h.

Referenced by NuExtraction::ExtractDataQuality(), and Reset().

CC=1, NC=0.

Definition at line 1527 of file NuEvent.h.

Referenced by NuSystematic::BFieldShift(), NuSystematic::CCBackgroundShift(), NuSystematic::CCBackgroundShiftSterile(), NuAnalysis::ChargeSignCut(), NuFCEventManager::Classify(), NuSystematic::CreateMCEventInfo(), NuFCEvent2::Expand(), NuFCEvent::Extract(), RockEvent::Fill(), FoverNHistos::FillCCSelectedPlots(), NuPlots::FillContainmentHistos(), NuPlots::FillDPIdSigmaQPFailProbCutPlots(), NuPlots::FillDPIdSigmaQPPassDpIDCutPlots(), NuPlots::FillDPIdSigmaQPPassPreSelCutPlots(), NuPlots::FillDPIdSigmaQPPassSigQPCutPlots(), NuPlots::FillDPIdSigmaQPPassUVVtxCutPlots(), NuPlots::FillDPIdSigmaQPPlotsN(), NuPlots::FillEffPur(), NuPlots::FillEnergyBinHistos(), NuFCEvent2::FillFrom(), NuFCExperimentFactoryNSI::FillFromDST(), NuFCExperimentFactory::FillFromDST(), NuHistos::FillMatrixMethodHistos(), NuHistos::FillMatrixMethodNCHistos(), NuFluxHelper::FillMMHelpers(), NuPlots::FillN_1Plots(), FoverNHistos::FillNCSelectedPlots(), DataMCPlots::FillPlots(), NuPlots::FillRangeCurvCompHistos(), NuPlots::FillRecoEnYHistosN(), NuPlots::FillRelativeAngleHistos(), NuPlots::FillRHCplusRHCminusHistosNQ(), NuPlots::FillRHCplusRHCminusHistosPQ(), DataMCPlots::FillRoIDPlots(), NuPlots::FillSelPlots(), NuPlots::FillSigmaQPPlots(), NuPlots::FillSpectra(), NuPlots::FillStpfitqpPlots(), NuPlots::FillTrueAbIDHistos(), NuPlots::FillTrueAbIDHistosPQNQ(), NuPlots::FillTrueDpIDHistos(), NuPlots::FillTrueDpIDHistosPQNQ(), NuPlots::FillTrueJmIDHistosPQNQ(), NuPlots::FillTruePIDHistos(), NuPlots::FillTrueRoIDHistos(), NuPlots::FillTrueRoIDHistosPQNQ(), NuPlots::FillUVHistos(), NuPlots::FillXYZHistos(), NuReco::GetTruthInfo(), NuZBeamReweight::GetWeights(), NuTransition::GetXSecNeugen(), NuTransSME::GetXSecNeugen(), NuZBeamReweight::MCEventInfoFilla(), NuSystematic::NCBackgroundShift(), NuSystematic::NCNuBarBackgroundShift(), NuSystematic::NeugenXSecShift(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), NuSystematic::NuMuBarQELXSecShift(), NuSystematic::NuMuBarResXSecShift(), NuSystematic::NuMuBarSumXSecShift(), NuFluctuator::Oscillate(), FoverNHistos::Oscillate(), NuDSTAna::Oscillate(), NuDSTAna::OscillateTrans(), NuSystematic::OverallXSecShift(), NuPlots::PrintMCInfo(), Reset(), NuTransSME::Reweight(), NuTransition::Reweight(), TestExperimentGenerator::testAccessSummary(), TestExperimentGenerator::testBuildSummaries(), TestEventManager::testEventAddFD(), TestEventManager::testReweightSamplesPerBin(), and NuSystematic::WSNuBarBackgroundShift().

the n'th NuEvent object to be written to the tree

Definition at line 31 of file NuEvent.h.

Referenced by NuOutputWriter::FillNuEventTree(), NuDSTAna::MakeFCTree(), Reset(), NuSystematic::RockSelectionShift(), ShiftHoveStrip(), and ShiftHoveStripAnswer().

Int_t NuEvent::inu

PDG code of neutrino (positive = particles, negative = anti-particles).

Definition at line 1529 of file NuEvent.h.

Referenced by NuSystematic::BFieldShift(), NuSystematic::CCBackgroundShiftSterile(), NuSystematic::CCWSBackground(), NuAnalysis::ChargeSignCut(), NuFCEventManager::Classify(), NuSystematic::CreateMCEventInfo(), NuFCEvent2::Expand(), NuFCEvent::Extract(), RockEvent::Fill(), NuPlots::FillBRev(), FoverNHistos::FillCCSelectedPlots(), NuPlots::FillContainmentHistos(), NuPlots::FillDPIdSigmaQPFailProbCutPlots(), NuPlots::FillDPIdSigmaQPPassDpIDCutPlots(), NuPlots::FillDPIdSigmaQPPassPreSelCutPlots(), NuPlots::FillDPIdSigmaQPPassSigQPCutPlots(), NuPlots::FillDPIdSigmaQPPassUVVtxCutPlots(), NuPlots::FillDPIdSigmaQPPlotsN(), NuPlots::FillEffPur(), NuPlots::FillEnergyBinHistos(), NuFCEvent2::FillFrom(), NuFCExperimentFactoryNSI::FillFromDST(), NuFCExperimentFactory::FillFromDST(), NuPlots::FillHe(), NuHistos::FillMatrixMethodHistos(), NuHistos::FillMatrixMethodNCHistos(), NuFluxHelper::FillMMHelpers(), NuPlots::FillN_1Plots(), FoverNHistos::FillNCSelectedPlots(), NuFluxHelper::FillNonMMHelpers(), NuPlots::FillRangeCurvCompHistos(), NuPlots::FillRecoEnYHistosN(), NuPlots::FillRelativeAngleHistos(), NuPlots::FillRHCplusRHCminusHistosNQ(), NuPlots::FillRHCplusRHCminusHistosPQ(), NuPlots::FillSelPlots(), NuPlots::FillSigmaQPPlots(), NuPlots::FillSpectra(), NuPlots::FillStpfitqpPlots(), NuPlots::FillTrueAbIDHistos(), NuPlots::FillTrueAbIDHistosPQNQ(), NuPlots::FillTrueDpIDHistos(), NuPlots::FillTrueDpIDHistosPQNQ(), NuPlots::FillTrueJmIDHistosPQNQ(), NuPlots::FillTruePIDHistos(), NuPlots::FillTrueRoIDHistos(), NuPlots::FillTrueRoIDHistosPQNQ(), NuPlots::FillUVHistos(), NuPlots::FillXYZHistos(), NuReco::GetTruthInfo(), NuZBeamReweight::GetWeightHelium(), NuZBeamReweight::GetWeights(), NuTransition::GetXSecGraph(), NuTransSME::GetXSecGraph(), NuTransition::GetXSecNeugen(), NuTransSME::GetXSecNeugen(), NuZBeamReweight::MCEventInfoFilla(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), NuSystematic::NuMuBarQELXSecShift(), NuSystematic::NuMuBarResXSecShift(), NuSystematic::NuMuBarSumXSecShift(), NuFluctuator::Oscillate(), FoverNHistos::Oscillate(), NuDSTAna::Oscillate(), NuDSTAna::OscillateTrans(), NuSystematic::OverallXSecShift(), NuPlots::PrintMCInfo(), Reset(), NuTransSME::Reweight(), NuTransition::Reweight(), NuReco::Run9TargetDecayWeight(), NuSystematic::SetShiftedNeugenParameters(), NuSystematic::TauQELResShift(), TestExperimentGenerator::testAccessSummary(), TestExperimentGenerator::testBuildSummaries(), TestEventManager::testEventAddFD(), TestEventManager::testReweightSamplesPerBin(), NuSystematic::TrackEnergyNeutrinoQE(), and NuSystematic::WSNuBarBackgroundShift().

trk.time.cdtds, which is 1/beta

Definition at line 385 of file NuEvent.h.

Referenced by Reset(), and NuReco::SetBestTrk().

Definition at line 766 of file NuEvent.h.

Definition at line 930 of file NuEvent.h.

Definition at line 1094 of file NuEvent.h.

uses DataUtil::IsGoodDataCOIL()

Definition at line 81 of file NuEvent.h.

Referenced by NuExtraction::ExtractDataQuality(), and Reset().

uses DataUtil::IsGoodDataGPS()

Definition at line 83 of file NuEvent.h.

Referenced by NuExtraction::ExtractDataQuality(), and Reset().

uses DataUtil::IsGoodDataHV()

Definition at line 82 of file NuEvent.h.

Referenced by NuExtraction::ExtractDataQuality(), and Reset().

uses DataUtil::IsGoodDataRUN()

Definition at line 80 of file NuEvent.h.

Referenced by NuExtraction::ExtractDataQuality(), and Reset().

Pass trkFitPass or ND reclamation.

Definition at line 195 of file NuEvent.h.

Referenced by NuReco::CalcEvtVariables(), and Reset().

Is the event in the CC 2010 fiducial volume.

Definition at line 194 of file NuEvent.h.

Referenced by NuReco::CalcEvtVariables(), NuPlots::FillN_1Plots(), and Reset().

Is the true vertex in the CC fiducial volume?

Definition at line 1463 of file NuEvent.h.

Referenced by NuReco::GetTruthInfo(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

Bool_t NuEvent::isLI

Pass NC cleaning (for all events, not just NCs).

Definition at line 196 of file NuEvent.h.

Referenced by NuReco::CalcEvtVariables(), and Reset().

Int_t NuEvent::itg
Float_t NuEvent::jitter

Definition at line 732 of file NuEvent.h.

Definition at line 895 of file NuEvent.h.

Definition at line 1059 of file NuEvent.h.

Definition at line 1378 of file NuEvent.h.

Referenced by NuPlots::FillXYZHistos(), NuPIDInterface::GetJmID(), and Reset().

Definition at line 750 of file NuEvent.h.

Definition at line 913 of file NuEvent.h.

Definition at line 1077 of file NuEvent.h.

Definition at line 254 of file NuEvent.h.

Referenced by NuPIDInterface::GetJmID(), NuPIDInterface::GetJmIDEvt(), and Reset().

Definition at line 1388 of file NuEvent.h.

Referenced by NuPIDInterface::GetJmID(), and Reset().

Size of the path found by the Dijkstra algorithm.

Definition at line 265 of file NuEvent.h.

Referenced by NuPIDInterface::GetJmID(), NuPIDInterface::GetJmIDEvt(), and Reset().

Definition at line 1387 of file NuEvent.h.

Referenced by NuPIDInterface::GetJmID(), and Reset().

"BVD" the value of the Dijkstra algorithm (proportional to the probability that it is a track)

Definition at line 263 of file NuEvent.h.

Referenced by NuPIDInterface::GetJmID(), NuPIDInterface::GetJmIDEvt(), and Reset().

Definition at line 1386 of file NuEvent.h.

Referenced by NuPIDInterface::GetJmID(), and Reset().

Mean ph in path.

Definition at line 262 of file NuEvent.h.

Referenced by NuPIDInterface::GetJmID(), NuPIDInterface::GetJmIDEvt(), and Reset().

Definition at line 1385 of file NuEvent.h.

Referenced by NuPIDInterface::GetJmID(), and Reset().

Standard devation of ph in path end.

Definition at line 261 of file NuEvent.h.

Referenced by NuPIDInterface::GetJmID(), NuPIDInterface::GetJmIDEvt(), and Reset().

Definition at line 1384 of file NuEvent.h.

Referenced by NuPIDInterface::GetJmID(), and Reset().

Summed ph in path end.

Definition at line 260 of file NuEvent.h.

Referenced by NuPIDInterface::GetJmID(), NuPIDInterface::GetJmIDEvt(), and Reset().

Definition at line 259 of file NuEvent.h.

Referenced by NuPIDInterface::GetJmID(), NuPIDInterface::GetJmIDEvt(), and Reset().

Float_t NuEvent::jmID
Float_t NuEvent::jmID1

Definition at line 748 of file NuEvent.h.

Float_t NuEvent::jmID2

Definition at line 911 of file NuEvent.h.

Float_t NuEvent::jmID3

Definition at line 1075 of file NuEvent.h.

Definition at line 252 of file NuEvent.h.

Referenced by NuPIDInterface::GetJmID(), NuPIDInterface::GetJmIDEvt(), and Reset().

Definition at line 1379 of file NuEvent.h.

Referenced by NuPIDInterface::GetJmID(), and Reset().

Definition at line 751 of file NuEvent.h.

Definition at line 914 of file NuEvent.h.

Definition at line 1078 of file NuEvent.h.

Definition at line 255 of file NuEvent.h.

Referenced by NuPIDInterface::GetJmID(), NuPIDInterface::GetJmIDEvt(), and Reset().

Definition at line 1380 of file NuEvent.h.

Referenced by NuPlots::FillXYZHistos(), NuPIDInterface::GetJmID(), and Reset().

Definition at line 752 of file NuEvent.h.

Definition at line 915 of file NuEvent.h.

Definition at line 1079 of file NuEvent.h.

Definition at line 256 of file NuEvent.h.

Referenced by NuPIDInterface::GetJmID(), NuPIDInterface::GetJmIDEvt(), and Reset().

Definition at line 1382 of file NuEvent.h.

Referenced by NuPIDInterface::GetJmID(), and Reset().

Definition at line 754 of file NuEvent.h.

Definition at line 917 of file NuEvent.h.

Definition at line 1081 of file NuEvent.h.

Definition at line 258 of file NuEvent.h.

Referenced by NuPIDInterface::GetJmID(), NuPIDInterface::GetJmIDEvt(), and Reset().

Definition at line 1381 of file NuEvent.h.

Referenced by NuPlots::FillXYZHistos(), NuPIDInterface::GetJmID(), and Reset().

Definition at line 753 of file NuEvent.h.

Definition at line 916 of file NuEvent.h.

Definition at line 1080 of file NuEvent.h.

Definition at line 257 of file NuEvent.h.

Referenced by NuPIDInterface::GetJmID(), NuPIDInterface::GetJmIDEvt(), and Reset().

Definition at line 1377 of file NuEvent.h.

Referenced by NuPlots::FillXYZHistos(), NuPIDInterface::GetJmID(), and Reset().

Definition at line 749 of file NuEvent.h.

Definition at line 912 of file NuEvent.h.

Definition at line 1076 of file NuEvent.h.

Definition at line 253 of file NuEvent.h.

Referenced by NuPIDInterface::GetJmID(), NuPIDInterface::GetJmIDEvt(), and Reset().

Float_t NuEvent::jPID
Float_t NuEvent::jPID1

Definition at line 733 of file NuEvent.h.

Float_t NuEvent::jPID2

Definition at line 896 of file NuEvent.h.

Float_t NuEvent::jPID3

Definition at line 1060 of file NuEvent.h.

number of active planes in trk

Definition at line 1358 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoID(), NuPIDInterface::GetRoIDPlus(), and Reset().

Definition at line 738 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoID().

Definition at line 901 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoID().

Definition at line 1065 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoID().

average ph per plane in trk

Definition at line 1359 of file NuEvent.h.

Referenced by DataStabilityAnalysisClass::FillPlots(), NuPIDInterface::GetRoID(), NuPIDInterface::GetRoIDPlus(), and Reset().

Definition at line 739 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoID().

Definition at line 902 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoID().

Definition at line 1066 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoID().

av of low ph strips/av of high ph strips

Definition at line 1360 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoID(), NuPIDInterface::GetRoIDPlus(), and Reset().

Definition at line 740 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoID().

Definition at line 903 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoID().

Definition at line 1067 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoID().

average of low ph strips / average of high ph strips

Definition at line 244 of file NuEvent.h.

Referenced by NuPlots::FillN_1Plots(), DataMCPlots::FillPlots(), NuPlots::FillXYZHistos(), NuPIDInterface::GetRoID(), NuPIDInterface::GetRoIDEvt(), and Reset().

fraction of ph in trk

Definition at line 1361 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoID(), NuPIDInterface::GetRoIDPlus(), and Reset().

Definition at line 741 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoID().

Definition at line 904 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoID().

Definition at line 1068 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoID().

CC analysis definition: reco.FDRCBoundary(nu);.

Definition at line 101 of file NuEvent.h.

Referenced by NuExtraction::ExtractLITags(), NuCuts::IsLI(), and Reset().

Double_t NuEvent::litime
Float_t NuEvent::majC

from MajCInfo

Definition at line 367 of file NuEvent.h.

Referenced by Reset(), NuReco::SetBestTrk(), and NuReco::SetBestTrkMajorityCurvature().

Float_t NuEvent::majC1

Definition at line 734 of file NuEvent.h.

Float_t NuEvent::majC2

Definition at line 897 of file NuEvent.h.

Float_t NuEvent::majC3

Definition at line 1061 of file NuEvent.h.

The highest momentum final state neutron (before inuke).

Definition at line 1498 of file NuEvent.h.

Referenced by NuReco::GetPreInukeFinalStateVars(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

The highest momentum final state proton (before inuke).

Definition at line 1497 of file NuEvent.h.

Referenced by NuReco::GetPreInukeFinalStateVars(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

max mip of a hit // variables calculated from hits in all showers

Definition at line 668 of file NuEvent.h.

Referenced by NuExtraction::ExtractShwInfo(), and Reset().

all-shower version of maxShwHitMipAllShws

Definition at line 677 of file NuEvent.h.

Referenced by NuExtraction::ExtractShwInfo(), and Reset().

max mip in a plane

Definition at line 667 of file NuEvent.h.

Referenced by NuExtraction::ExtractShwInfo(), and Reset().

all-shower version of maxShwPlaneMipAllShws

Definition at line 676 of file NuEvent.h.

Referenced by NuExtraction::ExtractShwInfo(), and Reset().

Int_t NuEvent::mc

1st shower mc index

Definition at line 1550 of file NuEvent.h.

Referenced by NuAnalysis::ContributingTrueEvents(), and Reset().

2nd shower mc index

Definition at line 1551 of file NuEvent.h.

Referenced by NuAnalysis::ContributingTrueEvents(), and Reset().

3rd shower mc index

Definition at line 1552 of file NuEvent.h.

Referenced by NuAnalysis::ContributingTrueEvents(), and Reset().

4th shower mc index

Definition at line 1553 of file NuEvent.h.

Referenced by NuAnalysis::ContributingTrueEvents(), and Reset().

5th shower mc index

Definition at line 1554 of file NuEvent.h.

Referenced by NuAnalysis::ContributingTrueEvents(), and Reset().

1st track mc index

Definition at line 1546 of file NuEvent.h.

Referenced by NuAnalysis::ContributingTrueEvents(), and Reset().

2nd track mc index

Definition at line 1547 of file NuEvent.h.

Referenced by NuAnalysis::ContributingTrueEvents(), and Reset().

3rd track mc index

Definition at line 1548 of file NuEvent.h.

Referenced by NuAnalysis::ContributingTrueEvents(), and Reset().

the median time in event (with respect to timeFrame start)

Definition at line 53 of file NuEvent.h.

Referenced by NuExtraction::ExtractMinMaxEvtTimes(), NuPlots::FillDPIdSigmaQPPlotsN(), NuPlots::FillEvtAndSpillTimingPlots(), and Reset().

Definition at line 1432 of file NuEvent.h.

Referenced by NuExtraction::ExtractBeamInfoDB(), and Reset().

Decay process that produced the neutrino, see {decays}.

Definition at line 1568 of file NuEvent.h.

Referenced by NuReco::GetTruthInfo(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

evt.ndigit

Definition at line 213 of file NuEvent.h.

Referenced by NuExtraction::ExtractEvtInfo(), and Reset().

shw.ndigit

Definition at line 599 of file NuEvent.h.

Referenced by Reset(), and NuReco::SetBestShw().

Definition at line 822 of file NuEvent.h.

Definition at line 986 of file NuEvent.h.

Definition at line 1150 of file NuEvent.h.

Definition at line 1178 of file NuEvent.h.

Definition at line 1206 of file NuEvent.h.

trk.time.ndigit: number of digits used to determine the track direction from timing

Definition at line 390 of file NuEvent.h.

Referenced by Reset(), and NuReco::SetBestTrk().

Definition at line 769 of file NuEvent.h.

Definition at line 933 of file NuEvent.h.

Definition at line 1097 of file NuEvent.h.

trk.ndigit

Definition at line 295 of file NuEvent.h.

Referenced by Reset(), and NuReco::SetBestTrk().

Definition at line 688 of file NuEvent.h.

Definition at line 851 of file NuEvent.h.

Definition at line 1015 of file NuEvent.h.

Float_t NuEvent::ndof

track ndof of fit

Definition at line 339 of file NuEvent.h.

Referenced by NuReco::CalcTrkVariables(), NuPlots::FillSigmaQPPlots(), Reset(), and NuReco::SetBestTrk().

Float_t NuEvent::ndof1

Definition at line 706 of file NuEvent.h.

Float_t NuEvent::ndof2

Definition at line 869 of file NuEvent.h.

Float_t NuEvent::ndof3

Definition at line 1033 of file NuEvent.h.

Float_t NuEvent::ndofSA

definition same as variable without SA postfix

Definition at line 357 of file NuEvent.h.

Referenced by Reset(), and NuReco::SetBestTrkSAFit().

Definition at line 724 of file NuEvent.h.

Definition at line 887 of file NuEvent.h.

Definition at line 1051 of file NuEvent.h.

Direction slopes for a neutrino forced towards the center of the far detector.

Definition at line 1564 of file NuEvent.h.

Referenced by NuReco::GetTruthInfo(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

Direction slopes for a neutrino forced towards the center of the near detecto.

Definition at line 1560 of file NuEvent.h.

Referenced by NuReco::GetTruthInfo(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

Direction slopes for a neutrino forced towards the center of the far detector.

Definition at line 1565 of file NuEvent.h.

Referenced by NuReco::GetTruthInfo(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

Direction slopes for a neutrino forced towards the center of the near detecto.

Definition at line 1561 of file NuEvent.h.

Referenced by NuReco::GetTruthInfo(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

time of nearest spill (ns);

Definition at line 69 of file NuEvent.h.

Referenced by ToFPlotter::BestEventTimeNear(), NuExtraction::ExtractTimeToNearestSpill(), and Reset().

time of nearest spill (s)

Definition at line 68 of file NuEvent.h.

Referenced by NuExtraction::ExtractTimeToNearestSpill(), and Reset().

Float_t NuEvent::Necm

Neutrino energy (GeV) in the center-of-mass frame.

Definition at line 1584 of file NuEvent.h.

Referenced by NuReco::GetTruthInfo(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

Neutrino energy (GeV) for a decay forced to the center of the far detector.

Definition at line 1566 of file NuEvent.h.

Referenced by NuReco::GetTruthInfo(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

Energy for a neutrino forced towards the center of the near detector.

Definition at line 1562 of file NuEvent.h.

Referenced by NuReco::GetTruthInfo(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

True neutrino energy.

The energy component of the neutrino 4-vector: p4neu[3]

Definition at line 1475 of file NuEvent.h.

Referenced by NuReco::ApplyReweights(), NuSystematic::CreateMCEventInfo(), NuSystematic::EnergyResolutionEvent(), NuFCEvent2::Expand(), NuFCEvent::Extract(), RockEvent::Fill(), NuFCEvent2::FillFrom(), NuPlots::FillHe(), NuHistos::FillMatrixMethodNCHistos(), NuFluxHelper::FillMMHelpers(), FoverNHistos::FillNCSelectedPlots(), NuFluxHelper::FillNonMMHelpers(), FoverNHistos::FillRecoToTrueHistoTriplet(), FoverNHistos::FillRecoVTrueHistoTriplet(), NuOscProb::FourFlavourDisappearanceWeight(), NuOscProb::FourFlavourNuESurvivalProbability(), NuOscProb::FourFlavourNuMuToNuEProbability(), NuOscProb::FourFlavourNuMuToNuSProbability(), NuOscProb::FourFlavourNuMuToNuTauProbability(), NuReco::GetTruthInfo(), NuZBeamReweight::GetWeightHelium(), NuZBeamReweight::GetWeights(), NuTransition::GetXSecGraph(), NuTransSME::GetXSecGraph(), NuTransition::GetXSecNeugen(), NuTransSME::GetXSecNeugen(), NuZBeamReweight::MCEventInfoFilla(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), NuFluctuator::Oscillate(), NuDSTAna::Oscillate(), NuDSTAna::OscillateTrans(), NuPlots::PrintRangeEnergy(), Reset(), NuTransSME::Reweight(), NuTransition::Reweight(), NuReco::Run9TargetDecayWeight(), NuOscProb::ThreeFlavourExactNuMuToNuElectron(), NuOscProb::ThreeFlavourExactNuMuToNuMu(), NuOscProb::ThreeFlavourExactNuMuToNuTau(), NuOscProb::ThreeFlavourNuMuToNuElectron(), NuOscProb::ThreeFlavourNuMuToNuMu(), and NuOscProb::ThreeFlavourNuMuToNuTau().

Float_t NuEvent::Nimpwt

Importance weight of the neutrino.

Definition at line 1585 of file NuEvent.h.

Referenced by NuReco::GetTruthInfo(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

all-shower version of nplaneShw

Definition at line 678 of file NuEvent.h.

Referenced by NuExtraction::ExtractShwInfo(), NuReco::GetShowerEnergykNN(), and Reset().

Definition at line 824 of file NuEvent.h.

Referenced by NuPlots::FillMiscHists(), and NuCutImps::NCPRLCC::InFidVol().

Definition at line 988 of file NuEvent.h.

Referenced by NuPlots::FillMiscHists().

Definition at line 1152 of file NuEvent.h.

Referenced by NuPlots::FillMiscHists().

Definition at line 1180 of file NuEvent.h.

Referenced by NuPlots::FillMiscHists().

Definition at line 1208 of file NuEvent.h.

Float_t NuEvent::Npz

Neutrino momentum (GeV/c) along the $z$-axis (beam axis).

Definition at line 1559 of file NuEvent.h.

Referenced by NuReco::GetTruthInfo(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

shw.nstrip

Definition at line 600 of file NuEvent.h.

Referenced by NuPlots::FillMiscHists(), NuPlots::FillXYZHistos(), Reset(), and NuReco::SetBestShw().

Definition at line 823 of file NuEvent.h.

Referenced by NuPlots::FillMiscHists(), and NuReco::GetShowerEnergykNN().

Definition at line 987 of file NuEvent.h.

Referenced by NuPlots::FillMiscHists(), and NuReco::GetShowerEnergykNN().

Definition at line 1151 of file NuEvent.h.

Referenced by NuPlots::FillMiscHists(), and NuReco::GetShowerEnergykNN().

Definition at line 1179 of file NuEvent.h.

Referenced by NuPlots::FillMiscHists(), and NuReco::GetShowerEnergykNN().

Definition at line 1207 of file NuEvent.h.

Referenced by NuReco::GetShowerEnergykNN().

trk.nstrip

Definition at line 296 of file NuEvent.h.

Referenced by Reset(), and NuReco::SetBestTrk().

Definition at line 689 of file NuEvent.h.

Definition at line 852 of file NuEvent.h.

Definition at line 1016 of file NuEvent.h.

evt.ntrack

Definition at line 216 of file NuEvent.h.

Referenced by NuSystematic::EnergyResolutionTrackCurve(), NuSystematic::EnergyResolutionTrackRange(), NuExtraction::ExtractEvtInfo(), NuExtraction::ExtractMajorityCurvature(), NuCutImps::NC0720Std::FDCosmics(), NuPlots::FillMiscHists(), NuPlots::FillN_1Plots(), DataStabilityAnalysisClass::FillPlots(), DataMCPlots::FillPlots(), DataMCPlots::FillPlotsNCN_1(), NuPlots::FillXYZHistos(), NuReco::GetEvtEnergy(), NuReco::GetLongestPathLengthTrack(), NuReco::GetLongestTrack(), NuReco::GetShowerEnergyCC(), NuCut::InFidVol(), NuCutImps::NC0720Std::InFidVol(), NuCutImps::CC2014::InFidVol(), NuCutImps::RHC0150Std::InFidVol(), NuCutImps::CC1070Std::InFidVol(), NuCutImps::RetroToFCC::InFidVol(), NuCutImps::Preselection2010::InFidVol(), NuCutImps::CC0720BFnu::InFidVol(), NuCutImps::Preselection2014::InFidVol(), NuCutImps::PreselectionNC2012::InFidVol(), NuCutImps::NCPRLCC::InFidVol(), NuCutImps::CC2014NewCoilCut::InFidVol(), NuCutImps::CC0720Std::InFidVol(), NuCuts::IsGoodNumberOfTracks(), NuAnalysis::MakeFullDST(), NuCutImps::RAF0720Std::Preselection(), NuCutImps::PreselectionNC2012::Preselection(), NuCutImps::CC1070Std::Preselection(), NuCutImps::RetroToFRAF::Preselection(), NuCutImps::RetroToFCC::Preselection(), NuCutImps::RHC0150Std::Preselection(), NuCutImps::CC0720Std::Preselection(), NuCutImps::ChairSound::Preselection(), NuCutImps::RAF0720Ext::Preselection(), NuCutImps::CC2014::Preselection(), NuCutImps::CC0325Std::Preselection(), NuCutImps::MSRock_Nov09::Preselection(), NuCutImps::CC2014NewCoilCut::Preselection(), Reset(), NuCutImps::NCPRLNC::Selection(), NuCutImps::NCPRLCC::Selection(), NuReco::SetBestTrk(), NuReco::SetBestTrkMajorityCurvature(), NuReco::SetBestTrkSAFit(), and ToFPlotter::Z0Correction().

the number of trk-like planes

Definition at line 345 of file NuEvent.h.

Referenced by NuPlots::FillXYZHistos(), Reset(), and NuReco::SetBestTrk().

Definition at line 712 of file NuEvent.h.

Definition at line 875 of file NuEvent.h.

Definition at line 1039 of file NuEvent.h.

number of active readout crates ('cratemask')

Definition at line 85 of file NuEvent.h.

Referenced by NuExtraction::ExtractDataQuality(), and Reset().

number of 'good' snarls during run

Definition at line 87 of file NuEvent.h.

Referenced by NuExtraction::ExtractDataQuality(), and Reset().

Number of final state neutrons (before inuke).

Definition at line 1496 of file NuEvent.h.

Referenced by NuReco::GetPreInukeFinalStateVars(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

Number of final state protons (before inuke).

Definition at line 1495 of file NuEvent.h.

Referenced by NuReco::GetPreInukeFinalStateVars(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

number of timeframes, gives run duration

Definition at line 86 of file NuEvent.h.

Referenced by NuExtraction::ExtractDataQuality(), and Reset().

Float_t NuEvent::NWtFar

Neutrino weight for a decay forced to the center of the far detector.

Definition at line 1567 of file NuEvent.h.

Referenced by NuReco::GetTruthInfo(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

Weight for a neutrino forced towards the center of the near detector.

Definition at line 1563 of file NuEvent.h.

Referenced by NuReco::GetTruthInfo(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

summed PH in opposite edge region in 40ns time window

Definition at line 1400 of file NuEvent.h.

Referenced by NuExtraction::ExtractNCInfo(), DataStabilityAnalysisClass::FillPlots(), and Reset().

number of strips in opposite edge region in 40ns time window

Definition at line 1399 of file NuEvent.h.

Referenced by NuExtraction::ExtractNCInfo(), DataStabilityAnalysisClass::FillPlots(), NuCutImps::RetroToFNC::IsNDClean(), NuCutImps::NC0720Std::NDCleaning(), and Reset().

Same as parallelStripTrkVtx, but for the track end.

Definition at line 497 of file NuEvent.h.

Referenced by NuReco::CalculateParallelStripInset(), Reset(), and NuReco::SetBestTrk().

Definition at line 789 of file NuEvent.h.

Definition at line 953 of file NuEvent.h.

Definition at line 1117 of file NuEvent.h.

On a diagonal edge, the strip number of the first track hit.

If there is no track, this is set to -999. If this is not the far detector, or the track vertex is not in one of the octants of the far detector defined by a diagonal edge, this is set to -10.

While this is almost certainly only interesting for anti-fiducial events, it is set even if the track vertex is far from the edge so that it doesn't matter if the fiducial cut is moved.

This gives the number of strips from the edge, not the raw strip number, so on any edge if the outermost strip is the first hit, this is set to 0.

In the 2010 CC analysis, a track is considered rock-like if this is 0 or 1.

Definition at line 481 of file NuEvent.h.

Referenced by NuReco::CalculateParallelStripInset(), RockEvent::Fill(), NuCutImps::RAF0720Std::PIDtype(), NuCutImps::RAF0720Ext::PIDtype(), Reset(), and NuReco::SetBestTrk().

Definition at line 788 of file NuEvent.h.

Definition at line 952 of file NuEvent.h.

Definition at line 1116 of file NuEvent.h.

parallelStripTrkVtx without post-MC corrections

To account for alignment differences between the MC and reality, or to apply an alignment systematic, parallelStripTrkVtx may be modified from what the raw MC would give.

As of the 2010 analysis, this is not done since it is unclear how to handle it. Instead an analysis strategy was used that doesn't depend strongly on the precise alignment. So this should always be equal to parallelStripTrkVtx at the moment. It seems unlikely that this will ever change and so probably this variable should be removed.

Definition at line 495 of file NuEvent.h.

Referenced by Reset(), and NuReco::SetBestTrk().

Float_t NuEvent::pdPx

Momentum (GeV/c) of the neutrino parent at the neutrino production vertex (parent decay point).

Definition at line 1572 of file NuEvent.h.

Referenced by NuReco::GetTruthInfo(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

Float_t NuEvent::pdPy

Momentum (GeV/c) of the neutrino parent at the neutrino production vertex (parent decay point).

Definition at line 1573 of file NuEvent.h.

Referenced by NuReco::GetTruthInfo(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

Float_t NuEvent::pdPz

Momentum (GeV/c) of the neutrino parent at the neutrino production vertex (parent decay point).

Definition at line 1574 of file NuEvent.h.

Referenced by NuReco::GetTruthInfo(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

Location of the track end in Phi = atan2(vtx.x / vtx.y).

I don't think this is directly used in any analysis and is trivially calcuable with TMath::ATan2(yTrkEnd, xTrkEnd). Remove?

Definition at line 463 of file NuEvent.h.

Referenced by NuReco::CalculateEdgeRegion(), Reset(), and NuReco::SetBestTrk().

Definition at line 785 of file NuEvent.h.

Definition at line 949 of file NuEvent.h.

Definition at line 1113 of file NuEvent.h.

Location of the track vertex in Phi = atan2(vtx.x / vtx.y).

I don't think this is directly used in any analysis and is trivially calcuable with TMath::ATan2(yTrkVtx, xTrkVtx). Remove?

Definition at line 457 of file NuEvent.h.

Referenced by NuReco::CalculateEdgeRegion(), Reset(), and NuReco::SetBestTrk().

Definition at line 784 of file NuEvent.h.

Definition at line 948 of file NuEvent.h.

Definition at line 1112 of file NuEvent.h.

all-shower version of planeShwMax

Definition at line 679 of file NuEvent.h.

Referenced by NuExtraction::ExtractShwInfo(), and Reset().

evt.plane.begu

Definition at line 278 of file NuEvent.h.

Referenced by NuReco::CalcEvtVariables(), NuExtraction::ExtractEvtInfo(), and Reset().

evt.plane.begv

Definition at line 279 of file NuEvent.h.

Referenced by NuReco::CalcEvtVariables(), NuExtraction::ExtractEvtInfo(), and Reset().

evt.plane.endu

Definition at line 287 of file NuEvent.h.

Referenced by NuExtraction::ExtractEvtInfo(), and Reset().

evt.plane.endv

Definition at line 288 of file NuEvent.h.

Referenced by NuExtraction::ExtractEvtInfo(), and Reset().

evthdr.plane.beg (different than evt.plane.beg!)

Definition at line 72 of file NuEvent.h.

Referenced by NuExtraction::ExtractGeneralInfo(), NuReco::FDRCBoundary(), and Reset().

evthdr.plane.end (different than evt.plane.end!)

Definition at line 73 of file NuEvent.h.

Referenced by NuExtraction::ExtractGeneralInfo(), NuReco::FDRCBoundary(), and Reset().

evt.plane.nu

Definition at line 223 of file NuEvent.h.

Referenced by NuExtraction::ExtractEvtInfo(), and Reset().

evt.plane.nv

Definition at line 224 of file NuEvent.h.

Referenced by NuExtraction::ExtractEvtInfo(), and Reset().

evt.vtx.plane

Definition at line 276 of file NuEvent.h.

Referenced by NuExtraction::ExtractEvtInfo(), NuPlots::FillXYZHistos(), NuCuts::IsInFidVolEvt(), and Reset().

shw.plane.beg

Definition at line 644 of file NuEvent.h.

Referenced by NuPlots::FillMiscHists(), Reset(), NuCutImps::NCPRLCC::Selection(), and NuReco::SetBestShw().

Definition at line 836 of file NuEvent.h.

Referenced by NuPlots::FillMiscHists().

Definition at line 1000 of file NuEvent.h.

Referenced by NuPlots::FillMiscHists().

Definition at line 1164 of file NuEvent.h.

Referenced by NuPlots::FillMiscHists().

Definition at line 1192 of file NuEvent.h.

Referenced by NuPlots::FillMiscHists().

Definition at line 1220 of file NuEvent.h.

shw.plane.end

Definition at line 645 of file NuEvent.h.

Referenced by NuPlots::FillMiscHists(), Reset(), NuCutImps::NCPRLCC::Selection(), and NuReco::SetBestShw().

Definition at line 837 of file NuEvent.h.

Definition at line 1001 of file NuEvent.h.

Definition at line 1165 of file NuEvent.h.

Definition at line 1193 of file NuEvent.h.

Definition at line 1221 of file NuEvent.h.

Shower plane with maximum pulseheight.

Definition at line 646 of file NuEvent.h.

Referenced by NuPlots::FillMiscHists(), Reset(), and NuReco::SetBestShw().

Definition at line 838 of file NuEvent.h.

Definition at line 1002 of file NuEvent.h.

Definition at line 1166 of file NuEvent.h.

Definition at line 1194 of file NuEvent.h.

Definition at line 1222 of file NuEvent.h.

Definition at line 762 of file NuEvent.h.

Referenced by NuPlots::FillMiscHists().

Definition at line 926 of file NuEvent.h.

Referenced by NuPlots::FillMiscHists().

Definition at line 1090 of file NuEvent.h.

Referenced by NuPlots::FillMiscHists().

Definition at line 763 of file NuEvent.h.

Definition at line 927 of file NuEvent.h.

Definition at line 1091 of file NuEvent.h.

Definition at line 764 of file NuEvent.h.

Definition at line 928 of file NuEvent.h.

Definition at line 1092 of file NuEvent.h.

Definition at line 800 of file NuEvent.h.

Definition at line 964 of file NuEvent.h.

Definition at line 1128 of file NuEvent.h.

Definition at line 801 of file NuEvent.h.

Definition at line 965 of file NuEvent.h.

Definition at line 1129 of file NuEvent.h.

Definition at line 802 of file NuEvent.h.

Definition at line 966 of file NuEvent.h.

Definition at line 1130 of file NuEvent.h.

trk.plane.nu: number of u planes hit

Definition at line 343 of file NuEvent.h.

Referenced by NuPlots::FillXYZHistos(), Reset(), and NuReco::SetBestTrk().

Definition at line 710 of file NuEvent.h.

Definition at line 873 of file NuEvent.h.

Definition at line 1037 of file NuEvent.h.

trk.plane.nv: number of v planes hit

Definition at line 344 of file NuEvent.h.

Referenced by NuPlots::FillXYZHistos(), Reset(), and NuReco::SetBestTrk().

Definition at line 711 of file NuEvent.h.

Definition at line 874 of file NuEvent.h.

Definition at line 1038 of file NuEvent.h.

Definition at line 761 of file NuEvent.h.

Definition at line 925 of file NuEvent.h.

Definition at line 1089 of file NuEvent.h.

Float_t NuEvent::poID

PO's PID variable.

Definition at line 1364 of file NuEvent.h.

Referenced by NuAnalysis::ChargeSeparationOneSnarl(), NuAnalysis::LIRejectionTest(), NuAnalysis::MakeFullDST(), and Reset().

PO's PID variable (kinematics only).

Definition at line 1365 of file NuEvent.h.

Referenced by NuHistos::FillMatrixMethodHistos(), NuCuts::FreeCuts(), NuCuts::IsGoodPoKIN(), and Reset().

Float_t NuEvent::pot
Float_t NuEvent::potDB

pot in current spill from database

Definition at line 1425 of file NuEvent.h.

Referenced by NuExtraction::ExtractBeamInfoDB(), NuAnalysis::MakeFullDST(), NuDSTAna::OverwriteSntpBeamDataInNtuple(), and Reset().

std::vector<Double_t> NuEvent::potListSinceLastEvtGood

Definition at line 1433 of file NuEvent.h.

Referenced by NuAnalysis::MakeFullDST(), and Reset().

as above but with database version of pots

Definition at line 1431 of file NuEvent.h.

Referenced by NuAnalysis::MakeFullDST(), NuDSTAna::OverwriteSntpBeamDataInNtuple(), Reset(), and NuDSTAna::UpdatePotSinceLastEvt().

as above but with database version of pots

Definition at line 1429 of file NuEvent.h.

Referenced by NuAnalysis::MakeFullDST(), NuDSTAna::OverwriteSntpBeamDataInNtuple(), Reset(), and NuDSTAna::UpdatePotSinceLastEvt().

as above but with database version of pots

Definition at line 1430 of file NuEvent.h.

Referenced by NuAnalysis::MakeFullDST(), NuDSTAna::OverwriteSntpBeamDataInNtuple(), Reset(), and NuDSTAna::UpdatePotSinceLastEvt().

Float_t NuEvent::ppdxdz

Direction of the neutrino parent at its production point (which may be in the target).

Definition at line 1575 of file NuEvent.h.

Referenced by NuReco::GetTruthInfo(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

Float_t NuEvent::ppdydz

Direction of the neutrino parent at its production point (which may be in the target).

Definition at line 1576 of file NuEvent.h.

Referenced by NuReco::GetTruthInfo(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

Energy (GeV) of the neutrino parent at its production point.

Definition at line 1578 of file NuEvent.h.

Referenced by NuReco::GetTruthInfo(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

Code for the material the neutrino parent was produced in (see doc-6316).

Definition at line 1579 of file NuEvent.h.

Referenced by NuReco::GetTruthInfo(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

Float_t NuEvent::pppz

z momentum (GeV/c) of the neutrino parent at its production point

Definition at line 1577 of file NuEvent.h.

Referenced by NuReco::GetTruthInfo(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

Float_t NuEvent::ppvx

Production vertex (cm) of the neutrino parent.

Definition at line 1580 of file NuEvent.h.

Referenced by NuReco::GetTruthInfo(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

Float_t NuEvent::ppvy

Production vertex (cm) of the neutrino parent.

Definition at line 1581 of file NuEvent.h.

Referenced by NuReco::GetTruthInfo(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

Float_t NuEvent::ppvz
Float_t NuEvent::prob
Float_t NuEvent::probSA

definition same as variable without SA postfix

Definition at line 358 of file NuEvent.h.

Referenced by Reset(), and NuReco::SetBestTrkSAFit().

Definition at line 725 of file NuEvent.h.

Definition at line 888 of file NuEvent.h.

Definition at line 1052 of file NuEvent.h.

Float_t NuEvent::q2

reco'd q2 = -q^{2} = 2 Enu Emu (1 - cos(theta_mu))

Definition at line 202 of file NuEvent.h.

Referenced by NuReco::CalcKinematicVariables(), NuPlots::FillKinematicsHistos(), NuPlots::FillRHCplusRHCminusHistosNQ(), and Reset().

Float_t NuEvent::q2MC
Float_t NuEvent::qp
Float_t NuEvent::qp1

Definition at line 701 of file NuEvent.h.

Float_t NuEvent::qp2

Definition at line 864 of file NuEvent.h.

Float_t NuEvent::qp3

Definition at line 1028 of file NuEvent.h.

track Q/P from fit (with range bias)

Definition at line 335 of file NuEvent.h.

Referenced by NuUtilities::FixDogwoodQP(), NuDSTAna::NDQPRB(), NuDSTAna::QPStudy(), Reset(), and NuReco::SetBestTrk().

Definition at line 702 of file NuEvent.h.

Definition at line 865 of file NuEvent.h.

Definition at line 1029 of file NuEvent.h.

Definition at line 704 of file NuEvent.h.

Definition at line 867 of file NuEvent.h.

Definition at line 1031 of file NuEvent.h.

trk.stpfitqp[i], npositive/nstrip

Definition at line 340 of file NuEvent.h.

Referenced by NuPlots::FillStpfitqpPlots(), Reset(), and NuReco::SetBestTrk().

Definition at line 707 of file NuEvent.h.

Definition at line 870 of file NuEvent.h.

Definition at line 1034 of file NuEvent.h.

Float_t NuEvent::qpSA

definition same as variable without SA postfix

Definition at line 354 of file NuEvent.h.

Referenced by Reset(), and NuReco::SetBestTrkSAFit().

Float_t NuEvent::qpSA1

Definition at line 721 of file NuEvent.h.

Float_t NuEvent::qpSA2

Definition at line 884 of file NuEvent.h.

Float_t NuEvent::qpSA3

Definition at line 1048 of file NuEvent.h.

The region of the detector the track vertex is in.

This is set to -2 if not at the far detector and set to -1 if there is no track. It is 0 for tracks with their vertex in the fiducial volume. For tracks with their vertex outside the fiducial volume, it is a number from 1-18 found by the sum of:

1 if the vertex is near the outside radial edge
2 if the vertex is near the coil hole

4 if the vertex is at the south end of supermodule 1
8 if the vertex is at the north end of supermodule 1
12 if the vertex is at the south end of supermodule 2
16 if the vertex is at the north end of supermodule 2

Definition at line 428 of file NuEvent.h.

Referenced by NuCutImps::RAF0720Std::CosmicNonTiming(), NuCutImps::RAF0720Ext::CosmicNonTiming(), RockEvent::Fill(), NuCutImps::RAF0720Std::PIDtype(), NuCutImps::RAF0720Ext::PIDtype(), NuCutImps::RAF0720Std::Preselection(), NuCutImps::RetroToFRAF::Preselection(), Reset(), NuSystematic::RockSelectionShift(), NuReco::SetBestTrk(), ShiftHoveStrip(), and ShiftHoveStripAnswer().

Definition at line 781 of file NuEvent.h.

Definition at line 945 of file NuEvent.h.

Definition at line 1109 of file NuEvent.h.

Definition at line 743 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoID().

Definition at line 906 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoID().

Definition at line 1070 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoID().

RO's track angle relative to muon dir.

Definition at line 247 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoID(), NuPIDInterface::GetRoIDEvt(), and Reset().

fHeader.fRemoteSpillType

Definition at line 44 of file NuEvent.h.

Referenced by NuExtraction::ExtractGeneralInfo(), NuCutImps::PreselectionNC2012::Preselection(), and Reset().

Distance of event end from (x,y) = (0,0).

Definition at line 1232 of file NuEvent.h.

Referenced by NuReco::CalcEvtVariables(), NuPlots::FillXYZHistos(), and Reset().

Distance of event vertex from (x,y) = (0,0).

Definition at line 1231 of file NuEvent.h.

Referenced by NuReco::CalcEvtVariables(), NuPlots::FillXYZHistos(), NuCuts::IsInFidVolEvt(), and Reset().

weight updating cross section model for rock

Daikon uses an old cross section model. Newer models predict somewhat smaller cross sections for light elements relative to heavier elements. This weight applies a correction that roughly converts our monte carlo to the newer model. The correction grows as the element moves farther from iron.

Since cross sections for detector events cancels near-to-far, this correction is only done for rock events and is set to 1 for detector events.

This contributes to the total weight rw.

Definition at line 1291 of file NuEvent.h.

Referenced by NuReco::ApplyReweights(), and Reset().

Float_t NuEvent::roID
Float_t NuEvent::roID1

Definition at line 737 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoID().

Float_t NuEvent::roID2

Definition at line 900 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoID().

Float_t NuEvent::roID3

Definition at line 1064 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoID().

RO's PID variable (got using the evt).

Definition at line 241 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoID(), NuPIDInterface::GetRoIDEvt(), and Reset().

Definition at line 742 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoID().

Definition at line 905 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoID().

Definition at line 1069 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoID().

RO's PID NuMuBar selection (0 or 1).

Definition at line 246 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoID(), NuPIDInterface::GetRoIDEvt(), and Reset().

RO's PID made with mahalanobis metric (for MINOS+ only).

Definition at line 1371 of file NuEvent.h.

Referenced by NuPIDInterface::GetRoIDPlus(), and Reset().

Definition at line 65 of file NuEvent.h.

Referenced by NuExtraction::ExtractMinMaxEvtTimes(), and Reset().

Int_t NuEvent::run

fHeader.fRunType

Definition at line 39 of file NuEvent.h.

Referenced by NuExtraction::ExtractGeneralInfo(), and Reset().

Float_t NuEvent::rw

The final weight applied to the event.

This is the SKZP beam weight (beamWeight) plus a few other small corrections. By itself, it does not give a proper prediction of the far detector spectrum.

Definition at line 1259 of file NuEvent.h.

Referenced by NuReco::ApplyReweights(), NuSystematic::CCBackgroundShift(), NuSystematic::CCWSBackground(), NuFCEvent2::Expand(), NuFCEvent::Extract(), NuZBeamReweight::ExtractZBeamReweight(), NuSystematic::FDCleaningCosmicsShift(), NuSystematic::FDCleaningShift(), RockEvent::Fill(), RockMatrix::Fill(), NuMatrix1D::Fill(), Rock1DMatrix::Fill(), FoverNHistos::FillCCSelectedPlots(), NuPlots::FillCoilHole(), NuPlots::FillContainmentHistos(), NuPlots::FillDetectorEdge(), NuPlots::FillDPIdSigmaQPFailDpIDCutPlots(), NuPlots::FillDPIdSigmaQPFailProbCutPlots(), NuPlots::FillDPIdSigmaQPFailSigQPCutPlots(), NuPlots::FillDPIdSigmaQPPassDpIDCutPlots(), NuPlots::FillDPIdSigmaQPPassPreSelCutPlots(), NuPlots::FillDPIdSigmaQPPassSigQPCutPlots(), NuPlots::FillDPIdSigmaQPPassUVVtxCutPlots(), NuPlots::FillDPIdSigmaQPPlotsN(), NuPlots::FillEffPur(), NuPlots::FillEnergyBinHistos(), NuPlots::FillEvtAndSpillTimingPlots(), NuFCEvent2::FillFrom(), NuPlots::FillHe(), NuPlots::FillKinematicsHistos(), NuPlots::FillLowProbPlots(), NuHistos::FillMatrixMethodHistos(), NuHistos::FillMatrixMethodNCHistos(), NuPlots::FillMiscHists(), NuPlots::FillN_1Plots(), FoverNHistos::FillNCSelectedPlots(), FitTree::FillNCVector(), TemplateAnalysisClass::FillPlots(), DataStabilityAnalysisClass::FillPlots(), DataMCPlots::FillPlots(), DataMCPlots::FillPlotsNCN_1(), NuPlots::FillRangeCurvCompHistos(), NuPlots::FillRecoEnYHistosN(), FoverNHistos::FillRecoToTrueHistoTriplet(), FoverNHistos::FillRecoVTrueHistoTriplet(), NuPlots::FillRelativeAngleHistos(), NuPlots::FillRHCplusRHCminusHistosNQ(), NuPlots::FillRHCplusRHCminusHistosPQ(), DataMCPlots::FillRoIDPlots(), NuPlots::FillSelPlots(), NuPlots::FillShwHistos(), NuPlots::FillSigmaQPPlots(), NuPlots::FillSpectra(), NuPlots::FillStpfitqpPlots(), NuPlots::FillTrackResponseHistos(), NuPlots::FillTrueAbIDHistos(), NuPlots::FillTrueAbIDHistosPQNQ(), NuPlots::FillTrueDpIDHistos(), NuPlots::FillTrueDpIDHistosPQNQ(), NuPlots::FillTrueJmIDHistosPQNQ(), NuPlots::FillTruePIDHistos(), NuPlots::FillTrueRoIDHistos(), NuPlots::FillTrueRoIDHistosPQNQ(), DataStabilityAnalysisClass::FillTTree(), NuPlots::FillUVHistos(), NuPlots::FillXYZHistos(), NuFCExperimentGenerator::GenerateFDSample(), NuSystematic::NCBackgroundShift(), NuSystematic::NCNuBarBackgroundShift(), NuSystematic::NDCleaningShift(), NuDSTAna::NDQPRB(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), NuDSTAna::Oscillate(), NuDSTAna::OscillateTrans(), NuDSTAna::QPStudy(), Reset(), NuTransSME::Reweight(), NuTransition::Reweight(), NuFCEventManager::ReweightSamplesPerBin(), TestExperimentGenerator::testAccessSummary(), TestExperimentGenerator::testBuildSummaries(), TestEventVector::testFCEvent2(), TestExperimentGenerator::testNDGenSingleEvent(), TestEventManager::testReweightSamplesPerBin(), and NuSystematic::WSNuBarBackgroundShift().

This is the weight as it leaves NuReco::ApplyReweights. Any later changes (i.e. systematics) only affect rw.

Definition at line 1261 of file NuEvent.h.

Referenced by NuReco::ApplyReweights(), NuZBeamReweight::ExtractZBeamReweight(), NuPlots::FillRecoEnYHistosN(), NuExtraction::NuEventFromNuMCEvent(), NuExtraction::NuMCEventFromNuEvent(), and Reset().

Definition at line 62 of file NuEvent.h.

Referenced by NuExtraction::ExtractMinMaxEvtTimes(), and Reset().

Definition at line 63 of file NuEvent.h.

Referenced by NuExtraction::ExtractMinMaxEvtTimes(), and Reset().

name of generator rw configuration

Definition at line 1641 of file NuEvent.h.

Referenced by NuZBeamReweight::CalcGeneratorReweight(), NuAnalysis::CopyConfig(), NuZBeamReweight::CreateNeugenRegistry(), and Reset().

Float_t NuEvent::shwEn

Reconstructed shower energy assuming this is a CC event.

Calculated in NuReco::GetShowerEnergyCC. Returns shwEnkNN unless hornIsReverse in which case it applies energy corrections to shwEnLinCCNoCor

Definition at line 175 of file NuEvent.h.

Referenced by NuReco::CalcShwVariables(), NuReco::GetEvtEnergy(), Reset(), and NuReco::SetBestShw().

Equivalent to shwEnLinCCCor.

Definition at line 603 of file NuEvent.h.

Referenced by NuReco::CalcShwVariables(), DataMCPlots::FillPlots(), Reset(), and NuReco::SetBestShw().