Public Member Functions | Protected Attributes | List of all members
flat::FlatContain Class Reference

Flat encoding of SRContain. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-11-28/FlatMaker/FlatContain.h"

Public Member Functions

 FlatContain (const std::string &prefix, TTree *tr, const IBranchPolicy *policy)
 
 ~FlatContain ()
 
void Fill (const caf::SRContain &sr)
 

Protected Attributes

bool numucontain
 
bool numucontainSA
 
float missE
 
int nplanestofront
 
int nplanestoback
 
float vtxdist
 
float enddist
 
float cosfwddist
 
int cosfwdcell
 
int cosfwdcellnd
 
float cosfwdair
 
float cosfwdsteel
 
float cosbakdist
 
int cosbakcell
 
int cosbakcellnd
 
float cosbakair
 
float cosbaksteel
 
float kalfwddist
 
int kalfwdcell
 
int kalfwdcellnd
 
float kalfwdair
 
float kalfwdsteel
 
float kalbakdist
 
int kalbakcell
 
int kalbakcellnd
 
float kalbakair
 
float kalbaksteel
 
float cosyposattrans
 
float kalyposattrans
 
float xmin2
 
float ymin2
 
float zmin2
 
float xmax2
 
float ymax2
 
float zmax2
 
float xmint
 
float ymint
 
float zmint
 
float xmaxt
 
float ymaxt
 
float zmaxt
 

Detailed Description

Flat encoding of SRContain.

Definition at line 20 of file FlatContain.h.

Constructor & Destructor Documentation

flat::FlatContain::FlatContain ( const std::string prefix,
TTree *  tr,
const IBranchPolicy policy 
)

Definition at line 1925 of file FlatRecord.cxx.

References compare_h5_caf::branch.

1926 {
1927  branch(tr, prefix+"numucontain", &numucontain, policy);
1928  branch(tr, prefix+"numucontainSA", &numucontainSA, policy);
1929  branch(tr, prefix+"missE", &missE, policy);
1930  branch(tr, prefix+"nplanestofront", &nplanestofront, policy);
1931  branch(tr, prefix+"nplanestoback", &nplanestoback, policy);
1932  branch(tr, prefix+"vtxdist", &vtxdist, policy);
1933  branch(tr, prefix+"enddist", &enddist, policy);
1934  branch(tr, prefix+"cosfwddist", &cosfwddist, policy);
1935  branch(tr, prefix+"cosfwdcell", &cosfwdcell, policy);
1936  branch(tr, prefix+"cosfwdcellnd", &cosfwdcellnd, policy);
1937  branch(tr, prefix+"cosfwdair", &cosfwdair, policy);
1938  branch(tr, prefix+"cosfwdsteel", &cosfwdsteel, policy);
1939  branch(tr, prefix+"cosbakdist", &cosbakdist, policy);
1940  branch(tr, prefix+"cosbakcell", &cosbakcell, policy);
1941  branch(tr, prefix+"cosbakcellnd", &cosbakcellnd, policy);
1942  branch(tr, prefix+"cosbakair", &cosbakair, policy);
1943  branch(tr, prefix+"cosbaksteel", &cosbaksteel, policy);
1944  branch(tr, prefix+"kalfwddist", &kalfwddist, policy);
1945  branch(tr, prefix+"kalfwdcell", &kalfwdcell, policy);
1946  branch(tr, prefix+"kalfwdcellnd", &kalfwdcellnd, policy);
1947  branch(tr, prefix+"kalfwdair", &kalfwdair, policy);
1948  branch(tr, prefix+"kalfwdsteel", &kalfwdsteel, policy);
1949  branch(tr, prefix+"kalbakdist", &kalbakdist, policy);
1950  branch(tr, prefix+"kalbakcell", &kalbakcell, policy);
1951  branch(tr, prefix+"kalbakcellnd", &kalbakcellnd, policy);
1952  branch(tr, prefix+"kalbakair", &kalbakair, policy);
1953  branch(tr, prefix+"kalbaksteel", &kalbaksteel, policy);
1954  branch(tr, prefix+"cosyposattrans", &cosyposattrans, policy);
1955  branch(tr, prefix+"kalyposattrans", &kalyposattrans, policy);
1956  branch(tr, prefix+"xmin2", &xmin2, policy);
1957  branch(tr, prefix+"ymin2", &ymin2, policy);
1958  branch(tr, prefix+"zmin2", &zmin2, policy);
1959  branch(tr, prefix+"xmax2", &xmax2, policy);
1960  branch(tr, prefix+"ymax2", &ymax2, policy);
1961  branch(tr, prefix+"zmax2", &zmax2, policy);
1962  branch(tr, prefix+"xmint", &xmint, policy);
1963  branch(tr, prefix+"ymint", &ymint, policy);
1964  branch(tr, prefix+"zmint", &zmint, policy);
1965  branch(tr, prefix+"xmaxt", &xmaxt, policy);
1966  branch(tr, prefix+"ymaxt", &ymaxt, policy);
1967  branch(tr, prefix+"zmaxt", &zmaxt, policy);
1968 }
const XML_Char * prefix
Definition: expat.h:380
flat::FlatContain::~FlatContain ( )

Definition at line 1970 of file FlatRecord.cxx.

1971 {
1972 }

Member Function Documentation

void flat::FlatContain::Fill ( const caf::SRContain sr)

Definition at line 1974 of file FlatRecord.cxx.

References caf::SRContain::cosbakair, caf::SRContain::cosbakcell, caf::SRContain::cosbakcellnd, caf::SRContain::cosbakdist, caf::SRContain::cosbaksteel, caf::SRContain::cosfwdair, caf::SRContain::cosfwdcell, caf::SRContain::cosfwdcellnd, caf::SRContain::cosfwddist, caf::SRContain::cosfwdsteel, caf::SRContain::cosyposattrans, caf::SRContain::enddist, caf::SRContain::kalbakair, caf::SRContain::kalbakcell, caf::SRContain::kalbakcellnd, caf::SRContain::kalbakdist, caf::SRContain::kalbaksteel, caf::SRContain::kalfwdair, caf::SRContain::kalfwdcell, caf::SRContain::kalfwdcellnd, caf::SRContain::kalfwddist, caf::SRContain::kalfwdsteel, caf::SRContain::kalyposattrans, caf::SRContain::missE, caf::SRContain::nplanestoback, caf::SRContain::nplanestofront, caf::SRContain::numucontain, caf::SRContain::numucontainSA, caf::SRContain::vtxdist, caf::SRContain::xmax2, caf::SRContain::xmaxt, caf::SRContain::xmin2, caf::SRContain::xmint, caf::SRContain::ymax2, caf::SRContain::ymaxt, caf::SRContain::ymin2, caf::SRContain::ymint, caf::SRContain::zmax2, caf::SRContain::zmaxt, caf::SRContain::zmin2, and caf::SRContain::zmint.

Referenced by flat::FlatIDBranch::Fill().

1975 {
1976  numucontain = sr.numucontain;
1978  missE = sr.missE;
1981  vtxdist = sr.vtxdist;
1982  enddist = sr.enddist;
1983  cosfwddist = sr.cosfwddist;
1984  cosfwdcell = sr.cosfwdcell;
1986  cosfwdair = sr.cosfwdair;
1987  cosfwdsteel = sr.cosfwdsteel;
1988  cosbakdist = sr.cosbakdist;
1989  cosbakcell = sr.cosbakcell;
1991  cosbakair = sr.cosbakair;
1992  cosbaksteel = sr.cosbaksteel;
1993  kalfwddist = sr.kalfwddist;
1994  kalfwdcell = sr.kalfwdcell;
1996  kalfwdair = sr.kalfwdair;
1997  kalfwdsteel = sr.kalfwdsteel;
1998  kalbakdist = sr.kalbakdist;
1999  kalbakcell = sr.kalbakcell;
2001  kalbakair = sr.kalbakair;
2002  kalbaksteel = sr.kalbaksteel;
2005  xmin2 = sr.xmin2;
2006  ymin2 = sr.ymin2;
2007  zmin2 = sr.zmin2;
2008  xmax2 = sr.xmax2;
2009  ymax2 = sr.ymax2;
2010  zmax2 = sr.zmax2;
2011  xmint = sr.xmint;
2012  ymint = sr.ymint;
2013  zmint = sr.zmint;
2014  xmaxt = sr.xmaxt;
2015  ymaxt = sr.ymaxt;
2016  zmaxt = sr.zmaxt;
2017 }
int cosfwdcell
cosmictrack projected # cells from end point forwards to det edge
Definition: SRContain.h:30
float missE
sum of energy of particles that leave detector. example cut: missE/trueE > 0.01 is truly uncontained ...
Definition: SRContain.h:21
float ymaxt
y position of hit closest to edge in +Y dimension that has > 100 photoelectons (TODO: use pecorr) ...
Definition: SRContain.h:63
float cosyposattrans
Y position of cosmic track at transition (ND only, use to check if went through air gap) ...
Definition: SRContain.h:49
float kalyposattrans
Y position of Kalman track and transition (ND only, use to check if went through air gap) ...
Definition: SRContain.h:50
float zmaxt
z position of hit closest to edge in +Z dimension that has > 100 photoelectons (TODO: use pecorr) ...
Definition: SRContain.h:64
float xmint
x position of hit closest to edge in -X dimension that has > 100 photoelectons (TODO: use pecorr) ...
Definition: SRContain.h:59
bool numucontainSA
is this contained by second analysis Numu Standards?
Definition: SRContain.h:19
float vtxdist
shortest distance to wall from primary Kalman track start position (proxy for vertex) ...
Definition: SRContain.h:26
int cosbakcell
cosmictrack projected # cells from start point backwards to det edge
Definition: SRContain.h:35
float kalfwdair
for Kalmantrack projected distance forwards how much is through air (ND only, NYI) ...
Definition: SRContain.h:42
int kalbakcellnd
Kalmantrack projected # cells from start point backwards to det edge, including muon catcher...
Definition: SRContain.h:46
float zmint
z position of hit closest to edge in -Z dimension that has > 100 photoelectons (TODO: use pecorr) ...
Definition: SRContain.h:61
float kalfwdsteel
for Kalmantrack projected distance forwards, how much is through steel (ND only, currently is just di...
Definition: SRContain.h:43
float xmin2
x position of hit second closest to edge in -X dimension (slc.boxmin.fX gives first closest) ...
Definition: SRContain.h:52
float xmax2
x position of hit second closest to edge in +X dimension (slc.boxmax.fX gives first closest) ...
Definition: SRContain.h:55
float kalfwddist
Kalmantrack projected distance (cm) from end point forwards to det edge.
Definition: SRContain.h:39
float zmax2
z position of hit second closest to edge in +Z dimension (slc.boxmax.fZ gives first closest) ...
Definition: SRContain.h:57
float cosbakdist
cosmictrack projected distance (cm) from start point backwards to det edge
Definition: SRContain.h:34
int kalfwdcellnd
Kalmantrack projected # cells from end point forwards to det edge, including muon catcher...
Definition: SRContain.h:41
bool numucontain
is this contained by Numu Standards? (can use as general containment)
Definition: SRContain.h:18
float cosfwddist
cosmictrack projected distance (cm) from end point forwards to det edge
Definition: SRContain.h:29
int cosfwdcellnd
cosmictrack projected # cells from end point forwards to det edge, including muon catcher...
Definition: SRContain.h:31
float cosfwdair
for cosmictrack projected distance forwards how much is through air (ND only, NYI) ...
Definition: SRContain.h:32
float cosfwdsteel
for cosmictrack projected distance forwards, how much is through steel (ND only, currently is just di...
Definition: SRContain.h:33
int nplanestoback
number of planes between the back of the detector (configuration dependent) and hit with the largest ...
Definition: SRContain.h:24
float kalbaksteel
for Kalmantrack projected distance backwards, how much is through steel (ND only, currently is just d...
Definition: SRContain.h:48
float ymint
y position of hit closest to edge in -Y dimension that has > 100 photoelectons (TODO: use pecorr) ...
Definition: SRContain.h:60
float xmaxt
x position of hit closest to edge in +X dimension that has > 100 photoelectons (TODO: use pecorr) ...
Definition: SRContain.h:62
float cosbaksteel
for cosmictrack projected distance backwards, how much is through steel (ND only, currently is just d...
Definition: SRContain.h:38
int kalfwdcell
Kalmantrack projected # cells from end point forwards to det edge.
Definition: SRContain.h:40
float enddist
shortest distance to wall from primary Kalman track end position
Definition: SRContain.h:27
float ymax2
y position of hit second closest to edge in +Y dimension (slc.boxmax.fY gives first closest) ...
Definition: SRContain.h:56
float ymin2
y position of hit second closest to edge in -Y dimension (slc.boxmin.fY gives first closest) ...
Definition: SRContain.h:53
int kalbakcell
Kalmantrack projected # cells from start point backwards to det edge.
Definition: SRContain.h:45
int nplanestofront
number of planes between the front of the detector (configuration dependent) and hit with the smalles...
Definition: SRContain.h:23
float kalbakdist
Kalmantrack projected distance (cm) from start point backwards to det edge.
Definition: SRContain.h:44
float cosbakair
for cosmictrack projected distance backwards how much is through air (ND only, NYI) ...
Definition: SRContain.h:37
float zmin2
Z position of hit second closest to edge in -Z dimension (slc.boxmin.fZ gives first closest) ...
Definition: SRContain.h:54
int cosbakcellnd
cosmictrack projected # cells from start point backwards to det edge, including muon catcher...
Definition: SRContain.h:36
float kalbakair
for Kalmantrack projected distance backwards how much is through air (ND only, NYI) ...
Definition: SRContain.h:47

Member Data Documentation

float flat::FlatContain::cosbakair
protected

Definition at line 44 of file FlatContain.h.

int flat::FlatContain::cosbakcell
protected

Definition at line 42 of file FlatContain.h.

int flat::FlatContain::cosbakcellnd
protected

Definition at line 43 of file FlatContain.h.

float flat::FlatContain::cosbakdist
protected

Definition at line 41 of file FlatContain.h.

float flat::FlatContain::cosbaksteel
protected

Definition at line 45 of file FlatContain.h.

float flat::FlatContain::cosfwdair
protected

Definition at line 39 of file FlatContain.h.

int flat::FlatContain::cosfwdcell
protected

Definition at line 37 of file FlatContain.h.

int flat::FlatContain::cosfwdcellnd
protected

Definition at line 38 of file FlatContain.h.

float flat::FlatContain::cosfwddist
protected

Definition at line 36 of file FlatContain.h.

float flat::FlatContain::cosfwdsteel
protected

Definition at line 40 of file FlatContain.h.

float flat::FlatContain::cosyposattrans
protected

Definition at line 56 of file FlatContain.h.

float flat::FlatContain::enddist
protected

Definition at line 35 of file FlatContain.h.

float flat::FlatContain::kalbakair
protected

Definition at line 54 of file FlatContain.h.

int flat::FlatContain::kalbakcell
protected

Definition at line 52 of file FlatContain.h.

int flat::FlatContain::kalbakcellnd
protected

Definition at line 53 of file FlatContain.h.

float flat::FlatContain::kalbakdist
protected

Definition at line 51 of file FlatContain.h.

float flat::FlatContain::kalbaksteel
protected

Definition at line 55 of file FlatContain.h.

float flat::FlatContain::kalfwdair
protected

Definition at line 49 of file FlatContain.h.

int flat::FlatContain::kalfwdcell
protected

Definition at line 47 of file FlatContain.h.

int flat::FlatContain::kalfwdcellnd
protected

Definition at line 48 of file FlatContain.h.

float flat::FlatContain::kalfwddist
protected

Definition at line 46 of file FlatContain.h.

float flat::FlatContain::kalfwdsteel
protected

Definition at line 50 of file FlatContain.h.

float flat::FlatContain::kalyposattrans
protected

Definition at line 57 of file FlatContain.h.

float flat::FlatContain::missE
protected

Definition at line 31 of file FlatContain.h.

int flat::FlatContain::nplanestoback
protected

Definition at line 33 of file FlatContain.h.

int flat::FlatContain::nplanestofront
protected

Definition at line 32 of file FlatContain.h.

bool flat::FlatContain::numucontain
protected

Definition at line 29 of file FlatContain.h.

bool flat::FlatContain::numucontainSA
protected

Definition at line 30 of file FlatContain.h.

float flat::FlatContain::vtxdist
protected

Definition at line 34 of file FlatContain.h.

float flat::FlatContain::xmax2
protected

Definition at line 61 of file FlatContain.h.

float flat::FlatContain::xmaxt
protected

Definition at line 67 of file FlatContain.h.

float flat::FlatContain::xmin2
protected

Definition at line 58 of file FlatContain.h.

float flat::FlatContain::xmint
protected

Definition at line 64 of file FlatContain.h.

float flat::FlatContain::ymax2
protected

Definition at line 62 of file FlatContain.h.

float flat::FlatContain::ymaxt
protected

Definition at line 68 of file FlatContain.h.

float flat::FlatContain::ymin2
protected

Definition at line 59 of file FlatContain.h.

float flat::FlatContain::ymint
protected

Definition at line 65 of file FlatContain.h.

float flat::FlatContain::zmax2
protected

Definition at line 63 of file FlatContain.h.

float flat::FlatContain::zmaxt
protected

Definition at line 69 of file FlatContain.h.

float flat::FlatContain::zmin2
protected

Definition at line 60 of file FlatContain.h.

float flat::FlatContain::zmint
protected

Definition at line 66 of file FlatContain.h.


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