Build slid::LID objects to store electron ID, if asked for, otherwise, calculate LID info and make available. More...
Classes | |
class | DeconvolveAlg |
class | DedxDistribution |
class | EventLID |
class | LID |
class | LIDAlg |
class | LIDBuilder |
class | LIDTraining |
class | NuEEnergyAlg |
class | ParticleIDAlg |
class | Recluster |
class | ShowerLID |
class | ShowerPID |
class | SliceLID |
class | SliceLIDBuilder |
class | SPIDAlg |
class | SPIDBuilder |
Enumerations | |
enum | DedxParticleType { kELECTRON, kPHOTON, kMUON, kPI0, kPROTON, kNEUTRON, kPION, kELECTRONCCQE, kELECTRONCCRES, kELECTRONCCDIS, kELECTRONCCCOH, kDEDXPARTICLETYPESIZE } |
An enum used to give allowed particle types a visible name in the code. Note that for electron, these types are broken down further by the process in which they reside. More... | |
enum | ValueType { kValueANN, kValueANNWithE, kValueANNEPi0, kValueANNECos } |
Functions | |
bool | CompareByE (const slid::ShowerLID &a, const slid::ShowerLID &b) |
TFile * | LoadHistFromFile (TString filePath) |
bool | CompareByEnergy (const slid::ShowerLID *a, const slid::ShowerLID *b) |
bool | CompareByE (art::Ptr< slid::ShowerLID > a, art::Ptr< slid::ShowerLID > b) |
bool | CompareByE (const slid::ShowerPID &a, const slid::ShowerPID &b) |
Variables | |
static const int | kNumXYRegion = 4 |
Number of XY regions into which detector is divided for dE/dx histograms. More... | |
static const int | kNumEnergyBin = 11 |
Number of energy bins into which detector is divided for dE/dx histograms. More... | |
static const int | kNumLongitudinalPlane = 200 |
Number of longitudinal planes considered for dE/dx histograms. More... | |
static const int | kNumTransversePlane = 20 |
Number of "transverse" planes considered for dE/dx histograms ("planes" transverse to shower axis). More... | |
static const float | kEnergyBins [] = {0.00, 0.25, 0.75, 1.25, 1.75, 2.25, 2.75, 3.25, 3.75, 4.25, 4.75, 5.25} |
bin boundaries of energy More... | |
int | Ncount0 = 0 |
int | Ncount1 = 0 |
int | Ncount2 = 0 |
int | Nfill = 0 |
int | Nput = 0 |
const double | xmass [7] = {0.000511, 0, 0.105658, 0.1349766, 0.938272, 0.939565379, 0.139570} |
Build slid::LID objects to store electron ID, if asked for, otherwise, calculate LID info and make available.
Build and write out the ShowerPID objects and make shower PID.
Make LL based NueCC ID with Tensorflow implementation of LSTM.
Build and write out the ShowerLID objects and make nue PID.
Jianming's oscillation weighting: Need to find standard code, which I stripped out of this class
code, which I stripped out of this class
An enum used to give allowed particle types a visible name in the code. Note that for electron, these types are broken down further by the process in which they reside.
Enumerator | |
---|---|
kELECTRON | |
kPHOTON | |
kMUON | |
kPI0 | |
kPROTON | |
kNEUTRON | |
kPION | |
kELECTRONCCQE | |
kELECTRONCCRES | |
kELECTRONCCDIS | |
kELECTRONCCCOH | |
kDEDXPARTICLETYPESIZE |
Definition at line 37 of file DedxDistribution.h.
enum slid::ValueType |
Enumerator | |
---|---|
kValueANN | |
kValueANNWithE | |
kValueANNEPi0 | |
kValueANNECos |
bool slid::CompareByE | ( | art::Ptr< slid::ShowerLID > | a, |
art::Ptr< slid::ShowerLID > | b | ||
) |
Definition at line 227 of file SliceLIDBuilder_module.cc.
References DEFINE_ART_MODULE(), and slid::ShowerLID::ShowerEnergy().
bool slid::CompareByE | ( | const slid::ShowerLID & | a, |
const slid::ShowerLID & | b | ||
) |
Definition at line 522 of file LIDBuilder_module.cc.
References DEFINE_ART_MODULE(), and slid::ShowerLID::ShowerEnergy().
Referenced by slid::SliceLIDBuilder::produce(), slid::LIDBuilder::produce(), and slid::SPIDBuilder::produce().
bool slid::CompareByE | ( | const slid::ShowerPID & | a, |
const slid::ShowerPID & | b | ||
) |
Definition at line 374 of file SPIDBuilder_module.cc.
References DEFINE_ART_MODULE(), and slid::ShowerLID::ShowerEnergy().
bool slid::CompareByEnergy | ( | const slid::ShowerLID * | a, |
const slid::ShowerLID * | b | ||
) |
Definition at line 51 of file ShowerLID.cxx.
References slid::ShowerLID::ShowerEnergy().
Referenced by ncid::NCNNKerasVal::analyze(), ncs::NCAna::analyze(), ncpi0::MakeNCPi0BkgRej::produce(), ncid::MakeNCCosRej::produce(), cosrej::MakeNueCosRej::produce(), ncid::NCNNKeras::produce(), and slid::ShowerLID::ShowerLID().
TFile* slid::LoadHistFromFile | ( | TString | filePath | ) |
|
static |
bin boundaries of energy
Definition at line 31 of file DedxDistribution.h.
Referenced by slid::ParticleIDAlg::CalculateEnergyBinIndex().
|
static |
Number of energy bins into which detector is divided for dE/dx histograms.
Definition at line 25 of file DedxDistribution.h.
Referenced by slid::ParticleIDAlg::CalcPlaneLongDedxProb(), slid::ParticleIDAlg::CalcPlaneTransDedxProb(), slid::ParticleIDAlg::CalculateEnergyBinIndex(), slid::DedxDistribution::LoadDedxHistograms(), and slid::DedxDistribution::~DedxDistribution().
|
static |
Number of longitudinal planes considered for dE/dx histograms.
Definition at line 27 of file DedxDistribution.h.
Referenced by slid::ParticleIDAlg::CalcPlaneLongDedxProb(), slid::DedxDistribution::LoadDedxHistograms(), and slid::DedxDistribution::~DedxDistribution().
|
static |
Number of "transverse" planes considered for dE/dx histograms ("planes" transverse to shower axis).
Definition at line 29 of file DedxDistribution.h.
Referenced by slid::ParticleIDAlg::CalcPlaneTransDedxProb(), slid::ParticleIDAlg::CellPlaneDedx(), slid::ParticleIDAlg::DedxTransLL(), slid::DedxDistribution::LoadDedxHistograms(), slid::ParticleIDAlg::PlaneTransDedx(), and slid::DedxDistribution::~DedxDistribution().
|
static |
Number of XY regions into which detector is divided for dE/dx histograms.
Definition at line 23 of file DedxDistribution.h.
Referenced by slid::ParticleIDAlg::CalcPlaneLongDedxProb(), slid::ParticleIDAlg::CalcPlaneTransDedxProb(), slid::DedxDistribution::LoadDedxHistograms(), and slid::DedxDistribution::~DedxDistribution().
int slid::Ncount0 = 0 |
Definition at line 101 of file LIDBuilder_module.cc.
int slid::Ncount1 = 0 |
Definition at line 101 of file LIDBuilder_module.cc.
int slid::Ncount2 = 0 |
Definition at line 101 of file LIDBuilder_module.cc.
int slid::Nfill = 0 |
Definition at line 102 of file LIDBuilder_module.cc.
int slid::Nput = 0 |
Definition at line 102 of file LIDBuilder_module.cc.
const double slid::xmass[7] = {0.000511, 0, 0.105658, 0.1349766, 0.938272, 0.939565379, 0.139570} |
Definition at line 286 of file LIDTraining_module.cc.