ATLAS Offline Software
Loading...
Searching...
No Matches
CaloSwLongWeights Class Reference

#include <CaloSwLongWeights.h>

Inheritance diagram for CaloSwLongWeights:
Collaboration diagram for CaloSwLongWeights:

Public Types

enum  {
  EMB1 = 0 , EMB2 = 1 , EME1 = 2 , EME2 = 3 ,
  COMBINED2 = 4 , CLUSTER = 5 , NREGIONS = 6
}
 Region codes for m_region below. More...

Public Member Functions

virtual void makeTheCorrection (const Context &myctx, xAOD::CaloCluster *cluster, const CaloDetDescrElement *elt, float eta, float adj_eta, float phi, float adj_phi, CaloSampling::CaloSample samp) const override
 Virtual function for the correction-specific code.
 CaloClusterCorrectionCommon (const std::string &type, const std::string &name, const IInterface *parent)
 Inherit constructor.
virtual void makeCorrection (const Context &myctx, xAOD::CaloCluster *cluster) const override
 Perform the correction.
virtual StatusCode initialize () override
virtual void setsample (xAOD::CaloCluster *cluster, CaloSampling::CaloSample sampling, float em, float etam, float phim, float emax, float etamax, float phimax, float etas, float phis) const
virtual void setenergy (xAOD::CaloCluster *cluster, float energy) const
StatusCode execute (const EventContext &ctx, xAOD::CaloCluster *cluster) const override
virtual StatusCode execute (const EventContext &ctx, xAOD::CaloClusterContainer *collection) const
 Execute on an entire collection of clusters.

Static Public Member Functions

static float energy_interpolation (float energy, const TableBuilder &builder, const CaloRec::Array< 1 > &energies, int energy_degree)
 Many of the corrections use the same method for doing the final interpolation in energy.

Public Attributes

 cls = CompFactory.CaloSwLongWeights
list CaloSwLongWeights_versions

Protected Attributes

SG::ReadCondHandleKey< CaloDetDescrManagerm_caloMgrKey {this,"CaloDetDescrManager", "CaloDetDescrManager"}

Private Member Functions

const CaloClusterCorr::DDHelperddhelper (const CaloDetDescrManager *dd_man) const
 Retrieve the detector description helper, creating it if needed.

Private Attributes

Constant< CxxUtils::Array< 2 > > m_correction { this, "correction", "" }
Constant< float > m_eta_start_crack { this, "eta_start_crack", "" }
Constant< float > m_eta_end_crack { this, "eta_end_crack", "" }
Constant< float > m_etamax { this, "etamax", "" }
Constant< int > m_degree { this, "degree", "" }
Constant< bool > m_use_raw_eta { this, "use_raw_eta", "" }
Constant< bool > m_preserve_offset { this, "preserve_offset", "" }
Constant< int > m_region { this, "region", "Calorimeter region" }
 Calibration constant: The calorimeter region for which this correction is intended.
CxxUtils::CachedUniquePtr< const CaloClusterCorr::DDHelperm_ddhelper
 Helper for detector description lookup.

Detailed Description

Definition at line 24 of file CaloSwLongWeights.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
inherited

Region codes for m_region below.

This is used to decide how to report the position of the cluster. Note: This numbering is also used in the job options files.

Enumerator
EMB1 
EMB2 
EME1 
EME2 
COMBINED2 
CLUSTER 
NREGIONS 

Definition at line 100 of file CaloClusterCorrectionCommon.h.

100 {
101 // Barrel, sampling 1.
102 EMB1 = 0,
103
104 // Barrel, sampling 2.
105 EMB2 = 1,
106
107 // Endcap, sampling 1.
108 EME1 = 2,
109
110 // Endcap, sampling 2.
111 EME2 = 3,
112
113 // Average of barrel and endcap in sampling 2.
114 COMBINED2 = 4,
115
116 // Overall cluster position.
117 CLUSTER = 5,
118
119 // Number of different region codes.
120 NREGIONS = 6
121 };

Member Function Documentation

◆ CaloClusterCorrectionCommon()

CaloClusterCorrectionCommon::CaloClusterCorrectionCommon ( const std::string & type,
const std::string & name,
const IInterface * parent )

Inherit constructor.

Definition at line 46 of file CaloClusterCorrectionCommon.cxx.

◆ ddhelper()

const CaloClusterCorr::DDHelper & CaloClusterCorrectionCommon::ddhelper ( const CaloDetDescrManager * dd_man) const
privateinherited

Retrieve the detector description helper, creating it if needed.

Definition at line 639 of file CaloClusterCorrectionCommon.cxx.

640{
641 const CaloClusterCorr::DDHelper* ddhelper = m_ddhelper.get();
642 if (!ddhelper) {
643 auto newhelper = std::make_unique<const CaloClusterCorr::DDHelper> (dd_man);
644 ddhelper = m_ddhelper.set (std::move (newhelper));
645 }
646 return *ddhelper;
647}
CxxUtils::CachedUniquePtr< const CaloClusterCorr::DDHelper > m_ddhelper
Helper for detector description lookup.
const CaloClusterCorr::DDHelper & ddhelper(const CaloDetDescrManager *dd_man) const
Retrieve the detector description helper, creating it if needed.

◆ energy_interpolation()

float CaloClusterCorrectionCommon::energy_interpolation ( float energy,
const TableBuilder & builder,
const CaloRec::Array< 1 > & energies,
int energy_degree )
staticinherited

Many of the corrections use the same method for doing the final interpolation in energy.

Perform energy interpolation.

We factor out this common code here. builder is used to construct the interpolation table; energy is the energy value for the interpolation. energies is the list of energies at which we have tabulated values, and energy_degree is the degree of the polynomial interpolation in energy.

Parameters
energyThe energy value for the interpolation.
builderHelper to construct the interpolation table.
energiesThe energy interpolation table.
energy_degreeThe polynomial interpolation degree for the energy interpolation.

Many of the corrections use the same method for doing the final interpolation in energy. We factor out this common code here.

Definition at line 574 of file CaloClusterCorrectionCommon.cxx.

580{
581 // Calculate the correction for each energy.
582 unsigned int n_energies = energies.size();
583 unsigned int shape[] = {n_energies, 2};
584 CaloRec::WritableArrayData<2> corrtab (shape);
585
586 // If we're outside the range of the table, we'll just be using the
587 // value at the end (no extrapolation). We only need to calculate
588 // that one point in that case.
589 unsigned int beg = 0;
590 unsigned int end = n_energies;
591 if (energy <= energies[0])
592 end = 1;
593 else if (energy >= energies[n_energies-1])
594 beg = n_energies-1;
595
596 // Build the table.
597 int n_good = 0;
598 for (unsigned int i=beg; i<end; i++)
599 docalc (i, builder, energies, corrtab, n_good);
600
601 // If we only evaluated one point, but it wasn't good, keep
602 // searching until we find a good one.
603 while (n_good == 0 && beg > 0) {
604 --beg;
605 docalc (beg, builder, energies, corrtab, n_good);
606 }
607 while (n_good == 0 && end < n_energies) {
608 docalc (end, builder, energies, corrtab, n_good);
609 ++end;
610 }
611
612 // Now interpolate in energy.
613 // But if we're outside of the range of the table, just use the value
614 // at the end (don't extrapolate).
615 if (n_good == 0) {
616 // No good energies --- return a null correction.
617 return 0;
618 }
619 else if (n_good == 1) {
620 // Only one good energy --- nothing to do but to use it.
621 return corrtab[0][1];
622 }
623 else if (energy <= corrtab[0][0]) {
624 // Off the low end of the table --- return the first value.
625 return corrtab[0][1];
626 }
627 else if (energy >= corrtab[n_good-1][0]) {
628 // Off the high end of the table --- return the last value.
629 return corrtab[n_good-1][1];
630 }
631
632 // Do the interpolation.
633 return interpolate (corrtab, energy, energy_degree,
634 1, CaloRec::Array<1>(), n_good);
635}
unsigned int size(unsigned int dim=0) const
Return the size of the array along one dimension.
float interpolate(const CaloRec::Array< 2 > &a, float x, unsigned int degree, unsigned int ycol=1, const CaloRec::Array< 1 > &regions=CaloRec::Array< 1 >(), int n_points=-1, bool fixZero=false)
Polynomial interpolation in a table.

◆ execute() [1/2]

StatusCode CaloClusterCorrection::execute ( const EventContext & ctx,
xAOD::CaloCluster * cluster ) const
overrideinherited

Definition at line 52 of file CaloClusterCorrection.cxx.

54{
55 this->makeCorrection (context(ctx), cluster);
56
57#if 0
58 ATH_MSG_DEBUG( " ...... e, et " << cluster->e() << " " << cluster->et() << endmsg);
59 ATH_MSG_DEBUG( " ...... eta, etaBE, etaSmp " << cluster->eta() << " " << cluster->etaBE(2)
60 << " " << cluster->etaSample(CaloSampling::EMB1)
61 << " " << cluster->etaSample(CaloSampling::EMB2)
62 << " " << cluster->etaSample(CaloSampling::EMB3) << endmsg);
63 ATH_MSG_DEBUG( " ...... phi, phiBE, phiSmp " << cluster->phi() << " " << cluster->phiBE(2)
64 << " " << cluster->phiSample(CaloSampling::EMB1)
65 << " " << cluster->phiSample(CaloSampling::EMB2)
66 << " " << cluster->phiSample(CaloSampling::EMB3) << endmsg);
67#endif
68
69 return StatusCode::SUCCESS;
70}
#define endmsg
#define ATH_MSG_DEBUG(x)
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *) const =0
float phiBE(const unsigned layer) const
Get the phi in one layer of the EM Calo.
float phiSample(const CaloSample sampling) const
Retrieve barycenter in a given sample.
virtual double eta() const
The pseudorapidity ( ) of the particle.
virtual double e() const
The total energy of the particle.
virtual double phi() const
The azimuthal angle ( ) of the particle.
float etaSample(const CaloSample sampling) const
Retrieve barycenter in a given sample.
float etaBE(const unsigned layer) const
Get the eta in one layer of the EM Calo.

◆ execute() [2/2]

StatusCode CaloClusterProcessor::execute ( const EventContext & ctx,
xAOD::CaloClusterContainer * collection ) const
inherited

Execute on an entire collection of clusters.

Parameters
collectionThe container of clusters.

This will iterate over all the clusters in collection and call execute on each one individually.

Parameters
collectionThe container of clusters.
ctxThe event context.

This will iterate over all the clusters in collection and call execute on each one individually.

Definition at line 65 of file CaloClusterProcessor.cxx.

46{
47 for (xAOD::CaloCluster* clu : *collection) {
48 ATH_CHECK( execute (ctx, clu) );
49 }
50 return StatusCode::SUCCESS;
51}
#define ATH_CHECK
Evaluate an expression and check for errors.
StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *cluster) const override
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.

◆ initialize()

StatusCode CaloClusterCorrection::initialize ( )
overridevirtualinherited

Reimplemented in CaloClusterBadChannelList, CaloDummyCorrection, CaloFillRectangularCluster, CaloSwDeadOTX_back, CaloSwDeadOTX_ps, CaloSwGap_g3, CaloSwGap_v2, CaloSwGap_v3, CaloTopoEMGap, and CaloTopoEMlayers.

Definition at line 46 of file CaloClusterCorrection.cxx.

46 {
47 ATH_CHECK(m_caloMgrKey.initialize());
48 ATH_CHECK(base_class::initialize());
49 return StatusCode::SUCCESS;
50}
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey

◆ makeCorrection()

void CaloClusterCorrectionCommon::makeCorrection ( const Context & myctx,
xAOD::CaloCluster * cluster ) const
overridevirtualinherited

Perform the correction.

Called by the tool

Parameters
myctxToolWithConstants context.
clusterThe cluster to correct. It is updated in place.

Called by the tool.

Parameters
myctxToolWithConstants context.
clusterThe cluster to correct. It is updated in place.

Does the following:

  • Checks whether the cluster is present in the given calorimeter and sampling. If not, do nothing.
  • Computes quantities to pass to makeTheCorrection.
  • Calls makeTheCorrection.

Implements CaloClusterCorrection.

Definition at line 435 of file CaloClusterCorrectionCommon.cxx.

437{
438 int region = m_region (myctx);
439
440 SG::ReadCondHandle<CaloDetDescrManager> caloMgrHandle{m_caloMgrKey, myctx.ctx()};
441 const CaloDetDescrManager* dd_man = *caloMgrHandle;
442
443 // This causes a lot of overhead (mostly from the MsgStream ctor).
444 // Comment out when not needed.
445 //MsgStream log( msgSvc(), name() );
446 //log << MSG::DEBUG << "Entering makeCorrection" << endmsg;
447 //log << MSG::DEBUG << "e, eta, phi, etasize, phisize" << " " << cluster->e() << " " << cluster->eta() << " " << cluster->phi()
448 // << " " << cluster->etasize(CaloSampling::EMB2) << " " << cluster->phisize(CaloSampling::EMB2) << endmsg;
449 //log << MSG::DEBUG << "B / E " << cluster->inBarrel() << " " << cluster->inEndcap() << endmsg;
450 //log << MSG::DEBUG << "region " << region << endmsg;
451
452 float eta;
453 float phi;
454 CaloSampling::CaloSample samp = CaloSampling::Unknown;
455
456 // Find the proper @f$\eta@f$ and @f$\phi@f$ measures of the cluster.
457 // Also set up the sampling code @c samp.
458 switch (region) {
459 case EMB1:
460 case EMB2:
461 case EME1:
462 case EME2:
463 // Return immediately if we can tell we're in the wrong region.
464 if (barrel_p (region)) {
465 if (!cluster->inBarrel()) return;
466 }
467 else {
468 if (!cluster->inEndcap()) return;
469 }
470
471 switch (region) {
472 case EMB1:
473 samp = CaloSampling::EMB1;
474 break;
475 case EMB2:
476 samp = CaloSampling::EMB2;
477 break;
478 case EME1:
479 samp = CaloSampling::EME1;
480 break;
481 case EME2:
482 samp = CaloSampling::EME2;
483 break;
484 }
485
486 eta = cluster->etaSample (samp);
487 phi = cluster->phiSample (samp);
488 break;
489
490 case COMBINED2:
491 eta = cluster->etaBE (2);
492 phi = cluster->phiBE (2);
493 break;
494
495 case CLUSTER:
496 eta = cluster->eta();
497 phi = cluster->phi();
498 break;
499
500 default:
501 abort();
502 }
503
504 // Give up if one of them is an error flag.
505 if (std::abs (phi) > 900 || std::abs (eta) > 900)
506 return;
507
508 // Sometimes unnormalized @f$\phi@f$ values still come through.
509 // Make sure this is in the proper range before calling the correction.
511
512 // Look up the DD element.
513 // Give up if we can't find one.
514 const CaloDetDescrElement* elt = ddhelper(dd_man).find_dd_elt (dd_man,
515 region,
516 cluster,
517 eta, phi);
518 if (!elt)
519 return;
520
521 // Compute the adjusted eta and phi --- the coordinates shifted
522 // from the actual to the nominal coordinate system.
523 float adj_eta = eta - elt->eta() + elt->eta_raw();
524 float adj_phi = CaloPhiRange::fix (phi - elt->phi() + elt->phi_raw());
525
526 // Call the actual correction.
527 makeTheCorrection (myctx, cluster, elt, eta, adj_eta, phi, adj_phi, samp);
528}
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
const CaloDetDescrElement * find_dd_elt(const CaloDetDescrManager *dd_mgr, int region, const xAOD::CaloCluster *cluster, float eta, float phi) const
Find the detector descriptor element for a given position, correcting for DD edge bugs.
virtual void makeTheCorrection(const Context &myctx, xAOD::CaloCluster *cluster, const CaloDetDescrElement *elt, float eta, float adj_eta, float phi, float adj_phi, CaloSampling::CaloSample samp) const =0
Virtual function for the correction-specific code.
Constant< int > m_region
Calibration constant: The calorimeter region for which this correction is intended.
static double fix(double phi)
bool inBarrel() const
Returns true if at least one clustered cell in the barrel.
bool inEndcap() const
Returns true if at least one clustered cell in the endcap.

◆ makeTheCorrection()

void CaloSwLongWeights::makeTheCorrection ( const Context & myctx,
xAOD::CaloCluster * cluster,
const CaloDetDescrElement * elt,
float eta,
float adj_eta,
float phi,
float adj_phi,
CaloSampling::CaloSample samp ) const
overridevirtual

Virtual function for the correction-specific code.

Parameters
myctxToolWithConstants context.
clusterThe cluster to correct. It is updated in place.
eltThe detector description element corresponding to the cluster location.
etaThe \(\eta\) coordinate of the cluster, in this sampling.
adj_etaThe \(\eta\) adjusted for any shift between the actual and nominal coordinates. (This is shifted back to the nominal coordinate system.)
phiThe \(\phi\) coordinate of the cluster, in this sampling.
adj_phiThe \(\phi\) adjusted for any shift between the actual and nominal coordinates. (This is shifted back to the nominal coordinate system.)
sampThe calorimeter sampling we're examining. This is a sampling code as defined by CaloSampling::CaloSample; i.e., it has both the calorimeter region and sampling encoded.

Implements CaloClusterCorrectionCommon.

Definition at line 50 of file CaloSwLongWeights.cxx.

59{
60 const float eta_start_crack = m_eta_start_crack (myctx);
61 const float eta_end_crack = m_eta_end_crack (myctx);
62
63 // ??? In principle, we should use adj_eta for the interpolation
64 // and range checks. However, the v2 corrections were derived
65 // using regular eta instead.
66 float the_aeta;
67 if (m_use_raw_eta(myctx))
68 the_aeta = std::abs (adj_eta);
69 else
70 the_aeta = std::abs (eta);
71
72 const float etamax = m_etamax (myctx);
73 if (the_aeta >= etamax) return;
74
75 int si;
76 if (the_aeta < eta_start_crack)
77 si = 0;
78 else if (the_aeta > eta_end_crack)
79 si = 1;
80 else {
81 // No corrections are applied for the crack region.
82 return;
83 }
84
85 const CxxUtils::Array<2> correction = m_correction (myctx);
86 const int degree = m_degree (myctx);
87
88 unsigned int shape[] = {2};
89 CaloRec::WritableArrayData<1> interp_barriers (shape);
90 interp_barriers[0] = eta_start_crack;
91 interp_barriers[1] = eta_end_crack;
92
93 float pars[4];
94 int ibin = static_cast<int> (the_aeta / etamax * correction.size());
95 pars[0] = correction[ibin][1];
96 pars[1] = correction[ibin][2];
97 for (int i=2; i<4; i++)
98 pars[i] = interpolate (correction,
99 the_aeta,
100 degree,
101 i+1,
102 interp_barriers);
103
104 static const
105 CaloSampling::CaloSample samps[2][4] = {
106 { CaloSampling::PreSamplerB,
107 CaloSampling::EMB1,
108 CaloSampling::EMB2,
109 CaloSampling::EMB3 },
110 { CaloSampling::PreSamplerE,
111 CaloSampling::EME1,
112 CaloSampling::EME2,
113 CaloSampling::EME3 }
114 };
115
116 float e_offset = 0;
117 if (m_preserve_offset(myctx)) {
118 double total0 = 0;
119 for (int sampling=0; sampling<4; ++sampling)
120 total0 += cluster->eSample (samps[si][sampling]);
121 e_offset = cluster->e() - total0;
122 }
123
124 cluster->setEnergy (samps[si][0], cluster->eSample (samps[si][0]) * pars[0]);
125 cluster->setEnergy (samps[si][3], cluster->eSample (samps[si][3]) * pars[1]);
126
127 double total = e_offset;
128 for (int sampling=0; sampling<4; ++sampling)
129 total += cluster->eSample (samps[si][sampling]);
130
131 cluster->setE (pars[2] * (pars[3] + total));
132}
Constant< CxxUtils::Array< 2 > > m_correction
Calibration constant: tabulated arrays of function parameters.
Constant< bool > m_preserve_offset
Read-only multidimensional array.
float eSample(const CaloSample sampling) const
bool setEnergy(const CaloSample sampling, const float e)
Set energy for a given sampling. Returns false if the sample isn't part of the cluster.
correction(mu, runmode, campaign, run=None)
Definition zlumi_mc_cf.py:4

◆ setenergy()

void CaloClusterCorrection::setenergy ( xAOD::CaloCluster * cluster,
float energy ) const
virtualinherited

Definition at line 93 of file CaloClusterCorrection.cxx.

94{
95 if (cluster->e() == 0) {
96 if (energy != 0)
97 REPORT_MESSAGE (MSG::WARNING)
98 << "Attempt to rescale zero-energy cluster to energy " << energy
99 << " ignored.";
100 return;
101 }
102
103 float correction = energy/cluster->e();
104 cluster->setE(energy);
105
106 // also correct individual sampling energies:
107
108 for (int iSample=CaloSampling::PreSamplerB;
109 iSample < CaloSampling::Unknown;
110 ++iSample)
111 {
112 CaloSampling::CaloSample sampling=static_cast<CaloSampling::CaloSample>(iSample);
113 if (cluster->hasSampling (sampling)) {
114 double e = cluster->eSample(sampling);
115 cluster->setEnergy(sampling,e*correction) ;
116 }
117 }
118}
#define REPORT_MESSAGE(LVL)
Report a message.
bool hasSampling(const CaloSample s) const
Checks if certain smapling contributes to cluster.

◆ setsample()

void CaloClusterCorrection::setsample ( xAOD::CaloCluster * cluster,
CaloSampling::CaloSample sampling,
float em,
float etam,
float phim,
float emax,
float etamax,
float phimax,
float etas,
float phis ) const
virtualinherited

Definition at line 73 of file CaloClusterCorrection.cxx.

78{
79 cluster->setEnergy(sampling, em);
80 cluster->setEta(sampling, etam);
81 cluster->setPhi(sampling, phim);
82
83 cluster->setEmax(sampling,emax);
84 cluster->setEtamax(sampling,etamax);
85 cluster->setPhimax(sampling,phimax);
86
87 cluster->setEtasize(sampling, etas);
88 cluster->setPhisize(sampling, phis);
89}
bool setPhi(const CaloSample sampling, const float phi)
Set in a given sampling. Returns false if the sample isn't part of the cluster.
bool setEtasize(const CaloSample sampling, const float etaSize)
Set the cluster size in for a given sampling.
bool setPhisize(const CaloSample sampling, const float phiSize)
Set the cluster size in for a given sampling.
bool setPhimax(const CaloSample sampling, const float phiMax)
Set the phi of the cell with the highest energy in a particular sampling.
bool setEta(const CaloSample sampling, const float eta)
Set in a given sampling. Returns false if the sample isn't part of the cluster.
bool setEmax(const CaloSample sampling, const float eMax)
Set the Energy of the cell with the highest energy in a particular sampling.
bool setEtamax(const CaloSample sampling, const float etaMax)
Set the eta of the cell with the highest energy in a particular sampling.

Member Data Documentation

◆ CaloSwLongWeights_versions

list CaloSwLongWeights.CaloSwLongWeights_versions

Definition at line 36 of file CaloSwLongWeights.py.

◆ cls

CaloSwLongWeights.cls = CompFactory.CaloSwLongWeights

Definition at line 35 of file CaloSwLongWeights.py.

◆ m_caloMgrKey

SG::ReadCondHandleKey<CaloDetDescrManager> CaloClusterCorrection::m_caloMgrKey {this,"CaloDetDescrManager", "CaloDetDescrManager"}
protectedinherited

Definition at line 83 of file CaloClusterCorrection.h.

83{this,"CaloDetDescrManager", "CaloDetDescrManager"};

◆ m_correction

Constant<CxxUtils::Array<2> > CaloSwLongWeights::m_correction { this, "correction", "" }
private

Definition at line 64 of file CaloSwLongWeights.h.

64{ this, "correction", "" };

◆ m_ddhelper

CxxUtils::CachedUniquePtr<const CaloClusterCorr::DDHelper> CaloClusterCorrectionCommon::m_ddhelper
privateinherited

Helper for detector description lookup.

Definition at line 165 of file CaloClusterCorrectionCommon.h.

◆ m_degree

Constant<int> CaloSwLongWeights::m_degree { this, "degree", "" }
private

Definition at line 68 of file CaloSwLongWeights.h.

68{ this, "degree", "" };

◆ m_eta_end_crack

Constant<float> CaloSwLongWeights::m_eta_end_crack { this, "eta_end_crack", "" }
private

Definition at line 66 of file CaloSwLongWeights.h.

66{ this, "eta_end_crack", "" };

◆ m_eta_start_crack

Constant<float> CaloSwLongWeights::m_eta_start_crack { this, "eta_start_crack", "" }
private

Definition at line 65 of file CaloSwLongWeights.h.

65{ this, "eta_start_crack", "" };

◆ m_etamax

Constant<float> CaloSwLongWeights::m_etamax { this, "etamax", "" }
private

Definition at line 67 of file CaloSwLongWeights.h.

67{ this, "etamax", "" };

◆ m_preserve_offset

Constant<bool> CaloSwLongWeights::m_preserve_offset { this, "preserve_offset", "" }
private

Definition at line 70 of file CaloSwLongWeights.h.

70{ this, "preserve_offset", "" };

◆ m_region

Constant<int> CaloClusterCorrectionCommon::m_region { this, "region", "Calorimeter region" }
privateinherited

Calibration constant: The calorimeter region for which this correction is intended.

This should be one of the constants above. This affects the meaning of the eta and phi arguments passed to makeTheCorrection, as well as the samp argument.

Definition at line 161 of file CaloClusterCorrectionCommon.h.

162{ this, "region", "Calorimeter region" };

◆ m_use_raw_eta

Constant<bool> CaloSwLongWeights::m_use_raw_eta { this, "use_raw_eta", "" }
private

Definition at line 69 of file CaloSwLongWeights.h.

69{ this, "use_raw_eta", "" };

The documentation for this class was generated from the following files: