#include <EcalDeadChannelRecoveryNN.h>
Classes | |
struct | MultiLayerPerceptronContext |
Public Types | |
enum | CellID { CC = 0, UU = 1, DD = 2, LL = 3, LU = 4, LD = 5, RR = 6, RU = 7, RD = 8 } |
Public Member Functions | |
EcalDeadChannelRecoveryNN () | |
double | estimateEnergy (double *M3x3Input, double epsilon=0.0000001) |
double | makeNxNMatrice_RelDC (DetIdT itID, const EcalRecHitCollection &hit_collection, double *MNxN_RelDC, bool *AccFlag) |
double | makeNxNMatrice_RelMC (DetIdT itID, const EcalRecHitCollection &hit_collection, double *MNxN_RelMC, bool *AccFlag) |
double | recover (const DetIdT id, const EcalRecHitCollection &hit_collection, double Sum8Cut, bool *AcceptFlag) |
double | reorderMxNMatrix (EBDetId it, const std::vector< DetId > &window, const EcalRecHitCollection &hit_collection, double *MNxN, bool *AcceptFlag) |
void | setCaloTopology (const CaloTopology *topo) |
~EcalDeadChannelRecoveryNN () | |
Public Attributes | |
const int | CellX [9] |
const int | CellY [9] |
Private Member Functions | |
void | load () |
void | load_file (MultiLayerPerceptronContext &ctx, std::string fn) |
Private Attributes | |
MultiLayerPerceptronContext | ctx_ [9] |
const CaloSubdetectorTopology * | topology_ |
Definition at line 20 of file EcalDeadChannelRecoveryNN.h.
enum EcalDeadChannelRecoveryNN::CellID |
EcalDeadChannelRecoveryNN< T >::EcalDeadChannelRecoveryNN | ( | ) |
Definition at line 11 of file EcalDeadChannelRecoveryNN.cc.
References hcalTTPDigis_cfi::id, svgfig::load(), and NULL.
EcalDeadChannelRecoveryNN< T >::~EcalDeadChannelRecoveryNN | ( | ) |
Definition at line 20 of file EcalDeadChannelRecoveryNN.cc.
References hcalTTPDigis_cfi::id.
double EcalDeadChannelRecoveryNN< T >::estimateEnergy | ( | double * | M3x3Input, |
double | epsilon = 0.0000001 |
||
) |
Definition at line 177 of file EcalDeadChannelRecoveryNN.cc.
References Abs(), EcalDeadChannelRecoveryNN< DetIdT >::CC, EcalDeadChannelRecoveryNN< DetIdT >::ctx_, EcalDeadChannelRecoveryNN< DetIdT >::DD, mps_fire::i, input, EcalDeadChannelRecoveryNN< DetIdT >::LD, EcalDeadChannelRecoveryNN< DetIdT >::LL, EcalDeadChannelRecoveryNN< DetIdT >::LU, EcalDeadChannelRecoveryNN< DetIdT >::RD, EcalDeadChannelRecoveryNN< DetIdT >::RR, EcalDeadChannelRecoveryNN< DetIdT >::RU, and EcalDeadChannelRecoveryNN< DetIdT >::UU.
Referenced by EcalDeadChannelRecoveryNN< DetIdT >::recover().
|
private |
|
private |
Definition at line 43 of file EcalDeadChannelRecoveryNN.cc.
References edm::FileInPath::fullPath(), EcalDeadChannelRecoveryNN< DetIdT >::MultiLayerPerceptronContext::mlp, eostools::move(), callgraph::path, AlCaHLTBitMon_QueryRunRegistry::string, lumiQTWidget::t, EcalDeadChannelRecoveryNN< DetIdT >::MultiLayerPerceptronContext::tmp, and EcalDeadChannelRecoveryNN< DetIdT >::MultiLayerPerceptronContext::tree.
Referenced by EcalDeadChannelRecoveryNN< EBDetId >::load(), and EcalDeadChannelRecoveryNN< EEDetId >::load().
double EcalDeadChannelRecoveryNN< DetIdT >::makeNxNMatrice_RelDC | ( | DetIdT | itID, |
const EcalRecHitCollection & | hit_collection, | ||
double * | MNxN_RelDC, | ||
bool * | AccFlag | ||
) |
double EcalDeadChannelRecoveryNN< DetIdT >::makeNxNMatrice_RelMC | ( | DetIdT | itID, |
const EcalRecHitCollection & | hit_collection, | ||
double * | MNxN_RelMC, | ||
bool * | AccFlag | ||
) |
Definition at line 216 of file EcalDeadChannelRecoveryNN.cc.
References edm::SortedCollection< T, SORT >::end(), funct::false, edm::SortedCollection< T, SORT >::find(), CaloSubdetectorTopology::getWindow(), EcalDeadChannelRecoveryNN< DetIdT >::makeNxNMatrice_RelDC(), EcalDeadChannelRecoveryNN< DetIdT >::topology_, and funct::true.
Referenced by EcalDeadChannelRecoveryNN< DetIdT >::recover().
double EcalDeadChannelRecoveryNN< T >::recover | ( | const T | id, |
const EcalRecHitCollection & | hit_collection, | ||
double | Sum8Cut, | ||
bool * | AcceptFlag | ||
) |
Definition at line 107 of file EcalDeadChannelRecoveryNN.cc.
References EcalDeadChannelRecoveryNN< DetIdT >::CC, EcalDeadChannelRecoveryNN< DetIdT >::DD, EcalDeadChannelRecoveryNN< DetIdT >::estimateEnergy(), funct::false, mps_fire::i, EcalDeadChannelRecoveryNN< DetIdT >::LD, EcalDeadChannelRecoveryNN< DetIdT >::LL, EcalDeadChannelRecoveryNN< DetIdT >::LU, EcalDeadChannelRecoveryNN< DetIdT >::makeNxNMatrice_RelDC(), EcalDeadChannelRecoveryNN< DetIdT >::makeNxNMatrice_RelMC(), EcalDeadChannelRecoveryNN< DetIdT >::RD, EcalDeadChannelRecoveryNN< DetIdT >::RR, EcalDeadChannelRecoveryNN< DetIdT >::RU, and EcalDeadChannelRecoveryNN< DetIdT >::UU.
double EcalDeadChannelRecoveryNN< DetIdT >::reorderMxNMatrix | ( | EBDetId | it, |
const std::vector< DetId > & | window, | ||
const EcalRecHitCollection & | hit_collection, | ||
double * | MNxN, | ||
bool * | AcceptFlag | ||
) |
void EcalDeadChannelRecoveryNN< DetIdT >::setCaloTopology | ( | const CaloTopology * | topo | ) |
const int EcalDeadChannelRecoveryNN< DetIdT >::CellX[9] |
Definition at line 52 of file EcalDeadChannelRecoveryNN.h.
const int EcalDeadChannelRecoveryNN< DetIdT >::CellY[9] |
Definition at line 55 of file EcalDeadChannelRecoveryNN.h.
|
private |
Definition at line 70 of file EcalDeadChannelRecoveryNN.h.
Referenced by EcalDeadChannelRecoveryNN< DetIdT >::estimateEnergy(), EcalDeadChannelRecoveryNN< EBDetId >::load(), and EcalDeadChannelRecoveryNN< EEDetId >::load().
|
private |
Definition at line 69 of file EcalDeadChannelRecoveryNN.h.
Referenced by EcalDeadChannelRecoveryNN< EBDetId >::makeNxNMatrice_RelDC(), EcalDeadChannelRecoveryNN< EEDetId >::makeNxNMatrice_RelDC(), EcalDeadChannelRecoveryNN< DetIdT >::makeNxNMatrice_RelMC(), EcalDeadChannelRecoveryNN< EBDetId >::setCaloTopology(), and EcalDeadChannelRecoveryNN< EEDetId >::setCaloTopology().