Public Member Functions | Public Attributes | List of all members
caf::Proxy< caf::SRVeto > Class Template Reference

Proxy for caf::SRVeto. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-12-03/StandardRecord/Proxy/SRProxy.h"

Public Member Functions

 Proxy (TDirectory *d, TTree *tr, const std::string &name, const long &base, int offset)
 
 Proxy (const Proxy &)=delete
 
 Proxy (const Proxy &&)=delete
 
Proxyoperator= (const caf::SRVeto &x)
 
void CheckEquals (const caf::SRVeto &sr) const
 

Public Attributes

caf::Proxy< float > angle
 
caf::Proxy< float > anglevar
 
caf::Proxy< float > anglevarold
 
caf::Proxy< float > bakdist
 
caf::Proxy< float > diry
 
caf::Proxy< float > fwddist
 
caf::Proxy< bool > keep
 
caf::Proxy< bool > keepnue
 
caf::Proxy< intncell
 
caf::Proxy< bool > passangle
 
caf::Proxy< bool > passanglefirstana
 
caf::Proxy< bool > passnumicut
 
caf::Proxy< bool > passthru
 
caf::Proxy< bool > passthruold
 
caf::Proxy< float > ratio
 

Detailed Description

template<>
class caf::Proxy< caf::SRVeto >

Proxy for caf::SRVeto.

Definition at line 1189 of file SRProxy.h.

Constructor & Destructor Documentation

caf::Proxy< caf::SRVeto >::Proxy ( TDirectory *  d,
TTree *  tr,
const std::string name,
const long &  base,
int  offset 
)

Definition at line 2322 of file SRProxy.cxx.

2322  :
2323  angle(d, tr, Join(name, "angle"), base, offset),
2324  anglevar(d, tr, Join(name, "anglevar"), base, offset),
2325  anglevarold(d, tr, Join(name, "anglevarold"), base, offset),
2326  bakdist(d, tr, Join(name, "bakdist"), base, offset),
2327  diry(d, tr, Join(name, "diry"), base, offset),
2328  fwddist(d, tr, Join(name, "fwddist"), base, offset),
2329  keep(d, tr, Join(name, "keep"), base, offset),
2330  keepnue(d, tr, Join(name, "keepnue"), base, offset),
2331  ncell(d, tr, Join(name, "ncell"), base, offset),
2332  passangle(d, tr, Join(name, "passangle"), base, offset),
2333  passanglefirstana(d, tr, Join(name, "passanglefirstana"), base, offset),
2334  passnumicut(d, tr, Join(name, "passnumicut"), base, offset),
2335  passthru(d, tr, Join(name, "passthru"), base, offset),
2336  passthruold(d, tr, Join(name, "passthruold"), base, offset),
2337  ratio(d, tr, Join(name, "ratio"), base, offset)
2338 {
2339 }
caf::Proxy< float > angle
Definition: SRProxy.h:1199
caf::Proxy< int > ncell
Definition: SRProxy.h:1207
const XML_Char * name
Definition: expat.h:151
caf::Proxy< float > anglevar
Definition: SRProxy.h:1200
caf::Proxy< bool > passangle
Definition: SRProxy.h:1208
caf::Proxy< bool > keepnue
Definition: SRProxy.h:1206
caf::Proxy< bool > passthruold
Definition: SRProxy.h:1212
caf::Proxy< bool > passthru
Definition: SRProxy.h:1211
const XML_Char int const XML_Char int const XML_Char * base
Definition: expat.h:331
std::string Join(const std::string &a, const std::string &b)
Definition: HDF5Record.h:17
caf::Proxy< bool > passnumicut
Definition: SRProxy.h:1210
caf::Proxy< float > anglevarold
Definition: SRProxy.h:1201
Float_t d
Definition: plot.C:236
caf::Proxy< float > diry
Definition: SRProxy.h:1203
caf::Proxy< bool > passanglefirstana
Definition: SRProxy.h:1209
caf::Proxy< float > bakdist
Definition: SRProxy.h:1202
caf::Proxy< float > fwddist
Definition: SRProxy.h:1204
caf::Proxy< float > ratio
Definition: SRProxy.h:1213
caf::Proxy< bool > keep
Definition: SRProxy.h:1205
caf::Proxy< caf::SRVeto >::Proxy ( const Proxy< caf::SRVeto > &  )
delete
caf::Proxy< caf::SRVeto >::Proxy ( const Proxy< caf::SRVeto > &&  )
delete

Member Function Documentation

void caf::Proxy< caf::SRVeto >::CheckEquals ( const caf::SRVeto sr) const

Definition at line 2361 of file SRProxy.cxx.

References caf::SRVeto::angle, angle, caf::SRVeto::anglevar, caf::SRVeto::anglevarold, caf::SRVeto::bakdist, caf::SRVeto::diry, caf::SRVeto::fwddist, caf::SRVeto::keep, sanity_check_grl::keep, caf::SRVeto::keepnue, caf::SRVeto::ncell, caf::SRVeto::passangle, caf::SRVeto::passanglefirstana, caf::SRVeto::passnumicut, caf::SRVeto::passthru, caf::SRVeto::passthruold, caf::SRVeto::ratio, and ratio().

2362 {
2363  angle.CheckEquals(sr.angle);
2367  diry.CheckEquals(sr.diry);
2369  keep.CheckEquals(sr.keep);
2371  ncell.CheckEquals(sr.ncell);
2377  ratio.CheckEquals(sr.ratio);
2378 }
caf::Proxy< float > angle
Definition: SRProxy.h:1199
caf::Proxy< int > ncell
Definition: SRProxy.h:1207
caf::Proxy< float > anglevar
Definition: SRProxy.h:1200
bool passanglefirstana
Would this slice pass the old angle cut used for first analysis.
Definition: SRVeto.h:29
caf::Proxy< bool > passangle
Definition: SRProxy.h:1208
caf::Proxy< bool > keepnue
Definition: SRProxy.h:1206
caf::Proxy< bool > passthruold
Definition: SRProxy.h:1212
caf::Proxy< bool > passthru
Definition: SRProxy.h:1211
bool passthru
Would this slice pass the (fixed) through-going check?
Definition: SRVeto.h:26
bool passangle
Would this slice pass the most recent angle cut?
Definition: SRVeto.h:28
bool passthruold
Would this slice pass the (not fixed, no ratio check) through-going check?
Definition: SRVeto.h:27
float angle
Cosine of CosmicTrack with respect to the beam direction.
Definition: SRVeto.h:23
caf::Proxy< bool > passnumicut
Definition: SRProxy.h:1210
bool keep
Definition: SRVeto.h:34
caf::Proxy< float > anglevarold
Definition: SRProxy.h:1201
bool keepnue
Does the event past nue version of veto? (see doc-db 14654)
Definition: SRVeto.h:36
float bakdist
Projected live distance to the edge projected backwards from track start.
Definition: SRVeto.h:20
float fwddist
Projected live distance to the edge projected forwards from track end.
Definition: SRVeto.h:19
int ncell
Number of hits in the slice.
Definition: SRVeto.h:18
bool passnumicut
Does this event pass the NuMI timing cuts?
Definition: SRVeto.h:32
float diry
Cosine of CosmicTrack with respect to the y-direction.
Definition: SRVeto.h:22
float anglevar
Defined as: abs(angle)*(diry+1) - new angle variable for new angle cut.
Definition: SRVeto.h:24
caf::Proxy< float > diry
Definition: SRProxy.h:1203
caf::Proxy< bool > passanglefirstana
Definition: SRProxy.h:1209
caf::Proxy< float > bakdist
Definition: SRProxy.h:1202
caf::Proxy< float > fwddist
Definition: SRProxy.h:1204
caf::Proxy< float > ratio
Definition: SRProxy.h:1213
float ratio
Number of hits in the track relative to the slice.
Definition: SRVeto.h:21
caf::Proxy< bool > keep
Definition: SRProxy.h:1205
void CheckEquals(const T &x) const
float anglevarold
Difference of squares between beam angle and Y-direction (Also labeled CosmicVar AnglePID and AngleVa...
Definition: SRVeto.h:25
caf::Proxy< caf::SRVeto > & caf::Proxy< caf::SRVeto >::operator= ( const caf::SRVeto x)

Definition at line 2341 of file SRProxy.cxx.

References caf::SRVeto::angle, angle, caf::SRVeto::anglevar, caf::SRVeto::anglevarold, caf::SRVeto::bakdist, caf::SRVeto::diry, caf::SRVeto::fwddist, caf::SRVeto::keep, sanity_check_grl::keep, caf::SRVeto::keepnue, caf::SRVeto::ncell, caf::SRVeto::passangle, caf::SRVeto::passanglefirstana, caf::SRVeto::passnumicut, caf::SRVeto::passthru, caf::SRVeto::passthruold, caf::SRVeto::ratio, and ratio().

2342 {
2343  angle = sr.angle;
2344  anglevar = sr.anglevar;
2345  anglevarold = sr.anglevarold;
2346  bakdist = sr.bakdist;
2347  diry = sr.diry;
2348  fwddist = sr.fwddist;
2349  keep = sr.keep;
2350  keepnue = sr.keepnue;
2351  ncell = sr.ncell;
2352  passangle = sr.passangle;
2353  passanglefirstana = sr.passanglefirstana;
2354  passnumicut = sr.passnumicut;
2355  passthru = sr.passthru;
2356  passthruold = sr.passthruold;
2357  ratio = sr.ratio;
2358  return *this;
2359 }
caf::Proxy< float > angle
Definition: SRProxy.h:1199
caf::Proxy< int > ncell
Definition: SRProxy.h:1207
caf::Proxy< float > anglevar
Definition: SRProxy.h:1200
caf::Proxy< bool > passangle
Definition: SRProxy.h:1208
caf::Proxy< bool > keepnue
Definition: SRProxy.h:1206
caf::Proxy< bool > passthruold
Definition: SRProxy.h:1212
caf::Proxy< bool > passthru
Definition: SRProxy.h:1211
caf::Proxy< bool > passnumicut
Definition: SRProxy.h:1210
caf::Proxy< float > anglevarold
Definition: SRProxy.h:1201
caf::StandardRecord * sr
caf::Proxy< float > diry
Definition: SRProxy.h:1203
caf::Proxy< bool > passanglefirstana
Definition: SRProxy.h:1209
caf::Proxy< float > bakdist
Definition: SRProxy.h:1202
caf::Proxy< float > fwddist
Definition: SRProxy.h:1204
caf::Proxy< float > ratio
Definition: SRProxy.h:1213
caf::Proxy< bool > keep
Definition: SRProxy.h:1205

Member Data Documentation

caf::Proxy<float> caf::Proxy< caf::SRVeto >::angle

Definition at line 1199 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRVeto >::anglevar

Definition at line 1200 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRVeto >::anglevarold

Definition at line 1201 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRVeto >::bakdist

Definition at line 1202 of file SRProxy.h.

Definition at line 1203 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRVeto >::fwddist

Definition at line 1204 of file SRProxy.h.

Definition at line 1205 of file SRProxy.h.

Referenced by ana::kNue2017BasicPartFunc().

caf::Proxy<bool> caf::Proxy< caf::SRVeto >::keepnue

Definition at line 1206 of file SRProxy.h.

Definition at line 1207 of file SRProxy.h.

caf::Proxy<bool> caf::Proxy< caf::SRVeto >::passangle

Definition at line 1208 of file SRProxy.h.

caf::Proxy<bool> caf::Proxy< caf::SRVeto >::passanglefirstana

Definition at line 1209 of file SRProxy.h.

caf::Proxy<bool> caf::Proxy< caf::SRVeto >::passnumicut

Definition at line 1210 of file SRProxy.h.

caf::Proxy<bool> caf::Proxy< caf::SRVeto >::passthru

Definition at line 1211 of file SRProxy.h.

caf::Proxy<bool> caf::Proxy< caf::SRVeto >::passthruold

Definition at line 1212 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRVeto >::ratio

Definition at line 1213 of file SRProxy.h.


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