CanaNt.h
Go to the documentation of this file.
1 ///
2 /// \file CanaNt.h
3 /// \brief Ntuple produced by the Cana module
4 /// \version $Id: CanaNt.h,v 1.11 2011-07-26 02:08:47 messier Exp $
5 /// \author messier@indiana.edu
6 ///
7 #ifndef COMMISSIONING_CANANT_H
8 #define COMMISSIONING_CANANT_H
9 #include "TTimeStamp.h"
10 
11 namespace comi {
12 
13  /// Ntuple produced by the cana module
14  class CanaNt {
15  public:
16  int run; ///< run number
17  int subrun; ///< subrun number
18  int evt; ///< event number
19  int iwin; ///< window number
20  int trgsrc; ///< trigger source
21  int nhit; ///< Number of hits on track in peak time window
22  int nhitx; ///< Number of x view hits on track in peak time window
23  int nhity; ///< Number of y view hits on track in peak time window
24  int plane1x; ///< 1st plane in x view
25  int plane2x; ///< last plane in x view
26  int plane1y; ///< 1st plane in y view
27  int plane2y; ///< last plane in y view
28  int cell1x; ///< 1st cell in x view
29  int cell2x; ///< last cell in x view
30  int cell1y; ///< 1st cell in y view
31  int cell2y; ///< last cell in y view
32  float t1; ///< start time window (usec)
33  float t2; ///< end time window (usec)
34  float tave; ///< time where peak occurs (ave over hits) (usec)
35  float trms; ///< rms width of hits inside of window (usec)
36  float tprev; ///< time to previous time window (usec)
37  float cosnumi; ///< Cosine of angle of track wrt to NuMI beam axis
38  float cosbnb; ///< Cosine of angle of track wrt to BNB beam axis
39  float cosdet; ///< Cosine of theta wrt to detector z-axis
40  float phidet; ///< Azimuthal angle in detector x-y plane
41  float coscosmic; ///< Cosine of zenith angle (point back wrt. vertical)
42  float phicosmic; ///< Azimuthal angle (point back wrt. vertical)
43  float pot; ///< Proton on target
44  float dt; ///< usec time difference to spill
45  int gbeam; ///<good beam
46  float x1; ///< Start position of track (cm)
47  float y1; ///< Start position of track (cm)
48  float z1; ///< Start position of track (cm)
49  float x2; ///< End position of track (cm)
50  float y2; ///< End position of track (cm)
51  float z2; ///< End position of track (cm)
52  float dedgef; ///< distance to detector edge going north along track (cm)
53  float dedgeb; ///< distance to detector edge going south along track (cm)
54  int nunused; ///< Number of hits in time window but not on the track
55  float nux; ///< MC neutrino interaction x location (cm)
56  float nuy; ///< MC neutrino interaction y location (cm)
57  float nuz; ///< MC neutrino interaction z location (cm)
58  float nupx; ///< MC neutrino x momentum (GeV)
59  float nupy; ///< MC neutrino y momentum (GeV)
60  float nupz; ///< MC neutrino z momentum (GeV)
61  float leppx; ///< MC out going lepton momentum (GeV)
62  float leppy; ///< MC out going lepton momentum (GeV)
63  float leppz; ///< MC out going lepton momentum (GeV)
64  int nupdg; ///< MC neutrino PDG code
65  int iscc; ///< 1 = CC interaction, 0 = NC interaction
66  int imode; ///< interaction mode
67  unsigned long long tstart; ///< Time start from raw trigger
68  TTimeStamp utc; ///< UTC calendar date of event
69  public:
70  CanaNt(){}
71  };
72 }
73 
74 #endif
75 ////////////////////////////////////////////////////////////////////////
float nupy
MC neutrino y momentum (GeV)
Definition: CanaNt.h:59
TTimeStamp utc
UTC calendar date of event.
Definition: CanaNt.h:68
int evt
event number
Definition: CanaNt.h:18
float tave
time where peak occurs (ave over hits) (usec)
Definition: CanaNt.h:34
float x2
End position of track (cm)
Definition: CanaNt.h:49
float z1
Start position of track (cm)
Definition: CanaNt.h:48
float y1
Start position of track (cm)
Definition: CanaNt.h:47
float pot
Proton on target.
Definition: CanaNt.h:43
float phicosmic
Azimuthal angle (point back wrt. vertical)
Definition: CanaNt.h:42
int cell1x
1st cell in x view
Definition: CanaNt.h:28
int subrun
subrun number
Definition: CanaNt.h:17
float nupz
MC neutrino z momentum (GeV)
Definition: CanaNt.h:60
int nhitx
Number of x view hits on track in peak time window.
Definition: CanaNt.h:22
float trms
rms width of hits inside of window (usec)
Definition: CanaNt.h:35
float nuz
MC neutrino interaction z location (cm)
Definition: CanaNt.h:57
int trgsrc
trigger source
Definition: CanaNt.h:20
int nupdg
MC neutrino PDG code.
Definition: CanaNt.h:64
unsigned long long tstart
Time start from raw trigger.
Definition: CanaNt.h:67
int iscc
1 = CC interaction, 0 = NC interaction
Definition: CanaNt.h:65
int iwin
window number
Definition: CanaNt.h:19
int imode
interaction mode
Definition: CanaNt.h:66
float t2
end time window (usec)
Definition: CanaNt.h:33
int gbeam
good beam
Definition: CanaNt.h:45
int cell2x
last cell in x view
Definition: CanaNt.h:29
float leppy
MC out going lepton momentum (GeV)
Definition: CanaNt.h:62
float z2
End position of track (cm)
Definition: CanaNt.h:51
Commissioning files to look at the quality of our data.
Definition: Cana_module.cc:39
float phidet
Azimuthal angle in detector x-y plane.
Definition: CanaNt.h:40
float dt
usec time difference to spill
Definition: CanaNt.h:44
Ntuple produced by the cana module.
Definition: CanaNt.h:14
int plane1y
1st plane in y view
Definition: CanaNt.h:26
float cosdet
Cosine of theta wrt to detector z-axis.
Definition: CanaNt.h:39
float nupx
MC neutrino x momentum (GeV)
Definition: CanaNt.h:58
float y2
End position of track (cm)
Definition: CanaNt.h:50
int nhit
Number of hits on track in peak time window.
Definition: CanaNt.h:21
float x1
Start position of track (cm)
Definition: CanaNt.h:46
float t1
start time window (usec)
Definition: CanaNt.h:32
int nunused
Number of hits in time window but not on the track.
Definition: CanaNt.h:54
float dedgef
distance to detector edge going north along track (cm)
Definition: CanaNt.h:52
float leppz
MC out going lepton momentum (GeV)
Definition: CanaNt.h:63
float cosnumi
Cosine of angle of track wrt to NuMI beam axis.
Definition: CanaNt.h:37
float tprev
time to previous time window (usec)
Definition: CanaNt.h:36
float dedgeb
distance to detector edge going south along track (cm)
Definition: CanaNt.h:53
float nuy
MC neutrino interaction y location (cm)
Definition: CanaNt.h:56
float nux
MC neutrino interaction x location (cm)
Definition: CanaNt.h:55
int run
run number
Definition: CanaNt.h:16
int cell2y
last cell in y view
Definition: CanaNt.h:31
float leppx
MC out going lepton momentum (GeV)
Definition: CanaNt.h:61
int cell1y
1st cell in y view
Definition: CanaNt.h:30
int plane2x
last plane in x view
Definition: CanaNt.h:25
int plane1x
1st plane in x view
Definition: CanaNt.h:24
int plane2y
last plane in y view
Definition: CanaNt.h:27
float cosbnb
Cosine of angle of track wrt to BNB beam axis.
Definition: CanaNt.h:38
float coscosmic
Cosine of zenith angle (point back wrt. vertical)
Definition: CanaNt.h:41
int nhity
Number of y view hits on track in peak time window.
Definition: CanaNt.h:23