Namespaces | Variables
NueVars.cxx File Reference
#include "3FlavorAna/Vars/NueVars.h"
#include "StandardRecord/Proxy/SRProxy.h"

Go to the source code of this file.

Namespaces

 ana
 Cuts and Vars for the 2020 FD DiF Study.
 

Variables

const Var ana::kRawE = SIMPLEVAR(energy.nue.rawgevslice)
 Raw energy (without calE correction) for the slice,. More...
 
const Var ana::kRawEshw = SIMPLEVAR(energy.nue.rawgevshw)
 Raw energy (without calE correction) for the leading shower,. More...
 
const Var ana::kRawEhad = SIMPLEVAR(energy.nue.rawgevhad)
 Raw energy (without calE correction) for the slice - leading shower,. More...
 
const Var ana::kDistAllTop ([](const caf::SRProxy *sr){if(std::isnan(1.*sr->sel.nuecosrej.distallpngtop)) return-1000.0f;return float(sr->sel.nuecosrej.distallpngtop);})
 Distance of all showers in slice from the top edge of detector. More...
 
const Var ana::kDistAllBottom ([](const caf::SRProxy *sr){if(std::isnan(1.*sr->sel.nuecosrej.distallpngbottom)) return-1000.0f;return float(sr->sel.nuecosrej.distallpngbottom);})
 Distance of all showers in slice from the bottom edge of detector. More...
 
const Var ana::kDistAllWest ([](const caf::SRProxy *sr){if(std::isnan(1.*sr->sel.nuecosrej.distallpngwest)) return-1000.0f;return float(sr->sel.nuecosrej.distallpngwest);})
 Distance of all showers in slice from the west edge of detector. More...
 
const Var ana::kDistAllEast ([](const caf::SRProxy *sr){if(std::isnan(1.*sr->sel.nuecosrej.distallpngeast)) return-1000.0f;return float(sr->sel.nuecosrej.distallpngeast);})
 Distance of all showers in slice from the east edge of detector. More...
 
const Var ana::kDistAllBack ([](const caf::SRProxy *sr){if(std::isnan(1.*sr->sel.nuecosrej.distallpngback)) return-1000.0f;return float(sr->sel.nuecosrej.distallpngback);})
 Distance of all showers in slice from the back edge of detector. More...
 
const Var ana::kDistAllFront ([](const caf::SRProxy *sr){if(std::isnan(1.*sr->sel.nuecosrej.distallpngfront)) return-1000.0f;return float(sr->sel.nuecosrej.distallpngfront);})
 Distance of all showers in slice from the front edge of detector. More...
 
const Var ana::kDistNotTop ([](const caf::SRProxy *sr){float distnottop=std::min(kDistAllBottom(sr), kDistAllFront(sr));distnottop=std::min(float(kDistAllBack(sr)), distnottop);distnottop=std::min(float(kDistAllEast(sr)), distnottop);distnottop=std::min(float(kDistAllWest(sr)), distnottop);return distnottop;})
 Distance of all showers in slice from the edge that is not the top. More...
 
const Var ana::kMaxY ([](const caf::SRProxy *sr){if(!sr->vtx.elastic.IsValid) return-1000.0f;if(sr->vtx.elastic.fuzzyk.nshwlid==0) return-1000.0f;float maxyall=-999.0;for(unsigned int i=0;i< sr->vtx.elastic.fuzzyk.nshwlid;i++){maxyall=std::max(std::max(sr->vtx.elastic.fuzzyk.png[i].shwlid.start.Y(), sr->vtx.elastic.fuzzyk.png[i].shwlid.stop.Y()), maxyall);}return maxyall;})
 
const Var ana::kPtP = SIMPLEVAR(sel.nuecosrej.partptp)
 Transverse momentum fraction in slice. More...
 
const Var ana::kSparsenessAsymm = SIMPLEVAR(sel.nuecosrej.sparsenessasymm)
 
const Var ana::kMaxZ ([](const caf::SRProxy *sr){if(!sr->vtx.elastic.IsValid) return-1000.0f;if(sr->vtx.elastic.fuzzyk.nshwlid==0) return-1000.0f;float maxzall=-999.0;for(unsigned int i=0;i< sr->vtx.elastic.fuzzyk.nshwlid;i++){maxzall=std::max(std::max(sr->vtx.elastic.fuzzyk.png[i].shwlid.start.Z(), sr->vtx.elastic.fuzzyk.png[i].shwlid.stop.Z()), maxzall);}return maxzall;})
 
const Var ana::kCosPID = SIMPLEVAR(sel.nuecosrej.cospidlight)
 
const Var ana::kCosPIDContain = SIMPLEVAR(sel.nuecosrej.cospidcontain)
 
const Var ana::kCosPIDCoreBDT = SIMPLEVAR(sel.nuecosrej.cospidcorebdt)
 2020 nue cosmic rejection BDT variable - core More...
 
const Var ana::kCosPIDPeriBDT = SIMPLEVAR(sel.nuecosrej.cospidperibdt)
 2020 nue cosmic rejection BDT variable - peripheral More...