CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions | Variables
L1EGammaCrystalsEmulatorProducer.cc File Reference
#include <memory>
#include <array>
#include <iostream>
#include <cmath>
#include "FWCore/Framework/interface/stream/EDProducer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "CalibFormats/CaloTPG/interface/CaloTPGTranscoder.h"
#include "CalibFormats/CaloTPG/interface/CaloTPGRecord.h"
#include "Geometry/CaloGeometry/interface/CaloGeometry.h"
#include "Geometry/EcalAlgo/interface/EcalBarrelGeometry.h"
#include "Geometry/HcalTowerAlgo/interface/HcalTrigTowerGeometry.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "DataFormats/HcalDetId/interface/HcalSubdetector.h"
#include "DataFormats/HcalDetId/interface/HcalDetId.h"
#include "DataFormats/EcalDigi/interface/EcalDigiCollections.h"
#include "DataFormats/HcalDigi/interface/HcalTriggerPrimitiveDigi.h"
#include "DataFormats/L1TCalorimeterPhase2/interface/CaloCrystalCluster.h"
#include "DataFormats/L1TCalorimeterPhase2/interface/CaloTower.h"
#include "DataFormats/L1Trigger/interface/EGamma.h"
#include "L1Trigger/L1CaloTrigger/interface/ParametricCalibration.h"
#include "L1Trigger/L1TCalorimeter/interface/CaloTools.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"

Go to the source code of this file.

Classes

class  L1EGCrystalClusterEmulatorProducer
 
struct  L1EGCrystalClusterEmulatorProducer::mycluster
 
class  L1EGCrystalClusterEmulatorProducer::SimpleCaloHit
 

Functions

int convert_L2toL1_card (int card, int link)
 
int convert_L2toL1_link (int link)
 
int convert_L2toL1_tower (int tower)
 
int get_towerEta_fromCardLinkTower (int card, int link, int tower)
 
int get_towerEta_fromCardTowerInCard (int card, int towerincard)
 
int get_towerPhi_fromCardLinkTower (int card, int link, int tower)
 
int get_towerPhi_fromCardTowerInCard (int card, int towerincard)
 
int getCrystal_etaID (float eta)
 
int getCrystal_phiID (float phi)
 
int getCrystalIDInTower (int etaID, int phiID)
 
float getEta_fromL2LinkCardTowerCrystal (int link, int card, int tower, int crystal)
 
int getEtaMax_card (int card)
 
int getEtaMin_card (int card)
 
float getPhi_fromL2LinkCardTowerCrystal (int link, int card, int tower, int crystal)
 
int getPhiMax_card (int card)
 
int getPhiMin_card (int card)
 
int getTower_absoluteEtaID (float eta)
 
int getTower_absolutePhiID (float phi)
 
int getTower_etaID (int cluster_etaID)
 
int getTower_phiID (int cluster_phiID)
 
float getTowerEta_fromAbsoluteID (int id)
 
int getTowerID (int etaID, int phiID)
 
int getToweriEta_fromAbsoluteID (int id)
 
int getToweriPhi_fromAbsoluteID (int id)
 
float getTowerPhi_fromAbsoluteID (int id)
 
static const
edm::ParameterSetDescriptionFillerPluginFactory::PMaker
< edm::ParameterSetDescriptionFiller
< L1EGCrystalClusterEmulatorProducer > > 
s_filler__LINE__ ("L1EGCrystalClusterEmulatorProducer")
 
static const
edm::MakerPluginFactory::PMaker
< edm::WorkerMaker
< L1EGCrystalClusterEmulatorProducer > > 
s_maker__LINE__ ("L1EGCrystalClusterEmulatorProducer")
 

Variables

static constexpr float a0 = 0.21
 
static constexpr float a0_80 = 0.85
 
static constexpr float a1_80 = 0.0080
 
static constexpr float b0 = 0.38
 
static constexpr float b1 = 1.9
 
static constexpr float b2 = 0.05
 
static constexpr float c0_ss = 0.94
 
static constexpr float c1_ss = 0.052
 
static constexpr float c2_ss = 0.044
 
static constexpr float cut_500_MeV = 0.5
 
static constexpr float d0 = 0.96
 
static constexpr float d1 = 0.0003
 
static constexpr bool do_brem = true
 
static constexpr float e0_looseTkss = 0.944
 
static constexpr float e1_looseTkss = 0.65
 
static constexpr float e2_looseTkss = 0.4
 
static constexpr float ECAL_eta_range = 1.4841
 
static constexpr float half_crystal_size = 0.00873
 
static constexpr int n_borders_eta = 18
 
static constexpr int n_borders_phi = 18
 
static constexpr int n_clusters_4link = 4 * 3
 
static constexpr int n_clusters_link = 3
 
static constexpr int n_clusters_max = 5
 
static constexpr int n_clusters_per_link = 2
 
static constexpr int n_crystals_3towers = 3 * 5
 
static constexpr int n_crystals_towerEta = 5
 
static constexpr int n_crystals_towerPhi = 5
 
static constexpr int n_eta_bins = 2
 
static constexpr int n_GCTcards = 3
 
static constexpr int n_links_card = 4
 
static constexpr int n_links_GCTcard = 48
 
static constexpr int n_towers_Eta = 34
 
static constexpr int n_towers_halfPhi = 36
 
static constexpr int n_towers_per_link = 17
 
static constexpr int n_towers_Phi = 72
 
static constexpr float plateau_ss = 130.0
 
static constexpr float slideIsoPtThreshold = 80
 
static constexpr int toweriEta_fromAbsoluteID_shift = 16
 
static constexpr int toweriPhi_fromAbsoluteID_shift_lowerHalf = 37
 
static constexpr int toweriPhi_fromAbsoluteID_shift_upperHalf = 35
 

Function Documentation

int convert_L2toL1_card ( int  card,
int  link 
)

Definition at line 124 of file L1EGammaCrystalsEmulatorProducer.cc.

References n_clusters_4link, and n_links_card.

Referenced by L1EGCrystalClusterEmulatorProducer::produce().

124 { return card * n_clusters_4link + link / n_links_card; }
static constexpr int n_clusters_4link
static constexpr int n_links_card
int convert_L2toL1_link ( int  link)

Definition at line 120 of file L1EGammaCrystalsEmulatorProducer.cc.

References n_links_card.

Referenced by L1EGCrystalClusterEmulatorProducer::produce().

120 { return link % n_links_card; }
static constexpr int n_links_card
int convert_L2toL1_tower ( int  tower)
int get_towerEta_fromCardLinkTower ( int  card,
int  link,
int  tower 
)

Definition at line 182 of file L1EGammaCrystalsEmulatorProducer.cc.

References n_towers_per_link.

Referenced by L1EGCrystalClusterEmulatorProducer::produce().

182 { return n_towers_per_link * (card % 2) + tower; }
static constexpr int n_towers_per_link
int get_towerEta_fromCardTowerInCard ( int  card,
int  towerincard 
)

Definition at line 174 of file L1EGammaCrystalsEmulatorProducer.cc.

References n_towers_per_link.

Referenced by L1EGCrystalClusterEmulatorProducer::produce().

174  {
175  return n_towers_per_link * (card % 2) + towerincard % n_towers_per_link;
176 }
static constexpr int n_towers_per_link
int get_towerPhi_fromCardLinkTower ( int  card,
int  link,
int  tower 
)

Definition at line 184 of file L1EGammaCrystalsEmulatorProducer.cc.

Referenced by L1EGCrystalClusterEmulatorProducer::produce().

184 { return 4 * (card / 2) + link; }
int get_towerPhi_fromCardTowerInCard ( int  card,
int  towerincard 
)

Definition at line 178 of file L1EGammaCrystalsEmulatorProducer.cc.

References n_towers_per_link.

Referenced by L1EGCrystalClusterEmulatorProducer::produce().

178  {
179  return 4 * (card / 2) + towerincard / n_towers_per_link;
180 }
static constexpr int n_towers_per_link
int getCrystal_etaID ( float  eta)

Definition at line 114 of file L1EGammaCrystalsEmulatorProducer.cc.

References ECAL_eta_range, n_crystals_towerEta, and n_towers_Eta.

Referenced by L1EGCrystalClusterEmulatorProducer::produce().

114  {
115  float size_cell = 2 * ECAL_eta_range / (n_crystals_towerEta * n_towers_Eta);
116  int etaID = int((eta + ECAL_eta_range) / size_cell);
117  return etaID;
118 }
static constexpr float ECAL_eta_range
static constexpr int n_crystals_towerEta
static constexpr int n_towers_Eta
int getCrystal_phiID ( float  phi)

Definition at line 126 of file L1EGammaCrystalsEmulatorProducer.cc.

References M_PI, n_crystals_towerPhi, and n_towers_Phi.

Referenced by L1EGCrystalClusterEmulatorProducer::produce().

126  {
127  float size_cell = 2 * M_PI / (n_crystals_towerPhi * n_towers_Phi);
128  int phiID = int((phi + M_PI) / size_cell);
129  return phiID;
130 }
static constexpr int n_crystals_towerPhi
#define M_PI
static constexpr int n_towers_Phi
int getCrystalIDInTower ( int  etaID,
int  phiID 
)

Definition at line 170 of file L1EGammaCrystalsEmulatorProducer.cc.

References n_crystals_towerEta, and n_crystals_towerPhi.

Referenced by L1EGCrystalClusterEmulatorProducer::produce().

170  {
171  return int(n_crystals_towerPhi * (phiID % n_crystals_towerPhi) + (etaID % n_crystals_towerEta));
172 }
static constexpr int n_crystals_towerPhi
static constexpr int n_crystals_towerEta
float getEta_fromL2LinkCardTowerCrystal ( int  link,
int  card,
int  tower,
int  crystal 
)

Definition at line 100 of file L1EGammaCrystalsEmulatorProducer.cc.

References ECAL_eta_range, half_crystal_size, n_crystals_towerEta, n_links_card, n_towers_Eta, and n_towers_per_link.

Referenced by L1EGCrystalClusterEmulatorProducer::produce().

100  {
102  crystal % n_crystals_towerEta;
103  float size_cell = 2 * ECAL_eta_range / (n_crystals_towerEta * n_towers_Eta);
104  return etaID * size_cell - ECAL_eta_range + half_crystal_size;
105 }
static constexpr float ECAL_eta_range
static constexpr int n_towers_per_link
static constexpr float half_crystal_size
static constexpr int n_links_card
static constexpr int n_crystals_towerEta
static constexpr int n_towers_Eta
int getEtaMax_card ( int  card)

Definition at line 199 of file L1EGammaCrystalsEmulatorProducer.cc.

References n_crystals_towerEta, n_towers_Eta, and n_towers_per_link.

Referenced by L1EGCrystalClusterEmulatorProducer::produce().

199  {
200  int etamax = 0;
201  if (card % 2 == 0)
202  etamax = n_towers_per_link * n_crystals_towerEta - 1; // First eta half. 5 crystals in eta in 1 tower.
203  else
204  etamax = n_towers_Eta * n_crystals_towerEta - 1;
205  return etamax;
206 }
static constexpr int n_towers_per_link
static constexpr int n_crystals_towerEta
static constexpr int n_towers_Eta
int getEtaMin_card ( int  card)

Definition at line 208 of file L1EGammaCrystalsEmulatorProducer.cc.

References n_crystals_towerEta, and n_towers_per_link.

Referenced by L1EGCrystalClusterEmulatorProducer::produce().

208  {
209  int etamin = 0;
210  if (card % 2 == 0)
211  etamin = 0 * n_crystals_towerEta; // First eta half. 5 crystals in eta in 1 tower.
212  else
214  return etamin;
215 }
static constexpr int n_towers_per_link
static constexpr int n_crystals_towerEta
float getPhi_fromL2LinkCardTowerCrystal ( int  link,
int  card,
int  tower,
int  crystal 
)

Definition at line 107 of file L1EGammaCrystalsEmulatorProducer.cc.

References half_crystal_size, M_PI, n_crystals_towerPhi, n_links_card, n_towers_per_link, and n_towers_Phi.

Referenced by L1EGCrystalClusterEmulatorProducer::produce().

107  {
108  int phiID = n_crystals_towerPhi * ((card * 24) + (n_links_card * (link / 8)) + (tower / n_towers_per_link)) +
109  crystal / n_crystals_towerPhi;
110  float size_cell = 2 * M_PI / (n_crystals_towerPhi * n_towers_Phi);
111  return phiID * size_cell - M_PI + half_crystal_size;
112 }
static constexpr int n_crystals_towerPhi
static constexpr int n_towers_per_link
static constexpr float half_crystal_size
#define M_PI
static constexpr int n_links_card
static constexpr int n_towers_Phi
int getPhiMax_card ( int  card)

Definition at line 217 of file L1EGammaCrystalsEmulatorProducer.cc.

References n_crystals_towerPhi, and phimax.

Referenced by L1EGCrystalClusterEmulatorProducer::produce().

217  {
218  int phimax = ((card / 2) + 1) * 4 * n_crystals_towerPhi - 1;
219  return phimax;
220 }
static constexpr int n_crystals_towerPhi
int getPhiMin_card ( int  card)

Definition at line 222 of file L1EGammaCrystalsEmulatorProducer.cc.

References n_crystals_towerPhi, and phimin.

Referenced by L1EGCrystalClusterEmulatorProducer::produce().

222  {
223  int phimin = (card / 2) * 4 * n_crystals_towerPhi;
224  return phimin;
225 }
static constexpr int n_crystals_towerPhi
int getTower_absoluteEtaID ( float  eta)

Definition at line 132 of file L1EGammaCrystalsEmulatorProducer.cc.

References ECAL_eta_range, and n_towers_Eta.

Referenced by L1EGCrystalClusterEmulatorProducer::produce().

132  {
133  float size_cell = 2 * ECAL_eta_range / n_towers_Eta;
134  int etaID = int((eta + ECAL_eta_range) / size_cell);
135  return etaID;
136 }
static constexpr float ECAL_eta_range
static constexpr int n_towers_Eta
int getTower_absolutePhiID ( float  phi)

Definition at line 138 of file L1EGammaCrystalsEmulatorProducer.cc.

References M_PI, and n_towers_Phi.

Referenced by L1EGCrystalClusterEmulatorProducer::produce().

138  {
139  float size_cell = 2 * M_PI / n_towers_Phi;
140  int phiID = int((phi + M_PI) / size_cell);
141  return phiID;
142 }
#define M_PI
static constexpr int n_towers_Phi
int getTower_etaID ( int  cluster_etaID)

Definition at line 195 of file L1EGammaCrystalsEmulatorProducer.cc.

References n_crystals_towerEta, and n_towers_per_link.

Referenced by L1EGCrystalClusterEmulatorProducer::produce().

195  { // Tower ID in card given crystal ID in total detector
196  return int((cluster_etaID / n_crystals_towerEta) % n_towers_per_link);
197 }
static constexpr int n_towers_per_link
static constexpr int n_crystals_towerEta
int getTower_phiID ( int  cluster_phiID)

Definition at line 191 of file L1EGammaCrystalsEmulatorProducer.cc.

References n_crystals_towerPhi.

Referenced by L1EGCrystalClusterEmulatorProducer::produce().

191  { // Tower ID in card given crystal ID in total detector
192  return int((cluster_phiID / n_crystals_towerPhi) % 4);
193 }
static constexpr int n_crystals_towerPhi
float getTowerEta_fromAbsoluteID ( int  id)

Definition at line 158 of file L1EGammaCrystalsEmulatorProducer.cc.

References ECAL_eta_range, PVValHelper::eta, and n_towers_Eta.

Referenced by L1EGCrystalClusterEmulatorProducer::produce().

158  {
159  float size_cell = 2 * ECAL_eta_range / n_towers_Eta;
160  float eta = (id * size_cell) - ECAL_eta_range + 0.5 * size_cell;
161  return eta;
162 }
static constexpr float ECAL_eta_range
static constexpr int n_towers_Eta
int getTowerID ( int  etaID,
int  phiID 
)

Definition at line 186 of file L1EGammaCrystalsEmulatorProducer.cc.

References n_crystals_towerEta, n_crystals_towerPhi, and n_towers_per_link.

Referenced by L1EGCrystalClusterEmulatorProducer::produce().

186  {
187  return int(n_towers_per_link * ((phiID / n_crystals_towerPhi) % 4) +
189 }
static constexpr int n_crystals_towerPhi
static constexpr int n_towers_per_link
static constexpr int n_crystals_towerEta
int getToweriEta_fromAbsoluteID ( int  id)

Definition at line 144 of file L1EGammaCrystalsEmulatorProducer.cc.

References n_towers_per_link, and toweriEta_fromAbsoluteID_shift.

Referenced by L1EGCrystalClusterEmulatorProducer::produce().

144  {
145  if (id < n_towers_per_link)
146  return id - n_towers_per_link;
147  else
148  return id - toweriEta_fromAbsoluteID_shift;
149 }
static constexpr int toweriEta_fromAbsoluteID_shift
static constexpr int n_towers_per_link
int getToweriPhi_fromAbsoluteID ( int  id)

Definition at line 151 of file L1EGammaCrystalsEmulatorProducer.cc.

References n_towers_Phi, toweriPhi_fromAbsoluteID_shift_lowerHalf, and toweriPhi_fromAbsoluteID_shift_upperHalf.

Referenced by L1EGCrystalClusterEmulatorProducer::produce().

151  {
152  if (id < n_towers_Phi / 2)
154  else
156 }
static constexpr int toweriPhi_fromAbsoluteID_shift_upperHalf
static constexpr int toweriPhi_fromAbsoluteID_shift_lowerHalf
static constexpr int n_towers_Phi
float getTowerPhi_fromAbsoluteID ( int  id)

Definition at line 164 of file L1EGammaCrystalsEmulatorProducer.cc.

References M_PI, n_towers_Phi, and PVValHelper::phi.

Referenced by L1EGCrystalClusterEmulatorProducer::produce().

164  {
165  float size_cell = 2 * M_PI / n_towers_Phi;
166  float phi = (id * size_cell) - M_PI + 0.5 * size_cell;
167  return phi;
168 }
#define M_PI
static constexpr int n_towers_Phi
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< L1EGCrystalClusterEmulatorProducer > > s_filler__LINE__ ( "L1EGCrystalClusterEmulatorProducer"  )
static
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< L1EGCrystalClusterEmulatorProducer > > s_maker__LINE__ ( "L1EGCrystalClusterEmulatorProducer"  )
static

Variable Documentation

constexpr float a0 = 0.21
static
constexpr float a0_80 = 0.85
static
constexpr float a1_80 = 0.0080
static
constexpr float b0 = 0.38
static
constexpr float b1 = 1.9
static

Definition at line 83 of file L1EGammaCrystalsEmulatorProducer.cc.

Referenced by algorithm(), lhef::LHEEvent::asHepMCEvent(), PtAssignmentEngine2017::calculate_address(), VVIObjDetails::cosint(), sistripvvi::VVIObjDetails::cosint(), EMShower::deposit(), SRBlockFormatter::DigiToRaw(), FWDetailViewBase::drawCanvasBox(), FWDetailViewBase::drawCanvasDot(), L1GtAlgorithmEvaluation::evaluateAlgorithm(), l1t::AlgorithmEvaluation::evaluateAlgorithm(), trklet::TrackletCalculatorDisplaced::exacttracklet(), DDEcalBarrelAlgo::execute(), DDEcalBarrelNewAlgo::execute(), VVIObjFDetails::expint(), VVIObjDetails::expint(), sistripvvi::VVIObjDetails::expint(), GlobalLogicParser::expressionResult(), L1GtLogicParser::expressionResult(), GlobalLogicParser::expressionResultNumExp(), L1GtLogicParser::expressionResultNumExp(), GlobalLogicParser::expressionSeedsOperandList(), L1GtLogicParser::expressionSeedsOperandList(), VVIObj::fcn(), VVIObjF::fcn(), sistripvvi::VVIObj::fcn(), TrackingMaterialPlotter::fill_gradient(), DD4hep_TrackingMaterialPlotter::fill_gradient(), CMTRawAnalyzer::fillDigiAmplitudeQIE11(), DD4hep_ListGroups::fillGradient(), ListGroups::fillGradient(), heppy::Davismt2::find_high(), DTLinearFit::fitNpar(), TFParams::fitpj(), PhotonMIPHaloTagger::GetMipTrailFit(), GridInterpolator3DException::GridInterpolator3DException(), Hector::Hector(), HLTJetSortedVBFFilter< T >::hltFilter(), TFParams::lastShape(), TFParams::lastShape2(), EvolutionECAL::LightCollectionEfficiency(), EvolutionECAL::LightCollectionEfficiencyWeighted(), TruncatedPyramid::localCorners(), main(), TFParams::mixShape(), heppy::Davismt2::mt2_bisect(), heppy::Davismt2::nsols(), OverlapChecker::operator()(), operator==(), L1EGCrystalClusterEmulatorProducer::passes_looseTkiso(), PrimitiveMatching::process(), cscdqm::EventProcessor::processCSC(), PseudoTopProducer::produce(), TFParams::pulseShapepj(), TFParams::pulseShapepj2(), TtFullLepKinSolver::quartic(), RecoProducerFP420::RecoProducerFP420(), HectorTransport::setBeamLine(), CTPPSFastTrackingProducer::SetBeamLine(), DTGeometryESProducer::setupGeometry(), VVIObjDetails::sincosint(), sistripvvi::VVIObjDetails::sincosint(), VVIObjDetails::sinint(), sistripvvi::VVIObjDetails::sinint(), heppy::mt2w_bisect::mt2w::teco(), FullModelReactionDynamics::TwoBody(), FullModelReactionDynamics::TwoCluster(), and FW3DViewBase::updateClipPlanes().

constexpr float b2 = 0.05
static

Definition at line 83 of file L1EGammaCrystalsEmulatorProducer.cc.

Referenced by algorithm(), lhef::LHEEvent::asHepMCEvent(), AnalyticalCurvilinearJacobian::computeInfinitesimalJacobian(), EGEnergyCorrector::CorrectedEnergyWithError(), VVIObjDetails::cosint(), sistripvvi::VVIObjDetails::cosint(), FWTGeoRecoGeometryESProducer::createShape(), EMShower::deposit(), SRBlockFormatter::DigiToRaw(), FWDetailViewBase::drawCanvasBox(), FWDetailViewBase::drawCanvasDot(), L1GtAlgorithmEvaluation::evaluateAlgorithm(), l1t::AlgorithmEvaluation::evaluateAlgorithm(), trklet::TrackletCalculatorDisplaced::exacttracklet(), DDEcalBarrelAlgo::execute(), DDEcalBarrelNewAlgo::execute(), VVIObjFDetails::expint(), VVIObjDetails::expint(), sistripvvi::VVIObjDetails::expint(), GlobalLogicParser::expressionResult(), L1GtLogicParser::expressionResult(), GlobalLogicParser::expressionResultNumExp(), L1GtLogicParser::expressionResultNumExp(), GlobalLogicParser::expressionSeedsOperandList(), L1GtLogicParser::expressionSeedsOperandList(), riemannFit::fastFit(), VVIObj::fcn(), VVIObjF::fcn(), sistripvvi::VVIObj::fcn(), DD4hep_TrackingMaterialPlotter::fill_gradient(), TrackingMaterialPlotter::fill_gradient(), DD4hep_ListGroups::fillGradient(), ListGroups::fillGradient(), FWRecoGeometryESProducer::fillShapeAndPlacement(), heppy::Davismt2::find_high(), DTLinearFit::fitNpar(), TFParams::fitpj(), GridInterpolator3DException::GridInterpolator3DException(), Hector::Hector(), HLTJetSortedVBFFilter< T >::hltFilter(), CircleFromThreePoints::init(), TFParams::lastShape(), TFParams::lastShape2(), EvolutionECAL::LightCollectionEfficiency(), EvolutionECAL::LightCollectionEfficiencyWeighted(), TruncatedPyramid::localCorners(), TFParams::mixShape(), heppy::Davismt2::mt2_bisect(), heppy::Davismt2::mt2_massless(), heppy::Davismt2::nsols(), heppy::Davismt2::nsols_massless(), OverlapChecker::operator()(), operator==(), L1EGCrystalClusterEmulatorProducer::passes_looseTkiso(), cscdqm::EventProcessor::processCSC(), PseudoTopProducer::produce(), BaseParticlePropagator::propagate(), TFParams::pulseShapepj(), TtFullLepKinSolver::quartic(), HcalLaserEventFilter2012::readEventListFile(), RecoProducerFP420::RecoProducerFP420(), HectorTransport::setBeamLine(), CTPPSFastTrackingProducer::SetBeamLine(), VVIObjDetails::sincosint(), sistripvvi::VVIObjDetails::sincosint(), VVIObjDetails::sinint(), sistripvvi::VVIObjDetails::sinint(), heppy::mt2w_bisect::mt2w::teco(), FullModelReactionDynamics::TwoBody(), FullModelReactionDynamics::TwoCluster(), ThirdHitPredictionFromCircle::HelixRZ::zAtR(), and MCFilterZboostHelper::zboost().

constexpr float c0_ss = 0.94
static
constexpr float c1_ss = 0.052
static
constexpr float c2_ss = 0.044
static
constexpr float cut_500_MeV = 0.5
static
constexpr float d0 = 0.96
static

Definition at line 85 of file L1EGammaCrystalsEmulatorProducer.cc.

Referenced by SiPixelTrackResidualSource::analyze(), TkConvValidator::analyze(), PhotonValidator::analyze(), HLTMuonMatchAndPlot::analyze(), PrimaryVertexValidation::analyze(), AlignmentTrackSelector::basicCuts(), QGTagger::calcVariables(), trklet::TrackletCalculatorDisplaced::DDLSeeding(), ElectronVPlusJetsIDSelectionFunctor::ElectronVPlusJetsIDSelectionFunctor(), trklet::TrackletCalculatorDisplaced::exacttracklet(), PrimaryVertexValidation::fillTrackHistos(), EcalTangentFilter::filter(), tmtt::KFbase::fit(), EGammaMvaEleEstimator::IDIsoCombinedMvaValue(), MuonVPlusJetsIDSelectionFunctor::initialize(), MVAJetPuId::initVariables(), PileupJetIdAlgo::initVariables(), MuIsolatorResultProducer< BT >::initVetos(), cms::MuonTCMETValueMapProducer::isGoodMuon(), tmtt::KFParamsComb::isGoodState(), cms::MuonTCMETValueMapProducer::isGoodTrack(), TCMETAlgo::isGoodTrack(), EvolutionECAL::LightCollectionEfficiency(), EvolutionECAL::LightCollectionEfficiencyWeighted(), trklet::TrackletCalculatorDisplaced::LLDSeeding(), trklet::TrackletCalculatorDisplaced::LLLSeeding(), QualityCutsAnalyzer::LoopOverJetTracksAssociation(), tmtt::ConverterToTTTrack::makeTTTrack(), MuonVPlusJetsIDSelectionFunctor::MuonVPlusJetsIDSelectionFunctor(), EGammaMvaEleEstimator::mvaValue(), HIProtoTrackFilter::operator()(), HIPixelTrackFilter::operator()(), L1EGCrystalClusterEmulatorProducer::passes_photon(), CastorFastTowerProducer::produce(), HLTScoutingEgammaProducer::produce(), TtFullLepKinSolver::quartic(), HIPAlignmentAlgorithm::run(), pf2pat::IPCutPFCandidateSelectorDefinition::select(), CosmicTrackSelector::select(), HIProtoTrackSelector::select(), MultiTrackSelector::select(), HIMultiTrackSelector::select(), GflashTrajectory::setD0(), TTTrack_TrackWord::setTrackWord(), TrackEfficiencyMonitor::testSTATracks(), and TrackEfficiencyMonitor::testTrackerTracks().

constexpr float d1 = 0.0003
static

Definition at line 85 of file L1EGammaCrystalsEmulatorProducer.cc.

Referenced by algorithm(), myFastSimVal::analyze(), DisplayGeom::analyze(), cscdqm::Collection::book(), AlignmentTask::buildGeometry(), HcalDDDSimConstants::cell(), HelixBarrelPlaneCrossingByCircle::chooseSolution(), HelixBarrelCylinderCrossing::chooseSolution(), DDHCalBarrelAlgo::constructInsideLayers(), HcalBarrelAlgo::constructInsideLayers(), trklet::Tracklet::disk(), MuonCSCDigisHarvestor::dqmEndJob(), DDPixBarLayerAlgo::execute(), brokenline::fastFit(), EcalHitMaker::fastInsideCell(), CandCommonVertexFitterBase::fill(), CandKinematicVertexFitter::fill(), NtupleManager::FillMeasurements(), HLTEcalResonanceFilter::filter(), HLTRegionalEcalResonanceFilter::filter(), heppy::Davismt2::find_high(), hitfit::Chisq_Constrainer::fit(), GEMCSCSegFit::fit2(), DTLinearFit::fitNpar(), HelixBarrelCylinderCrossing::HelixBarrelCylinderCrossing(), SimHitsValidationHcal::idType::idType(), TensorIndex< d1, d2, d3, d4 >::indexOf(), TensorIndex_base1< d1, d2, d3, d4 >::indexOf(), trklet::SLHCEvent::layersHit(), EvolutionECAL::LightCollectionEfficiency(), EvolutionECAL::LightCollectionEfficiencyWeighted(), heppy::Davismt2::mt2_bisect(), heppy::Davismt2::nsols(), heppy::Davismt2::nsols_massless(), L1EGCrystalClusterEmulatorProducer::passes_photon(), brokenline::prepareBrokenLineData(), EcalHitMaker::prepareCrystalNumberArray(), CastorFastTowerProducer::produce(), TtFullLepKinSolver::quartic(), Conv4HitsReco2::Reconstruct(), HcalTopology::segmentBoundaries(), TangentHelix::TangentHelix(), heppy::mt2w_bisect::mt2w::teco(), trklet::FitTrack::trackFitChisq(), VVIObj::VVIObj(), sistripvvi::VVIObj::VVIObj(), and VVIObjF::VVIObjF().

constexpr bool do_brem = true
static
constexpr float e0_looseTkss = 0.944
static
constexpr float e1_looseTkss = 0.65
static
constexpr float e2_looseTkss = 0.4
static
constexpr float ECAL_eta_range = 1.4841
static
constexpr float half_crystal_size = 0.00873
static
constexpr int n_borders_eta = 18
static
constexpr int n_borders_phi = 18
static
constexpr int n_clusters_4link = 4 * 3
static
constexpr int n_clusters_link = 3
static
constexpr int n_clusters_max = 5
static
constexpr int n_clusters_per_link = 2
static
constexpr int n_crystals_3towers = 3 * 5
static
constexpr int n_crystals_towerEta = 5
static
constexpr int n_crystals_towerPhi = 5
static
constexpr int n_eta_bins = 2
static
constexpr int n_GCTcards = 3
static
constexpr int n_links_card = 4
static
constexpr int n_links_GCTcard = 48
static
constexpr int n_towers_Eta = 34
static
constexpr int n_towers_halfPhi = 36
static
constexpr int n_towers_per_link = 17
static
constexpr int n_towers_Phi = 72
static
constexpr float plateau_ss = 130.0
static
constexpr float slideIsoPtThreshold = 80
static
constexpr int toweriEta_fromAbsoluteID_shift = 16
static

Definition at line 92 of file L1EGammaCrystalsEmulatorProducer.cc.

Referenced by getToweriEta_fromAbsoluteID().

constexpr int toweriPhi_fromAbsoluteID_shift_lowerHalf = 37
static

Definition at line 97 of file L1EGammaCrystalsEmulatorProducer.cc.

Referenced by getToweriPhi_fromAbsoluteID().

constexpr int toweriPhi_fromAbsoluteID_shift_upperHalf = 35
static

Definition at line 98 of file L1EGammaCrystalsEmulatorProducer.cc.

Referenced by getToweriPhi_fromAbsoluteID().