CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
FWCaloClusterProxyBuilder Class Reference
Inheritance diagram for FWCaloClusterProxyBuilder:
FWHeatmapProxyBuilderTemplate< reco::CaloCluster > FWSimpleProxyBuilder FWProxyBuilderBase

Public Member Functions

 FWCaloClusterProxyBuilder (void)
 
const std::string & purpose () const
 
const std::string & typeName () const
 
const std::string & view () const
 
 ~FWCaloClusterProxyBuilder (void) override
 
- Public Member Functions inherited from FWHeatmapProxyBuilderTemplate< reco::CaloCluster >
 FWHeatmapProxyBuilderTemplate ()
 
- Public Member Functions inherited from FWSimpleProxyBuilder
 FWSimpleProxyBuilder (const std::type_info &iType)
 
 ~FWSimpleProxyBuilder () override
 
- Public Member Functions inherited from FWProxyBuilderBase
void build ()
 
virtual bool canHandle (const FWEventItem &)
 
const fireworks::Contextcontext () const
 
TEveElementList * createProduct (FWViewType::EType, const FWViewContext *)
 
 FWProxyBuilderBase ()
 
bool getHaveWindow () const
 
virtual bool havePerViewProduct (FWViewType::EType) const
 
virtual bool haveSingleProduct () const
 
const FWEventItemitem () const
 
virtual void itemBeingDestroyed (const FWEventItem *)
 
void itemChanged (const FWEventItem *)
 
int layer () const
 
void modelChanges (const FWModelIds &)
 
void removePerViewProduct (FWViewType::EType, const FWViewContext *vc)
 
void scaleChanged (const FWViewContext *)
 
void setHaveWindow (bool iFlag)
 
virtual void setInteractionList (FWInteractionList *, const std::string &)
 
void setupAddElement (TEveElement *el, TEveElement *parent, bool set_color=true) const
 
void setupElement (TEveElement *el, bool color=true) const
 
virtual bool willHandleInteraction () const
 
virtual ~FWProxyBuilderBase ()
 

Static Public Member Functions

static const std::string & classPurpose ()
 
static const std::string & classRegisterTypeName ()
 
static const std::string & classTypeName ()
 
static const std::string & classView ()
 
- Static Public Member Functions inherited from FWSimpleProxyBuilder
static std::string typeOfBuilder ()
 Used by the plugin system to determine how the proxy uses the data from FWEventItem. More...
 
- Static Public Member Functions inherited from FWProxyBuilderBase
static bool representsSubPart ()
 
static std::string typeOfBuilder ()
 Used by the plugin system to determine how the proxy uses the data from FWEventItem. More...
 

Private Member Functions

void build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *vc) override
 
void build (const reco::CaloCluster &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *) override
 
 FWCaloClusterProxyBuilder (const FWCaloClusterProxyBuilder &)=delete
 
const FWCaloClusterProxyBuilderoperator= (const FWCaloClusterProxyBuilder &)=delete
 
void setItem (const FWEventItem *iItem) override
 

Private Attributes

bool enableTimeFilter
 
bool heatmap
 
long layer
 
double saturation_energy
 
double timeLowerBound
 
double timeUpperBound
 
edm::Handle< edm::ValueMap< std::pair< float, float > > > TimeValueMapHandle
 
bool z_minus
 
bool z_plus
 

Additional Inherited Members

- Protected Types inherited from FWProxyBuilderBase
typedef std::vector< Product * >::iterator Product_it
 
- Protected Member Functions inherited from FWHeatmapProxyBuilderTemplate< reco::CaloCluster >
void build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) override
 
void build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *vc) override
 
virtual void build (const void *, unsigned int iIndex, TEveElement &iItemHolder, const FWViewContext *)=0
 
void build (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *context) override
 
void buildViewType (const FWEventItem *iItem, TEveElementList *product, FWViewType::EType viewType, const FWViewContext *) override
 
virtual void buildViewType (const reco::CaloCluster &iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *)
 
virtual void buildViewType (const void *, unsigned int iIndex, TEveElement &iItemHolder, FWViewType::EType, const FWViewContext *)=0
 
void buildViewType (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *context) override
 
const reco::CaloClustermodelData (int index)
 
void setItem (const FWEventItem *iItem) override
 
- Protected Member Functions inherited from FWSimpleProxyBuilder
void build ()
 
virtual void build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *)
 
virtual void buildViewType (const FWEventItem *iItem, TEveElementList *, FWViewType::EType, const FWViewContext *)
 
void buildViewType (const FWEventItem *iItem, TEveElementList *product, FWViewType::EType viewType, const FWViewContext *) override
 
void clean () override
 
- Protected Member Functions inherited from FWProxyBuilderBase
virtual void cleanLocal ()
 
TEveCompound * createCompound (bool set_color=true, bool propagate_color_to_all_children=false) const
 
 FWProxyBuilderBase (const FWProxyBuilderBase &)
 
void increaseComponentTransparency (unsigned int index, TEveElement *holder, const std::string &name, Char_t transpOffset)
 
virtual void localModelChanges (const FWModelId &iId, TEveElement *iCompound, FWViewType::EType viewType, const FWViewContext *vc)
 
virtual void modelChanges (const FWModelIds &, Product *)
 
const FWProxyBuilderBaseoperator= (const FWProxyBuilderBase &)
 
virtual void scaleProduct (TEveElementList *parent, FWViewType::EType, const FWViewContext *vc)
 
- Protected Attributes inherited from FWHeatmapProxyBuilderTemplate< reco::CaloCluster >
std::unordered_map< DetId, const HGCRecHit * > * hitmap
 
- Protected Attributes inherited from FWSimpleProxyBuilder
FWSimpleProxyHelper m_helper
 
- Protected Attributes inherited from FWProxyBuilderBase
std::vector< Product * > m_products
 
- Static Protected Attributes inherited from FWHeatmapProxyBuilderTemplate< reco::CaloCluster >
static constexpr uint8_t gradient [3][gradient_steps]
 
static constexpr uint8_t gradient_steps
 

Detailed Description

Definition at line 11 of file FWCaloClusterProxyBuilder.cc.

Constructor & Destructor Documentation

◆ FWCaloClusterProxyBuilder() [1/2]

FWCaloClusterProxyBuilder::FWCaloClusterProxyBuilder ( void  )
inline

Definition at line 13 of file FWCaloClusterProxyBuilder.cc.

13 {}

◆ ~FWCaloClusterProxyBuilder()

FWCaloClusterProxyBuilder::~FWCaloClusterProxyBuilder ( void  )
inlineoverride

Definition at line 14 of file FWCaloClusterProxyBuilder.cc.

14 {}

◆ FWCaloClusterProxyBuilder() [2/2]

FWCaloClusterProxyBuilder::FWCaloClusterProxyBuilder ( const FWCaloClusterProxyBuilder )
privatedelete

Member Function Documentation

◆ build() [1/2]

void FWCaloClusterProxyBuilder::build ( const FWEventItem iItem,
TEveElementList *  product,
const FWViewContext vc 
)
overrideprivatevirtual

Reimplemented from FWProxyBuilderBase.

Definition at line 50 of file FWCaloClusterProxyBuilder.cc.

50  {
51  iItem->getEvent()->getByLabel(edm::InputTag("hgcalLayerClusters", "timeLayerCluster"), TimeValueMapHandle);
53  timeLowerBound = std::min(item()->getConfig()->value<double>("TimeLowerBound(ns)"),
54  item()->getConfig()->value<double>("TimeUpperBound(ns)"));
55  timeUpperBound = std::max(item()->getConfig()->value<double>("TimeLowerBound(ns)"),
56  item()->getConfig()->value<double>("TimeUpperBound(ns)"));
57  } else {
58  std::cerr << "Warning: couldn't locate 'timeLayerCluster' ValueMap in root file." << std::endl;
59  }
60 
61  layer = item()->getConfig()->value<long>("Layer");
62  saturation_energy = item()->getConfig()->value<double>("EnergyCutOff");
63  heatmap = item()->getConfig()->value<bool>("Heatmap");
64  z_plus = item()->getConfig()->value<bool>("Z+");
65  z_minus = item()->getConfig()->value<bool>("Z-");
66  enableTimeFilter = item()->getConfig()->value<bool>("EnableTimeFilter");
67 
68  FWHeatmapProxyBuilderTemplate::build(iItem, product, vc);
69 }

References FWProxyBuilderBase::build(), EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, enableTimeFilter, edm::EventBase::getByLabel(), FWEventItem::getConfig(), FWEventItem::getEvent(), heatmap, edm::HandleBase::isValid(), FWProxyBuilderBase::item(), FWProxyBuilderBase::layer(), SiStripPI::max, min(), saturation_energy, timeLowerBound, timeUpperBound, TimeValueMapHandle, FWProxyBuilderConfiguration::value(), z_minus, and z_plus.

◆ build() [2/2]

void FWCaloClusterProxyBuilder::build ( const reco::CaloCluster iData,
unsigned int  iIndex,
TEveElement &  oItemHolder,
const FWViewContext  
)
overrideprivatevirtual

iIndex is the index where iData is found in the container from which it came iItemHolder is the object to which you add your own objects which inherit from TEveElement

Reimplemented from FWHeatmapProxyBuilderTemplate< reco::CaloCluster >.

Definition at line 71 of file FWCaloClusterProxyBuilder.cc.

74  {
76  const float time = TimeValueMapHandle->get(iIndex).first;
77  if (time < timeLowerBound || time > timeUpperBound)
78  return;
79  }
80 
81  std::vector<std::pair<DetId, float>> clusterDetIds = iData.hitsAndFractions();
82 
83  bool h_hex(false);
84  TEveBoxSet *hex_boxset = new TEveBoxSet();
85  if (!heatmap)
86  hex_boxset->UseSingleColor();
87  hex_boxset->SetPickable(true);
88  hex_boxset->Reset(TEveBoxSet::kBT_Hex, true, 64);
89  hex_boxset->SetAntiFlick(true);
90 
91  bool h_box(false);
92  TEveBoxSet *boxset = new TEveBoxSet();
93  if (!heatmap)
94  boxset->UseSingleColor();
95  boxset->SetPickable(true);
96  boxset->Reset(TEveBoxSet::kBT_FreeBox, true, 64);
97  boxset->SetAntiFlick(true);
98 
99  for (std::vector<std::pair<DetId, float>>::iterator it = clusterDetIds.begin(), itEnd = clusterDetIds.end();
100  it != itEnd;
101  ++it) {
102  const uint8_t type = ((it->first >> 28) & 0xF);
103 
104  const float *corners = item()->getGeom()->getCorners(it->first);
105  if (corners == nullptr)
106  continue;
107 
108  // HGCal
109  if (iData.algo() == 8 || (type >= 8 && type <= 10)) {
110  if (heatmap && hitmap->find(it->first) == hitmap->end())
111  continue;
112 
113  const bool z = (it->first >> 25) & 0x1;
114 
115  // discard everything thats not at the side that we are intersted in
116  if (((z_plus & z_minus) != 1) && (((z_plus | z_minus) == 0) || !(z == z_minus || z == !z_plus)))
117  continue;
118 
119  const float *parameters = item()->getGeom()->getParameters(it->first);
120  const float *shapes = item()->getGeom()->getShapePars(it->first);
121 
122  if (parameters == nullptr || shapes == nullptr)
123  continue;
124 
125  const int total_points = parameters[0];
126  const bool isScintillator = (total_points == 4);
127 
128  uint8_t ll = layer;
129  if (layer > 0) {
130  if (layer > 28) {
131  if (type == 8) {
132  continue;
133  }
134  ll -= 28;
135  } else {
136  if (type != 8) {
137  continue;
138  }
139  }
140 
141  if (ll != ((it->first >> (isScintillator ? 17 : 20)) & 0x1F))
142  continue;
143  }
144 
145  // seed and cluster position
146  if (iData.seed().rawId() == it->first.rawId()) {
147  TEveStraightLineSet *marker = new TEveStraightLineSet;
148  marker->SetLineWidth(1);
149 
150  // center of RecHit
151  const float center[3] = {corners[total_points * 3 + 0],
152  corners[total_points * 3 + 1],
153  corners[total_points * 3 + 2] + shapes[3] * 0.5f};
154 
155  // draw 3D cross
156  const float crossScale = 1.0f + fmin(iData.energy(), 5.0f);
157  marker->AddLine(center[0] - crossScale, center[1], center[2], center[0] + crossScale, center[1], center[2]);
158  marker->AddLine(center[0], center[1] - crossScale, center[2], center[0], center[1] + crossScale, center[2]);
159  marker->AddLine(center[0], center[1], center[2] - crossScale, center[0], center[1], center[2] + crossScale);
160 
161  oItemHolder.AddElement(marker);
162 
163  TEveStraightLineSet *position_marker = new TEveStraightLineSet;
164  position_marker->SetLineWidth(2);
165  position_marker->SetLineColor(kOrange);
166  auto const &pos = iData.position();
167  const float position_crossScale = crossScale * 0.5;
168  position_marker->AddLine(
169  pos.x() - position_crossScale, pos.y(), pos.z(), pos.x() + position_crossScale, pos.y(), pos.z());
170  position_marker->AddLine(
171  pos.x(), pos.y() - position_crossScale, pos.z(), pos.x(), pos.y() + position_crossScale, pos.z());
172 
173  oItemHolder.AddElement(position_marker);
174  }
175 
176  const float energy =
177  fmin((item()->getConfig()->value<bool>("Cluster(0)/RecHit(1)") ? hitmap->at(it->first)->energy()
178  : iData.energy()) /
180  1.0f);
181  const uint8_t colorFactor = gradient_steps * energy;
182 
183  // Scintillator
184  if (isScintillator) {
185  const int total_vertices = 3 * total_points;
186 
187  std::vector<float> pnts(24);
188  for (int i = 0; i < total_points; ++i) {
189  pnts[i * 3 + 0] = corners[i * 3];
190  pnts[i * 3 + 1] = corners[i * 3 + 1];
191  pnts[i * 3 + 2] = corners[i * 3 + 2];
192 
193  pnts[(i * 3 + 0) + total_vertices] = corners[i * 3];
194  pnts[(i * 3 + 1) + total_vertices] = corners[i * 3 + 1];
195  pnts[(i * 3 + 2) + total_vertices] = corners[i * 3 + 2] + shapes[3];
196  }
197  boxset->AddBox(&pnts[0]);
198  if (heatmap) {
199  energy ? boxset->DigitColor(gradient[0][colorFactor], gradient[1][colorFactor], gradient[2][colorFactor])
200  : boxset->DigitColor(64, 64, 64);
201  }
202 
203  h_box = true;
204  }
205  // Silicon
206  else {
207  constexpr int offset = 9;
208 
209  float centerX = (corners[6] + corners[6 + offset]) / 2;
210  float centerY = (corners[7] + corners[7 + offset]) / 2;
211  float radius = fabs(corners[6] - corners[6 + offset]) / 2;
212  hex_boxset->AddHex(TEveVector(centerX, centerY, corners[2]), radius, 90.0, shapes[3]);
213  if (heatmap) {
214  energy ? hex_boxset->DigitColor(gradient[0][colorFactor], gradient[1][colorFactor], gradient[2][colorFactor])
215  : hex_boxset->DigitColor(64, 64, 64);
216  }
217 
218  h_hex = true;
219  }
220  }
221  // Not HGCal
222  else {
223  h_box = true;
224 
225  std::vector<float> pnts(24);
226  fireworks::energyTower3DCorners(corners, (*it).second, pnts);
227  boxset->AddBox(&pnts[0]);
228  }
229  }
230 
231  if (h_hex) {
232  hex_boxset->RefitPlex();
233 
234  hex_boxset->CSCTakeAnyParentAsMaster();
235  if (!heatmap) {
236  hex_boxset->CSCApplyMainColorToMatchingChildren();
237  hex_boxset->CSCApplyMainTransparencyToMatchingChildren();
238  hex_boxset->SetMainColor(item()->modelInfo(iIndex).displayProperties().color());
239  hex_boxset->SetMainTransparency(item()->defaultDisplayProperties().transparency());
240  }
241  oItemHolder.AddElement(hex_boxset);
242  }
243 
244  if (h_box) {
245  boxset->RefitPlex();
246 
247  boxset->CSCTakeAnyParentAsMaster();
248  if (!heatmap) {
249  boxset->CSCApplyMainColorToMatchingChildren();
250  boxset->CSCApplyMainTransparencyToMatchingChildren();
251  boxset->SetMainColor(item()->modelInfo(iIndex).displayProperties().color());
252  boxset->SetMainTransparency(item()->defaultDisplayProperties().transparency());
253  }
254  oItemHolder.AddElement(boxset);
255  }
256 }

References reco::CaloCluster::algo(), enableTimeFilter, HCALHighEnergyHPDFilter_cfi::energy, reco::CaloCluster::energy(), fireworks::energyTower3DCorners(), f, edm::ValueMap< T >::get(), FWGeometry::getCorners(), FWEventItem::getGeom(), FWGeometry::getParameters(), FWGeometry::getShapePars(), FWHeatmapProxyBuilderTemplate< reco::CaloCluster >::gradient, FWHeatmapProxyBuilderTemplate< reco::CaloCluster >::gradient_steps, heatmap, FWHeatmapProxyBuilderTemplate< reco::CaloCluster >::hitmap, reco::CaloCluster::hitsAndFractions(), mps_fire::i, edm::HandleBase::isValid(), FWProxyBuilderBase::item(), FWProxyBuilderBase::layer(), hltrates_dqm_sourceclient-live_cfg::offset, reco::CaloCluster::position(), CosmicsPD_Skims::radius, DetId::rawId(), saturation_energy, reco::CaloCluster::seed(), protons_cff::time, timeUpperBound, TimeValueMapHandle, trackerHitRTTI::vector, testProducerWithPsetDescEmpty_cfi::x1, z, z_minus, and z_plus.

◆ classPurpose()

const std::string & FWCaloClusterProxyBuilder::classPurpose ( )
static

Definition at line 258 of file FWCaloClusterProxyBuilder.cc.

◆ classRegisterTypeName()

const std::string & FWCaloClusterProxyBuilder::classRegisterTypeName ( )
static

Definition at line 258 of file FWCaloClusterProxyBuilder.cc.

◆ classTypeName()

const std::string & FWCaloClusterProxyBuilder::classTypeName ( )
static

Definition at line 258 of file FWCaloClusterProxyBuilder.cc.

◆ classView()

const std::string & FWCaloClusterProxyBuilder::classView ( )
static

Definition at line 258 of file FWCaloClusterProxyBuilder.cc.

◆ operator=()

const FWCaloClusterProxyBuilder& FWCaloClusterProxyBuilder::operator= ( const FWCaloClusterProxyBuilder )
privatedelete

◆ purpose()

const std::string& FWCaloClusterProxyBuilder::purpose ( ) const
inline

◆ setItem()

void FWCaloClusterProxyBuilder::setItem ( const FWEventItem iItem)
overrideprivatevirtual

Reimplemented from FWProxyBuilderBase.

Definition at line 40 of file FWCaloClusterProxyBuilder.cc.

40  {
42  if (iItem) {
43  iItem->getConfig()->assertParam("Cluster(0)/RecHit(1)", false);
44  iItem->getConfig()->assertParam("EnableTimeFilter", false);
45  iItem->getConfig()->assertParam("TimeLowerBound(ns)", 0.01, 0.0, 75.0);
46  iItem->getConfig()->assertParam("TimeUpperBound(ns)", 0.01, 0.0, 75.0);
47  }
48 }

References FWProxyBuilderConfiguration::assertParam(), FWEventItem::getConfig(), and FWHeatmapProxyBuilderTemplate< T >::setItem().

◆ typeName()

const std::string& FWCaloClusterProxyBuilder::typeName ( ) const
inline

◆ view()

const std::string& FWCaloClusterProxyBuilder::view ( ) const
inline

Member Data Documentation

◆ enableTimeFilter

bool FWCaloClusterProxyBuilder::enableTimeFilter
private

Definition at line 26 of file FWCaloClusterProxyBuilder.cc.

Referenced by build().

◆ heatmap

bool FWCaloClusterProxyBuilder::heatmap
private

Definition at line 23 of file FWCaloClusterProxyBuilder.cc.

Referenced by build().

◆ layer

long FWCaloClusterProxyBuilder::layer
private

◆ saturation_energy

double FWCaloClusterProxyBuilder::saturation_energy
private

Definition at line 22 of file FWCaloClusterProxyBuilder.cc.

Referenced by build().

◆ timeLowerBound

double FWCaloClusterProxyBuilder::timeLowerBound
private

Definition at line 20 of file FWCaloClusterProxyBuilder.cc.

Referenced by build().

◆ timeUpperBound

double FWCaloClusterProxyBuilder::timeUpperBound
private

Definition at line 20 of file FWCaloClusterProxyBuilder.cc.

Referenced by build().

◆ TimeValueMapHandle

edm::Handle<edm::ValueMap<std::pair<float, float> > > FWCaloClusterProxyBuilder::TimeValueMapHandle
private

Definition at line 19 of file FWCaloClusterProxyBuilder.cc.

Referenced by build().

◆ z_minus

bool FWCaloClusterProxyBuilder::z_minus
private

Definition at line 25 of file FWCaloClusterProxyBuilder.cc.

Referenced by build().

◆ z_plus

bool FWCaloClusterProxyBuilder::z_plus
private

Definition at line 24 of file FWCaloClusterProxyBuilder.cc.

Referenced by build().

FWCaloClusterProxyBuilder::timeUpperBound
double timeUpperBound
Definition: FWCaloClusterProxyBuilder.cc:20
FWCaloClusterProxyBuilder::timeLowerBound
double timeLowerBound
Definition: FWCaloClusterProxyBuilder.cc:20
BeamSpotPI::parameters
parameters
Definition: BeamSpotPayloadInspectorHelper.h:30
mps_fire.i
i
Definition: mps_fire.py:428
FWHeatmapProxyBuilderTemplate::setItem
void setItem(const FWEventItem *iItem) override
Definition: FWHeatmapProxyBuilderTemplate.h:82
FWGeometry::getCorners
const float * getCorners(unsigned int id) const
Definition: FWGeometry.cc:467
FWEventItem::getConfig
FWProxyBuilderConfiguration * getConfig() const
Definition: FWEventItem.h:150
edm::EventBase::getByLabel
bool getByLabel(InputTag const &, Handle< T > &) const
Definition: EventBase.h:92
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
FWHeatmapProxyBuilderTemplate< reco::CaloCluster >::gradient_steps
static constexpr uint8_t gradient_steps
Definition: FWHeatmapProxyBuilderTemplate.h:49
min
T min(T a, T b)
Definition: MathUtil.h:58
FWCaloClusterProxyBuilder::saturation_energy
double saturation_energy
Definition: FWCaloClusterProxyBuilder.cc:22
pos
Definition: PixelAliasList.h:18
FWCaloClusterProxyBuilder::TimeValueMapHandle
edm::Handle< edm::ValueMap< std::pair< float, float > > > TimeValueMapHandle
Definition: FWCaloClusterProxyBuilder.cc:19
FWGeometry::getShapePars
const float * getShapePars(unsigned int id) const
Definition: FWGeometry.cc:489
protons_cff.time
time
Definition: protons_cff.py:39
FWCaloClusterProxyBuilder::z_minus
bool z_minus
Definition: FWCaloClusterProxyBuilder.cc:25
edm::Handle
Definition: AssociativeIterator.h:50
FWGeometry::getParameters
const float * getParameters(unsigned int id) const
Definition: FWGeometry.cc:478
FWProxyBuilderBase::layer
int layer() const
Definition: FWProxyBuilderBase.cc:414
testProducerWithPsetDescEmpty_cfi.x1
x1
Definition: testProducerWithPsetDescEmpty_cfi.py:33
DDAxes::z
fireworks::energyTower3DCorners
void energyTower3DCorners(const float *corners, float scale, std::vector< float > &, bool reflect=false)
Definition: BuilderUtils.cc:287
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
FWProxyBuilderConfiguration::assertParam
FWGenericParameter< T > * assertParam(const std::string &name, T def)
Definition: FWProxyBuilderConfiguration.cc:83
FWEventItem::getEvent
const edm::EventBase * getEvent() const
Definition: FWEventItem.h:131
FWHeatmapProxyBuilderTemplate< reco::CaloCluster >::gradient
static constexpr uint8_t gradient[3][gradient_steps]
Definition: FWHeatmapProxyBuilderTemplate.h:50
FWCaloClusterProxyBuilder::heatmap
bool heatmap
Definition: FWCaloClusterProxyBuilder.cc:23
reco::CaloCluster::hitsAndFractions
const std::vector< std::pair< DetId, float > > & hitsAndFractions() const
Definition: CaloCluster.h:210
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
FWCaloClusterProxyBuilder::enableTimeFilter
bool enableTimeFilter
Definition: FWCaloClusterProxyBuilder.cc:26
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
FWProxyBuilderBase::build
void build()
Definition: FWProxyBuilderBase.cc:110
reco::CaloCluster::seed
DetId seed() const
return DetId of seed
Definition: CaloCluster.h:219
reco::CaloCluster::position
const math::XYZPoint & position() const
cluster centroid position
Definition: CaloCluster.h:154
FWEventItem::getGeom
const FWGeometry * getGeom() const
Definition: FWEventItem.cc:548
FWProxyBuilderBase::item
const FWEventItem * item() const
Definition: FWProxyBuilderBase.h:64
edm::ValueMap::get
const_reference_type get(ProductID id, size_t idx) const
Definition: ValueMap.h:144
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
FWProxyBuilderConfiguration::value
T value(const std::string &name)
Definition: FWProxyBuilderConfiguration.cc:123
reco::CaloCluster::algo
AlgoId algo() const
algorithm identifier
Definition: CaloCluster.h:190
CosmicsPD_Skims.radius
radius
Definition: CosmicsPD_Skims.py:135
FWHeatmapProxyBuilderTemplate< reco::CaloCluster >::hitmap
std::unordered_map< DetId, const HGCRecHit * > * hitmap
Definition: FWHeatmapProxyBuilderTemplate.h:47
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
hltrates_dqm_sourceclient-live_cfg.offset
offset
Definition: hltrates_dqm_sourceclient-live_cfg.py:82
EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0.cerr
cerr
Definition: EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0.py:8
reco::CaloCluster::energy
double energy() const
cluster energy
Definition: CaloCluster.h:149
FWCaloClusterProxyBuilder::z_plus
bool z_plus
Definition: FWCaloClusterProxyBuilder.cc:24
edm::InputTag
Definition: InputTag.h:15