CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Attributes
EcalDeadChannelRecoveryBDTG< DetIdT > Class Template Reference

#include <EcalDeadChannelRecoveryBDTG.h>

Classes

struct  XtalMatrix
 

Public Member Functions

void addVariables (TMVA::Reader *reader)
 
 EcalDeadChannelRecoveryBDTG ()
 
void loadFile ()
 
double recover (const DetIdT id, const EcalRecHitCollection &hit_collection, double single8Cut, double sum8Cut, bool *acceptFlag)
 
void setCaloTopology (const CaloTopology *topo)
 
void setParameters (const edm::ParameterSet &ps)
 
 ~EcalDeadChannelRecoveryBDTG ()
 

Private Attributes

edm::FileInPath bdtWeightFileCracks_
 
edm::FileInPath bdtWeightFileNoCracks_
 
XtalMatrix mx_
 
std::unique_ptr< TMVA::Reader > readerCrack
 
std::unique_ptr< TMVA::Reader > readerNoCrack
 
const CaloTopologytopology_
 

Detailed Description

template<typename DetIdT>
class EcalDeadChannelRecoveryBDTG< DetIdT >

Definition at line 21 of file EcalDeadChannelRecoveryBDTG.h.

Constructor & Destructor Documentation

◆ EcalDeadChannelRecoveryBDTG()

Definition at line 44 of file EcalDeadChannelRecoveryBDTG.cc.

44 {}

◆ ~EcalDeadChannelRecoveryBDTG()

Definition at line 47 of file EcalDeadChannelRecoveryBDTG.cc.

47 {}

Member Function Documentation

◆ addVariables()

template<typename DetIdT>
void EcalDeadChannelRecoveryBDTG< DetIdT >::addVariables ( TMVA::Reader *  reader)

◆ loadFile()

template<typename DetIdT>
void EcalDeadChannelRecoveryBDTG< DetIdT >::loadFile ( )

◆ recover()

template<typename DetIdT>
double EcalDeadChannelRecoveryBDTG< DetIdT >::recover ( const DetIdT  id,
const EcalRecHitCollection hit_collection,
double  single8Cut,
double  sum8Cut,
bool *  acceptFlag 
)

◆ setCaloTopology()

template<typename DetIdT>
void EcalDeadChannelRecoveryBDTG< DetIdT >::setCaloTopology ( const CaloTopology topo)
inline

Definition at line 27 of file EcalDeadChannelRecoveryBDTG.h.

27 { topology_ = topo; }

◆ setParameters()

template<typename DetIdT>
void EcalDeadChannelRecoveryBDTG< DetIdT >::setParameters ( const edm::ParameterSet ps)

Member Data Documentation

◆ bdtWeightFileCracks_

template<typename DetIdT>
edm::FileInPath EcalDeadChannelRecoveryBDTG< DetIdT >::bdtWeightFileCracks_
private

Definition at line 45 of file EcalDeadChannelRecoveryBDTG.h.

◆ bdtWeightFileNoCracks_

template<typename DetIdT>
edm::FileInPath EcalDeadChannelRecoveryBDTG< DetIdT >::bdtWeightFileNoCracks_
private

Definition at line 44 of file EcalDeadChannelRecoveryBDTG.h.

◆ mx_

template<typename DetIdT>
XtalMatrix EcalDeadChannelRecoveryBDTG< DetIdT >::mx_
private

Definition at line 42 of file EcalDeadChannelRecoveryBDTG.h.

◆ readerCrack

template<typename DetIdT>
std::unique_ptr<TMVA::Reader> EcalDeadChannelRecoveryBDTG< DetIdT >::readerCrack
private

Definition at line 48 of file EcalDeadChannelRecoveryBDTG.h.

◆ readerNoCrack

template<typename DetIdT>
std::unique_ptr<TMVA::Reader> EcalDeadChannelRecoveryBDTG< DetIdT >::readerNoCrack
private

Definition at line 47 of file EcalDeadChannelRecoveryBDTG.h.

◆ topology_

template<typename DetIdT>
const CaloTopology* EcalDeadChannelRecoveryBDTG< DetIdT >::topology_
private
EcalDeadChannelRecoveryBDTG::topology_
const CaloTopology * topology_
Definition: EcalDeadChannelRecoveryBDTG.h:36