#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-03-07/StandardRecord/SRProng.h"
Public Member Functions | |
SRProng () | |
~SRProng () | |
Public Attributes | |
unsigned short | nhit |
number of hits More... | |
unsigned short | nhitx |
number of hits in x-view More... | |
unsigned short | nhity |
number of hits in y-view More... | |
unsigned short | nplane |
number of planes spanned More... | |
unsigned short | maxplanecont |
maximum number of contiguous planes in prong More... | |
unsigned short | maxplanegap |
maximum number of gapped planes in prong More... | |
float | calE |
energy based on summed calibrated deposited charge [GeV] More... | |
float | weightedCalE |
calE, weighted to take into account hits shared between prongs [GeV] More... | |
SRVector3D | start |
Shower start point in detector coordinates. [cm]. More... | |
SRVector3D | dir |
Shower direction at start point [unit vector recommended]. More... | |
float | pngminx |
Minimum X that contain all the cell hits. [cm]. More... | |
float | pngmaxx |
Maximum X that contain all the cell hits. [cm]. More... | |
float | pngminy |
Minimum Y that contain all the cell hits. [cm]. More... | |
float | pngmaxy |
Maximum Y that contain all the cell hits. [cm]. More... | |
float | len |
track length [cm] More... | |
View_t | view |
Prong view caf::kX = 0, caf::kY = 1 or caf::kXorY = 2. More... | |
SRParticleTruth | truth |
Truth information for the prong. More... | |
SRParticleTruth | truthXView |
Truth information for the prong. More... | |
SRParticleTruth | truthYView |
Truth information for the prong. More... | |
SRCVNNeutronDaughterResult | cvnneutron |
Neutron Daughter CVN information. More... | |
SRCVNParticleResult | cvnpart |
CVN prongID information for 4 views. More... | |
SRCVNParticleResult | cvnpart_opphorn |
cvnpart trained with opposite horn current More... | |
SRCVNParticleResult | spprongcvnpart5label |
Single particle-trained prong CVN, Electron/Photon/Proton/Pion/Muon. More... | |
SRCVNParticleResult | spprongcvnpartnumuccemid |
Single particle-trained prong CVN for NumuCC (exclude muons in training sample), EMid. More... | |
std::vector< SRPixelMap > | cvnmaps |
Pixel maps used in CVN evaluation and training 80 cells x 100 planes in each view. More... | |
std::vector< SRProngTrainingData > | prongtrainingdata |
Prong label information. More... | |
float | meantime |
Average time of cell(s) hits weighted by their energy. More... | |
float | maxtime |
Max time of cell(s) hits. More... | |
float | mintime |
Min time of cell(s) hits. More... | |
float | meantimeRes |
Average time of cell(s) hits weighted by their time resolution. More... | |
An SRProng is a simple descriptor for a prong. This class does not contain individual cell hits, but does know it's start point and direction.
caf::SRProng::SRProng | ( | ) |
Definition at line 17 of file SRProng.cxx.
References cvnneutron, cvnpart, cvnpart_opphorn, caf::SRCVNNeutronDaughterResult::setDefault(), caf::SRCVNParticleResult::setDefault(), spprongcvnpart5label, and spprongcvnpartnumuccemid.
float caf::SRProng::calE |
energy based on summed calibrated deposited charge [GeV]
Definition at line 36 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), caf::Proxy< caf::SRProng >::operator=(), and caf::CAFMaker::sortProngCalE().
std::vector<SRPixelMap> caf::SRProng::cvnmaps |
Pixel maps used in CVN evaluation and training 80 cells x 100 planes in each view.
Definition at line 55 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), and caf::Proxy< caf::SRProng >::operator=().
SRCVNNeutronDaughterResult caf::SRProng::cvnneutron |
Neutron Daughter CVN information.
Definition at line 49 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), caf::Proxy< caf::SRProng >::operator=(), and SRProng().
SRCVNParticleResult caf::SRProng::cvnpart |
CVN prongID information for 4 views.
Definition at line 50 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), caf::FillNueEnergyVars(), caf::Proxy< caf::SRProng >::operator=(), and SRProng().
SRCVNParticleResult caf::SRProng::cvnpart_opphorn |
cvnpart trained with opposite horn current
Definition at line 51 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), caf::Proxy< caf::SRProng >::operator=(), and SRProng().
SRVector3D caf::SRProng::dir |
Shower direction at start point [unit vector recommended].
Definition at line 39 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), and caf::Proxy< caf::SRProng >::operator=().
float caf::SRProng::len |
track length [cm]
Definition at line 44 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), and caf::Proxy< caf::SRProng >::operator=().
unsigned short caf::SRProng::maxplanecont |
maximum number of contiguous planes in prong
Definition at line 34 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), and caf::Proxy< caf::SRProng >::operator=().
unsigned short caf::SRProng::maxplanegap |
maximum number of gapped planes in prong
Definition at line 35 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), and caf::Proxy< caf::SRProng >::operator=().
float caf::SRProng::maxtime |
Max time of cell(s) hits.
Definition at line 59 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), and caf::Proxy< caf::SRProng >::operator=().
float caf::SRProng::meantime |
Average time of cell(s) hits weighted by their energy.
Definition at line 58 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), and caf::Proxy< caf::SRProng >::operator=().
float caf::SRProng::meantimeRes |
Average time of cell(s) hits weighted by their time resolution.
Definition at line 61 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), and caf::Proxy< caf::SRProng >::operator=().
float caf::SRProng::mintime |
Min time of cell(s) hits.
Definition at line 60 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), and caf::Proxy< caf::SRProng >::operator=().
unsigned short caf::SRProng::nhit |
number of hits
Definition at line 28 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), caf::Proxy< caf::SRProng >::operator=(), and ~SRProng().
unsigned short caf::SRProng::nhitx |
number of hits in x-view
Definition at line 31 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), and caf::Proxy< caf::SRProng >::operator=().
unsigned short caf::SRProng::nhity |
number of hits in y-view
Definition at line 32 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), and caf::Proxy< caf::SRProng >::operator=().
unsigned short caf::SRProng::nplane |
number of planes spanned
Definition at line 33 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), and caf::Proxy< caf::SRProng >::operator=().
float caf::SRProng::pngmaxx |
Maximum X that contain all the cell hits. [cm].
Definition at line 41 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), and caf::Proxy< caf::SRProng >::operator=().
float caf::SRProng::pngmaxy |
Maximum Y that contain all the cell hits. [cm].
Definition at line 43 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), and caf::Proxy< caf::SRProng >::operator=().
float caf::SRProng::pngminx |
Minimum X that contain all the cell hits. [cm].
Definition at line 40 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), and caf::Proxy< caf::SRProng >::operator=().
float caf::SRProng::pngminy |
Minimum Y that contain all the cell hits. [cm].
Definition at line 42 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), and caf::Proxy< caf::SRProng >::operator=().
std::vector<SRProngTrainingData> caf::SRProng::prongtrainingdata |
Prong label information.
Definition at line 56 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), and caf::Proxy< caf::SRProng >::operator=().
SRCVNParticleResult caf::SRProng::spprongcvnpart5label |
Single particle-trained prong CVN, Electron/Photon/Proton/Pion/Muon.
Definition at line 52 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), caf::Proxy< caf::SRProng >::operator=(), and SRProng().
SRCVNParticleResult caf::SRProng::spprongcvnpartnumuccemid |
Single particle-trained prong CVN for NumuCC (exclude muons in training sample), EMid.
Definition at line 53 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), caf::Proxy< caf::SRProng >::operator=(), and SRProng().
SRVector3D caf::SRProng::start |
Shower start point in detector coordinates. [cm].
Definition at line 38 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), caf::Proxy< caf::SRProng >::operator=(), progbar.ProgressBar::Start(), and progbar.ProgressBar::Update().
SRParticleTruth caf::SRProng::truth |
Truth information for the prong.
Definition at line 46 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), caf::FillShowerVars(), and caf::Proxy< caf::SRProng >::operator=().
SRParticleTruth caf::SRProng::truthXView |
Truth information for the prong.
Definition at line 47 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), caf::FillShowerVars(), and caf::Proxy< caf::SRProng >::operator=().
SRParticleTruth caf::SRProng::truthYView |
Truth information for the prong.
Definition at line 48 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), caf::FillShowerVars(), and caf::Proxy< caf::SRProng >::operator=().
View_t caf::SRProng::view |
Prong view caf::kX = 0, caf::kY = 1 or caf::kXorY = 2.
Definition at line 45 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), and caf::Proxy< caf::SRProng >::operator=().
float caf::SRProng::weightedCalE |
calE, weighted to take into account hits shared between prongs [GeV]
Definition at line 37 of file SRProng.h.
Referenced by caf::Proxy< caf::SRProng >::CheckEquals(), hdf5::HDF5Prong< Tidx >::Fill(), hdf5::HDF5FuzzyKProng< Tidx >::Fill(), flat::Flat< caf::SRProng >::Fill(), and caf::Proxy< caf::SRProng >::operator=().