#include <H1WeightToolCSC12Generic.h>
|
Constant< CxxUtils::Array< 1 > > | m_wtEMB0 { this, "wtEMB0" } |
|
Constant< CxxUtils::Array< 1 > > | m_wtEME0 { this, "wtEME0" } |
|
Constant< CxxUtils::Array< 1 > > | m_wtEMB1 { this, "wtEMB1" } |
|
Constant< CxxUtils::Array< 1 > > | m_wtEMB2 { this, "wtEMB2" } |
|
Constant< CxxUtils::Array< 1 > > | m_wtEME1 { this, "wtEME1" } |
|
Constant< CxxUtils::Array< 1 > > | m_wtEME2 { this, "wtEME2" } |
|
Constant< CxxUtils::Array< 1 > > | m_wtTile1 { this, "wtTile1" } |
|
Constant< CxxUtils::Array< 1 > > | m_wtTile2 { this, "wtTile2" } |
|
Constant< CxxUtils::Array< 1 > > | m_wtHec1 { this, "wtHec1" } |
|
Constant< CxxUtils::Array< 1 > > | m_wtHec2 { this, "wtHec2" } |
|
Constant< CxxUtils::Array< 1 > > | m_wtFCal1 { this, "wtFCal1" } |
|
Constant< CxxUtils::Array< 1 > > | m_wtFCal2 { this, "wtFCal2" } |
|
Constant< float > | m_wtGap { this, "wtGap" } |
|
Constant< float > | m_wtScint { this, "wtScint" } |
|
Constant< float > | m_wtCryo { this, "wtCyo" } |
|
Constant< CxxUtils::Array< 2 > > | m_etaFit { this, "etaFit" } |
|
Definition at line 25 of file H1WeightToolCSC12Generic.h.
◆ etCell()
double H1WeightToolCSC12Generic::etCell |
( |
const CaloCell * |
thisCell, |
|
|
double |
weight |
|
) |
| |
|
overridevirtual |
◆ etCryo()
double H1WeightToolCSC12Generic::etCryo |
( |
double |
etAccb3, |
|
|
double |
etTile1 |
|
) |
| |
|
overridevirtual |
◆ initialize()
StatusCode H1WeightToolCSC12Generic::initialize |
( |
| ) |
|
|
overridevirtual |
◆ jetScale()
double H1WeightToolCSC12Generic::jetScale |
( |
double |
e, |
|
|
double |
eta |
|
) |
| |
|
overridevirtual |
Definition at line 181 of file H1WeightToolCSC12Generic.cxx.
183 Context myctx = context (Gaudi::Hive::currentContext());
190 int ieta =
static_cast<int>(fabs(
eta)*(1./0.10));
194 if(ptlog < 2.3) ptlog = 2.3;
195 if(ptlog > etaFit[ieta][4]) ptlog = etaFit[ieta][4];
196 double func = etaFit[ieta][0] + etaFit[ieta][1]/ptlog
197 + etaFit[ieta][2]/(ptlog*ptlog)
198 + etaFit[ieta][3]/(ptlog*ptlog*ptlog);
◆ wtCell()
double H1WeightToolCSC12Generic::wtCell |
( |
const CaloCell * |
thisCell | ) |
const |
|
overridevirtual |
Definition at line 41 of file H1WeightToolCSC12Generic.cxx.
43 Context myctx = context (Gaudi::Hive::currentContext());
46 const double log2 = 0.69314718056;
47 const double inv_log2 = 1. / log2;
53 double ecell = thisCell->
e();
54 double etaa = fabs( thisCell->
eta() );
59 if( fabs(ecell) > 0 && vol > 0 ) {
60 iET=
static_cast<int>(
log(fabs(ecell)/fabs(vol)*(
mm3/
GeV))*inv_log2+26);
62 if(iET >=
dim) iET =
dim-1;
94 if(iET >= 0 && etaa < 0.8) wt =
m_wtEMB1(myctx)[iET];
95 if(iET >= 0 && etaa >= 0.8) wt =
m_wtEMB2(myctx)[iET];
101 if(iET >= 0 && etaa < 2.5) wt =
m_wtEME1(myctx)[iET];
102 if(iET >= 0 && etaa >= 2.5) wt =
m_wtEME2(myctx)[iET];
123 if(iET>=0 && etaa<2.5) wt =
m_wtHec1(myctx)[iET];
124 if(iET>=0 && etaa>=2.5) wt =
m_wtHec2(myctx)[iET];
148 case CaloSampling::MINIFCAL0:
149 case CaloSampling::MINIFCAL1:
150 case CaloSampling::MINIFCAL2:
151 case CaloSampling::MINIFCAL3:
◆ wtCryo()
double H1WeightToolCSC12Generic::wtCryo |
( |
| ) |
|
|
overridevirtual |
◆ m_etaFit
Constant<CxxUtils::Array<2> > H1WeightToolCSC12Generic::m_etaFit { this, "etaFit" } |
|
private |
◆ m_wtCryo
Constant<float> H1WeightToolCSC12Generic::m_wtCryo { this, "wtCyo" } |
|
private |
◆ m_wtEMB0
Constant<CxxUtils::Array<1> > H1WeightToolCSC12Generic::m_wtEMB0 { this, "wtEMB0" } |
|
private |
◆ m_wtEMB1
Constant<CxxUtils::Array<1> > H1WeightToolCSC12Generic::m_wtEMB1 { this, "wtEMB1" } |
|
private |
◆ m_wtEMB2
Constant<CxxUtils::Array<1> > H1WeightToolCSC12Generic::m_wtEMB2 { this, "wtEMB2" } |
|
private |
◆ m_wtEME0
Constant<CxxUtils::Array<1> > H1WeightToolCSC12Generic::m_wtEME0 { this, "wtEME0" } |
|
private |
◆ m_wtEME1
Constant<CxxUtils::Array<1> > H1WeightToolCSC12Generic::m_wtEME1 { this, "wtEME1" } |
|
private |
◆ m_wtEME2
Constant<CxxUtils::Array<1> > H1WeightToolCSC12Generic::m_wtEME2 { this, "wtEME2" } |
|
private |
◆ m_wtFCal1
Constant<CxxUtils::Array<1> > H1WeightToolCSC12Generic::m_wtFCal1 { this, "wtFCal1" } |
|
private |
◆ m_wtFCal2
Constant<CxxUtils::Array<1> > H1WeightToolCSC12Generic::m_wtFCal2 { this, "wtFCal2" } |
|
private |
◆ m_wtGap
Constant<float> H1WeightToolCSC12Generic::m_wtGap { this, "wtGap" } |
|
private |
◆ m_wtHec1
Constant<CxxUtils::Array<1> > H1WeightToolCSC12Generic::m_wtHec1 { this, "wtHec1" } |
|
private |
◆ m_wtHec2
Constant<CxxUtils::Array<1> > H1WeightToolCSC12Generic::m_wtHec2 { this, "wtHec2" } |
|
private |
◆ m_wtScint
Constant<float> H1WeightToolCSC12Generic::m_wtScint { this, "wtScint" } |
|
private |
◆ m_wtTile1
Constant<CxxUtils::Array<1> > H1WeightToolCSC12Generic::m_wtTile1 { this, "wtTile1" } |
|
private |
◆ m_wtTile2
Constant<CxxUtils::Array<1> > H1WeightToolCSC12Generic::m_wtTile2 { this, "wtTile2" } |
|
private |
The documentation for this class was generated from the following files: