CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Types | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
EcalDeadChannelRecoveryNN< DetIdT > Class Template Reference

#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 CaloSubdetectorTopologytopology_
 

Detailed Description

template<typename DetIdT>
class EcalDeadChannelRecoveryNN< DetIdT >

Definition at line 19 of file EcalDeadChannelRecoveryNN.h.

Member Enumeration Documentation

template<typename DetIdT>
enum EcalDeadChannelRecoveryNN::CellID

Constructor & Destructor Documentation

template<typename T >
EcalDeadChannelRecoveryNN< T >::EcalDeadChannelRecoveryNN ( )

Definition at line 10 of file EcalDeadChannelRecoveryNN.cc.

template<typename T >
EcalDeadChannelRecoveryNN< T >::~EcalDeadChannelRecoveryNN ( )

Definition at line 19 of file EcalDeadChannelRecoveryNN.cc.

Member Function Documentation

template<typename T >
double EcalDeadChannelRecoveryNN< T >::estimateEnergy ( double *  M3x3Input,
double  epsilon = 0.0000001 
)

Definition at line 165 of file EcalDeadChannelRecoveryNN.cc.

template<typename DetIdT>
void EcalDeadChannelRecoveryNN< DetIdT >::load ( )
private
template<typename T >
void EcalDeadChannelRecoveryNN< T >::load_file ( MultiLayerPerceptronContext ctx,
std::string  fn 
)
private

Definition at line 42 of file EcalDeadChannelRecoveryNN.cc.

template<typename DetIdT>
double EcalDeadChannelRecoveryNN< DetIdT >::makeNxNMatrice_RelDC ( DetIdT  itID,
const EcalRecHitCollection hit_collection,
double *  MNxN_RelDC,
bool *  AccFlag 
)
template<typename DetIdT>
double EcalDeadChannelRecoveryNN< DetIdT >::makeNxNMatrice_RelMC ( DetIdT  itID,
const EcalRecHitCollection hit_collection,
double *  MNxN_RelMC,
bool *  AccFlag 
)

Definition at line 204 of file EcalDeadChannelRecoveryNN.cc.

template<typename T>
double EcalDeadChannelRecoveryNN< T >::recover ( const T  id,
const EcalRecHitCollection hit_collection,
double  Sum8Cut,
bool *  AcceptFlag 
)

Definition at line 95 of file EcalDeadChannelRecoveryNN.cc.

template<typename DetIdT>
double EcalDeadChannelRecoveryNN< DetIdT >::reorderMxNMatrix ( EBDetId  it,
const std::vector< DetId > &  window,
const EcalRecHitCollection hit_collection,
double *  MNxN,
bool *  AcceptFlag 
)
template<typename DetIdT>
void EcalDeadChannelRecoveryNN< DetIdT >::setCaloTopology ( const CaloTopology topo)

Member Data Documentation

template<typename DetIdT>
const int EcalDeadChannelRecoveryNN< DetIdT >::CellX[9]
Initial value:
= { 0, 0, 0 , -1, -1, -1 ,
1, 1, 1 }

Definition at line 51 of file EcalDeadChannelRecoveryNN.h.

template<typename DetIdT>
const int EcalDeadChannelRecoveryNN< DetIdT >::CellY[9]
Initial value:
= { 0, -1, 1 , 0, -1, 1 ,
0, -1, 1 }

Definition at line 54 of file EcalDeadChannelRecoveryNN.h.

template<typename DetIdT>
MultiLayerPerceptronContext EcalDeadChannelRecoveryNN< DetIdT >::ctx_[9]
private

Definition at line 69 of file EcalDeadChannelRecoveryNN.h.

template<typename DetIdT>
const CaloSubdetectorTopology* EcalDeadChannelRecoveryNN< DetIdT >::topology_
private

Definition at line 68 of file EcalDeadChannelRecoveryNN.h.