CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
FWTracksterHitsProxyBuilder Class Reference
Inheritance diagram for FWTracksterHitsProxyBuilder:
FWHeatmapProxyBuilderTemplate< ticl::Trackster > FWSimpleProxyBuilder FWProxyBuilderBase

Public Member Functions

 FWTracksterHitsProxyBuilder (void)
 
const std::string & purpose () const
 
const std::string & typeName () const
 
const std::string & view () const
 
 ~FWTracksterHitsProxyBuilder (void) override
 
- Public Member Functions inherited from FWHeatmapProxyBuilderTemplate< ticl::Trackster >
 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 ticl::Trackster &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *) override
 
 FWTracksterHitsProxyBuilder (const FWTracksterHitsProxyBuilder &)=delete
 
const FWTracksterHitsProxyBuilderoperator= (const FWTracksterHitsProxyBuilder &)=delete
 
void setItem (const FWEventItem *iItem) override
 

Private Attributes

bool enableEdges
 
bool enablePositionLines
 
bool enableSeedLines
 
bool enableTimeFilter
 
bool heatmap
 
long layer
 
edm::Handle< std::vector< reco::CaloCluster > > layerClustersHandle
 
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< ticl::Trackster >
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 ticl::Trackster &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 ticl::TrackstermodelData (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< ticl::Trackster >
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< ticl::Trackster >
static constexpr uint8_t gradient [3][gradient_steps]
 
static constexpr uint8_t gradient_steps
 

Detailed Description

Definition at line 16 of file FWTracksterHitsProxyBuilder.cc.

Constructor & Destructor Documentation

◆ FWTracksterHitsProxyBuilder() [1/2]

FWTracksterHitsProxyBuilder::FWTracksterHitsProxyBuilder ( void  )
inline

Definition at line 18 of file FWTracksterHitsProxyBuilder.cc.

18 {}

◆ ~FWTracksterHitsProxyBuilder()

FWTracksterHitsProxyBuilder::~FWTracksterHitsProxyBuilder ( void  )
inlineoverride

Definition at line 19 of file FWTracksterHitsProxyBuilder.cc.

19 {}

◆ FWTracksterHitsProxyBuilder() [2/2]

FWTracksterHitsProxyBuilder::FWTracksterHitsProxyBuilder ( const FWTracksterHitsProxyBuilder )
privatedelete

Member Function Documentation

◆ build() [1/2]

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

Reimplemented from FWProxyBuilderBase.

Definition at line 62 of file FWTracksterHitsProxyBuilder.cc.

62  {
63  iItem->getEvent()->getByLabel(edm::InputTag("hgcalLayerClusters", "timeLayerCluster"), TimeValueMapHandle);
64  iItem->getEvent()->getByLabel(edm::InputTag("hgcalLayerClusters"), layerClustersHandle);
66  timeLowerBound = item()->getConfig()->value<double>("TimeLowerBound(ns)");
67  timeUpperBound = item()->getConfig()->value<double>("TimeUpperBound(ns)");
69  edm::LogWarning("InvalidParameters")
70  << "lower time bound is larger than upper time bound. Maybe opposite is desired?";
71  }
72  } else {
73  edm::LogWarning("DataNotFound|InvalidData") << "couldn't locate 'timeLayerCluster' ValueMap in root file.";
74  }
75 
77  edm::LogWarning("DataNotFound|InvalidData") << "couldn't locate 'timeLayerCluster' ValueMap in root file.";
78  }
79 
80  layer = item()->getConfig()->value<long>("Layer");
81  saturation_energy = item()->getConfig()->value<double>("EnergyCutOff");
82  heatmap = item()->getConfig()->value<bool>("Heatmap");
83  z_plus = item()->getConfig()->value<bool>("Z+");
84  z_minus = item()->getConfig()->value<bool>("Z-");
85  enableTimeFilter = item()->getConfig()->value<bool>("EnableTimeFilter");
86  enableSeedLines = item()->getConfig()->value<bool>("EnableSeedLines");
87  enablePositionLines = item()->getConfig()->value<bool>("EnablePositionLines");
88  enableEdges = item()->getConfig()->value<bool>("EnableEdges");
89 
90  FWHeatmapProxyBuilderTemplate::build(iItem, product, vc);
91 }

References FWProxyBuilderBase::build(), enableEdges, enablePositionLines, enableSeedLines, enableTimeFilter, edm::EventBase::getByLabel(), FWEventItem::getConfig(), FWEventItem::getEvent(), heatmap, edm::HandleBase::isValid(), FWProxyBuilderBase::item(), FWProxyBuilderBase::layer(), layerClustersHandle, saturation_energy, timeLowerBound, timeUpperBound, TimeValueMapHandle, FWProxyBuilderConfiguration::value(), z_minus, and z_plus.

◆ build() [2/2]

void FWTracksterHitsProxyBuilder::build ( const ticl::Trackster 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< ticl::Trackster >.

Definition at line 93 of file FWTracksterHitsProxyBuilder.cc.

96  {
98  const float time = TimeValueMapHandle->get(iIndex).first;
99  if (time < timeLowerBound || time > timeUpperBound)
100  return;
101  }
102 
103  const ticl::Trackster &trackster = iData;
104  const size_t N = trackster.vertices().size();
105  const std::vector<reco::CaloCluster> &layerClusters = *layerClustersHandle;
106 
107  bool h_hex(false);
108  TEveBoxSet *hex_boxset = new TEveBoxSet();
109  if (!heatmap)
110  hex_boxset->UseSingleColor();
111  hex_boxset->SetPickable(true);
112  hex_boxset->Reset(TEveBoxSet::kBT_Hex, true, 64);
113  hex_boxset->SetAntiFlick(true);
114 
115  bool h_box(false);
116  TEveBoxSet *boxset = new TEveBoxSet();
117  if (!heatmap)
118  boxset->UseSingleColor();
119  boxset->SetPickable(true);
120  boxset->Reset(TEveBoxSet::kBT_FreeBox, true, 64);
121  boxset->SetAntiFlick(true);
122 
123  for (size_t i = 0; i < N; ++i) {
124  const reco::CaloCluster layerCluster = layerClusters[trackster.vertices(i)];
125  std::vector<std::pair<DetId, float>> clusterDetIds = layerCluster.hitsAndFractions();
126 
127  for (std::vector<std::pair<DetId, float>>::iterator it = clusterDetIds.begin(), itEnd = clusterDetIds.end();
128  it != itEnd;
129  ++it) {
130  const uint8_t type = ((it->first >> 28) & 0xF);
131 
132  const float *corners = item()->getGeom()->getCorners(it->first);
133  if (corners == nullptr)
134  continue;
135 
136  if (heatmap && hitmap->find(it->first) == hitmap->end())
137  continue;
138 
139  const bool z = (it->first >> 25) & 0x1;
140 
141  // discard everything thats not at the side that we are intersted in
142  if (((z_plus & z_minus) != 1) && (((z_plus | z_minus) == 0) || !(z == z_minus || z == !z_plus)))
143  continue;
144 
145  const float *parameters = item()->getGeom()->getParameters(it->first);
146  const float *shapes = item()->getGeom()->getShapePars(it->first);
147 
148  if (parameters == nullptr || shapes == nullptr)
149  continue;
150 
151  const int total_points = parameters[0];
152  const bool isScintillator = (total_points == 4);
153 
154  uint8_t ll = layer;
155  if (layer > 0) {
156  if (layer > 28) {
157  if (type == 8) {
158  continue;
159  }
160  ll -= 28;
161  } else {
162  if (type != 8) {
163  continue;
164  }
165  }
166 
167  if (ll != ((it->first >> (isScintillator ? 17 : 20)) & 0x1F))
168  continue;
169  }
170 
171  // seed and cluster position
172  if (layerCluster.seed().rawId() == it->first.rawId()) {
173  const float crossScale = 1.0f + fmin(layerCluster.energy(), 5.0f);
174  if (enableSeedLines) {
175  TEveStraightLineSet *marker = new TEveStraightLineSet;
176  marker->SetLineWidth(1);
177 
178  // center of RecHit
179  const float center[3] = {corners[total_points * 3 + 0],
180  corners[total_points * 3 + 1],
181  corners[total_points * 3 + 2] + shapes[3] * 0.5f};
182 
183  // draw 3D cross
184  marker->AddLine(center[0] - crossScale, center[1], center[2], center[0] + crossScale, center[1], center[2]);
185  marker->AddLine(center[0], center[1] - crossScale, center[2], center[0], center[1] + crossScale, center[2]);
186  marker->AddLine(center[0], center[1], center[2] - crossScale, center[0], center[1], center[2] + crossScale);
187 
188  oItemHolder.AddElement(marker);
189  }
190 
191  if (enablePositionLines) {
192  TEveStraightLineSet *position_marker = new TEveStraightLineSet;
193  position_marker->SetLineWidth(2);
194  position_marker->SetLineColor(kOrange);
195  auto const &pos = layerCluster.position();
196  const float position_crossScale = crossScale * 0.5;
197  position_marker->AddLine(
198  pos.x() - position_crossScale, pos.y(), pos.z(), pos.x() + position_crossScale, pos.y(), pos.z());
199  position_marker->AddLine(
200  pos.x(), pos.y() - position_crossScale, pos.z(), pos.x(), pos.y() + position_crossScale, pos.z());
201 
202  oItemHolder.AddElement(position_marker);
203  }
204  }
205 
206  const float energy =
207  fmin((item()->getConfig()->value<bool>("Cluster(0)/RecHit(1)") ? hitmap->at(it->first)->energy()
208  : layerCluster.energy()) /
210  1.0f);
211  const uint8_t colorFactor = gradient_steps * energy;
212 
213  // Scintillator
214  if (isScintillator) {
215  const int total_vertices = 3 * total_points;
216 
217  std::vector<float> pnts(24);
218  for (int i = 0; i < total_points; ++i) {
219  pnts[i * 3 + 0] = corners[i * 3];
220  pnts[i * 3 + 1] = corners[i * 3 + 1];
221  pnts[i * 3 + 2] = corners[i * 3 + 2];
222 
223  pnts[(i * 3 + 0) + total_vertices] = corners[i * 3];
224  pnts[(i * 3 + 1) + total_vertices] = corners[i * 3 + 1];
225  pnts[(i * 3 + 2) + total_vertices] = corners[i * 3 + 2] + shapes[3];
226  }
227  boxset->AddBox(&pnts[0]);
228  if (heatmap) {
229  energy ? boxset->DigitColor(gradient[0][colorFactor], gradient[1][colorFactor], gradient[2][colorFactor])
230  : boxset->DigitColor(64, 64, 64);
231  }
232 
233  h_box = true;
234  }
235  // Silicon
236  else {
237  constexpr int offset = 9;
238 
239  float centerX = (corners[6] + corners[6 + offset]) / 2;
240  float centerY = (corners[7] + corners[7 + offset]) / 2;
241  float radius = fabs(corners[6] - corners[6 + offset]) / 2;
242  hex_boxset->AddHex(TEveVector(centerX, centerY, corners[2]), radius, 90.0, shapes[3]);
243  if (heatmap) {
244  energy ? hex_boxset->DigitColor(gradient[0][colorFactor], gradient[1][colorFactor], gradient[2][colorFactor])
245  : hex_boxset->DigitColor(64, 64, 64);
246  }
247 
248  h_hex = true;
249  }
250  }
251  }
252 
253  if (enableEdges) {
254  auto &edges = trackster.edges();
255 
256  for (auto edge : edges) {
257  auto doublet = std::make_pair(layerClusters[edge[0]], layerClusters[edge[1]]);
258 
259  const bool isScintillatorIn = doublet.first.seed().det() == DetId::HGCalHSc;
260  const bool isScintillatorOut = doublet.second.seed().det() == DetId::HGCalHSc;
261  int layerIn = (isScintillatorIn) ? (HGCScintillatorDetId(doublet.first.seed()).layer())
262  : (HGCSiliconDetId(doublet.first.seed()).layer());
263  int layerOut = (isScintillatorOut) ? (HGCScintillatorDetId(doublet.second.seed()).layer())
264  : (HGCSiliconDetId(doublet.second.seed()).layer());
265 
266  // Check if offset is needed
267  const int offset = 28;
268  const int offsetIn = offset * (doublet.first.seed().det() != DetId::HGCalEE);
269  const int offsetOut = offset * (doublet.second.seed().det() != DetId::HGCalEE);
270  layerIn += offsetIn;
271  layerOut += offsetOut;
272 
273  const bool isAdjacent = (layerOut - layerIn) == 1;
274 
275  TEveStraightLineSet *marker = new TEveStraightLineSet;
276  marker->SetLineWidth(2);
277  if (isAdjacent) {
278  marker->SetLineColor(kYellow);
279  } else {
280  marker->SetLineColor(kRed);
281  }
282 
283  // draw 3D cross
284  if (layer == 0 || fabs(layerIn - layer) == 0 || fabs(layerOut - layer) == 0) {
285  marker->AddLine(doublet.first.x(),
286  doublet.first.y(),
287  doublet.first.z(),
288  doublet.second.x(),
289  doublet.second.y(),
290  doublet.second.z());
291  }
292 
293  oItemHolder.AddElement(marker);
294  }
295  }
296 
297  if (h_hex) {
298  hex_boxset->RefitPlex();
299 
300  hex_boxset->CSCTakeAnyParentAsMaster();
301  if (!heatmap) {
302  hex_boxset->CSCApplyMainColorToMatchingChildren();
303  hex_boxset->CSCApplyMainTransparencyToMatchingChildren();
304  hex_boxset->SetMainColor(item()->modelInfo(iIndex).displayProperties().color());
305  hex_boxset->SetMainTransparency(item()->defaultDisplayProperties().transparency());
306  }
307  oItemHolder.AddElement(hex_boxset);
308  }
309 
310  if (h_box) {
311  boxset->RefitPlex();
312 
313  boxset->CSCTakeAnyParentAsMaster();
314  if (!heatmap) {
315  boxset->CSCApplyMainColorToMatchingChildren();
316  boxset->CSCApplyMainTransparencyToMatchingChildren();
317  boxset->SetMainColor(item()->modelInfo(iIndex).displayProperties().color());
318  boxset->SetMainTransparency(item()->defaultDisplayProperties().transparency());
319  }
320  oItemHolder.AddElement(boxset);
321  }
322 }

References ticl::Trackster::edges(), SelectiveReadoutTask_cfi::edges, enableEdges, enablePositionLines, enableSeedLines, enableTimeFilter, HCALHighEnergyHPDFilter_cfi::energy, reco::CaloCluster::energy(), f, edm::ValueMap< T >::get(), FWGeometry::getCorners(), FWEventItem::getGeom(), FWGeometry::getParameters(), FWGeometry::getShapePars(), FWHeatmapProxyBuilderTemplate< ticl::Trackster >::gradient, FWHeatmapProxyBuilderTemplate< ticl::Trackster >::gradient_steps, heatmap, DetId::HGCalEE, DetId::HGCalHSc, FWHeatmapProxyBuilderTemplate< ticl::Trackster >::hitmap, reco::CaloCluster::hitsAndFractions(), mps_fire::i, edm::HandleBase::isValid(), FWProxyBuilderBase::item(), FWProxyBuilderBase::layer(), HLTEgPhaseIITestSequence_cff::layerClusters, layerClustersHandle, N, 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, ticl::Trackster::vertices(), testProducerWithPsetDescEmpty_cfi::x1, z, z_minus, and z_plus.

◆ classPurpose()

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

Definition at line 324 of file FWTracksterHitsProxyBuilder.cc.

◆ classRegisterTypeName()

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

Definition at line 324 of file FWTracksterHitsProxyBuilder.cc.

◆ classTypeName()

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

Definition at line 324 of file FWTracksterHitsProxyBuilder.cc.

◆ classView()

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

Definition at line 324 of file FWTracksterHitsProxyBuilder.cc.

◆ operator=()

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

◆ purpose()

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

◆ setItem()

void FWTracksterHitsProxyBuilder::setItem ( const FWEventItem iItem)
overrideprivatevirtual

Reimplemented from FWProxyBuilderBase.

Definition at line 49 of file FWTracksterHitsProxyBuilder.cc.

49  {
51  if (iItem) {
52  iItem->getConfig()->assertParam("Cluster(0)/RecHit(1)", false);
53  iItem->getConfig()->assertParam("EnableSeedLines", false);
54  iItem->getConfig()->assertParam("EnablePositionLines", false);
55  iItem->getConfig()->assertParam("EnableEdges", false);
56  iItem->getConfig()->assertParam("EnableTimeFilter", false);
57  iItem->getConfig()->assertParam("TimeLowerBound(ns)", 0.01, 0.0, 75.0);
58  iItem->getConfig()->assertParam("TimeUpperBound(ns)", 0.01, 0.0, 75.0);
59  }
60 }

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

◆ typeName()

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

◆ view()

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

Member Data Documentation

◆ enableEdges

bool FWTracksterHitsProxyBuilder::enableEdges
private

Definition at line 35 of file FWTracksterHitsProxyBuilder.cc.

Referenced by build().

◆ enablePositionLines

bool FWTracksterHitsProxyBuilder::enablePositionLines
private

Definition at line 34 of file FWTracksterHitsProxyBuilder.cc.

Referenced by build().

◆ enableSeedLines

bool FWTracksterHitsProxyBuilder::enableSeedLines
private

Definition at line 33 of file FWTracksterHitsProxyBuilder.cc.

Referenced by build().

◆ enableTimeFilter

bool FWTracksterHitsProxyBuilder::enableTimeFilter
private

Definition at line 32 of file FWTracksterHitsProxyBuilder.cc.

Referenced by build().

◆ heatmap

bool FWTracksterHitsProxyBuilder::heatmap
private

Definition at line 29 of file FWTracksterHitsProxyBuilder.cc.

Referenced by build().

◆ layer

long FWTracksterHitsProxyBuilder::layer
private

◆ layerClustersHandle

edm::Handle<std::vector<reco::CaloCluster> > FWTracksterHitsProxyBuilder::layerClustersHandle
private

Definition at line 25 of file FWTracksterHitsProxyBuilder.cc.

Referenced by build().

◆ saturation_energy

double FWTracksterHitsProxyBuilder::saturation_energy
private

Definition at line 28 of file FWTracksterHitsProxyBuilder.cc.

Referenced by build().

◆ timeLowerBound

double FWTracksterHitsProxyBuilder::timeLowerBound
private

Definition at line 26 of file FWTracksterHitsProxyBuilder.cc.

Referenced by build().

◆ timeUpperBound

double FWTracksterHitsProxyBuilder::timeUpperBound
private

Definition at line 26 of file FWTracksterHitsProxyBuilder.cc.

Referenced by build().

◆ TimeValueMapHandle

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

Definition at line 24 of file FWTracksterHitsProxyBuilder.cc.

Referenced by build().

◆ z_minus

bool FWTracksterHitsProxyBuilder::z_minus
private

Definition at line 31 of file FWTracksterHitsProxyBuilder.cc.

Referenced by build().

◆ z_plus

bool FWTracksterHitsProxyBuilder::z_plus
private

Definition at line 30 of file FWTracksterHitsProxyBuilder.cc.

Referenced by build().

FWTracksterHitsProxyBuilder::z_minus
bool z_minus
Definition: FWTracksterHitsProxyBuilder.cc:31
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< ticl::Trackster >::gradient_steps
static constexpr uint8_t gradient_steps
Definition: FWHeatmapProxyBuilderTemplate.h:49
FWTracksterHitsProxyBuilder::enableTimeFilter
bool enableTimeFilter
Definition: FWTracksterHitsProxyBuilder.cc:32
pos
Definition: PixelAliasList.h:18
FWGeometry::getShapePars
const float * getShapePars(unsigned int id) const
Definition: FWGeometry.cc:489
protons_cff.time
time
Definition: protons_cff.py:39
FWTracksterHitsProxyBuilder::enablePositionLines
bool enablePositionLines
Definition: FWTracksterHitsProxyBuilder.cc:34
FWTracksterHitsProxyBuilder::enableSeedLines
bool enableSeedLines
Definition: FWTracksterHitsProxyBuilder.cc:33
FWTracksterHitsProxyBuilder::heatmap
bool heatmap
Definition: FWTracksterHitsProxyBuilder.cc:29
edm::Handle
Definition: AssociativeIterator.h:50
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
HGCSiliconDetId
Definition: HGCSiliconDetId.h:22
FWTracksterHitsProxyBuilder::TimeValueMapHandle
edm::Handle< edm::ValueMap< std::pair< float, float > > > TimeValueMapHandle
Definition: FWTracksterHitsProxyBuilder.cc:24
FWTracksterHitsProxyBuilder::timeLowerBound
double timeLowerBound
Definition: FWTracksterHitsProxyBuilder.cc:26
DetId::HGCalEE
Definition: DetId.h:32
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
FWTracksterHitsProxyBuilder::layerClustersHandle
edm::Handle< std::vector< reco::CaloCluster > > layerClustersHandle
Definition: FWTracksterHitsProxyBuilder.cc:25
reco::CaloCluster
Definition: CaloCluster.h:31
DDAxes::z
N
#define N
Definition: blowfish.cc:9
ticl::Trackster::edges
std::vector< std::array< unsigned int, 2 > > & edges()
Definition: Trackster.h:58
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
HLTEgPhaseIITestSequence_cff.layerClusters
layerClusters
Definition: HLTEgPhaseIITestSequence_cff.py:2506
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< ticl::Trackster >::gradient
static constexpr uint8_t gradient[3][gradient_steps]
Definition: FWHeatmapProxyBuilderTemplate.h:50
reco::CaloCluster::hitsAndFractions
const std::vector< std::pair< DetId, float > > & hitsAndFractions() const
Definition: CaloCluster.h:210
FWTracksterHitsProxyBuilder::z_plus
bool z_plus
Definition: FWTracksterHitsProxyBuilder.cc:30
FWTracksterHitsProxyBuilder::enableEdges
bool enableEdges
Definition: FWTracksterHitsProxyBuilder.cc:35
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
FWProxyBuilderBase::build
void build()
Definition: FWProxyBuilderBase.cc:110
SelectiveReadoutTask_cfi.edges
edges
Definition: SelectiveReadoutTask_cfi.py:107
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
HGCScintillatorDetId
Definition: HGCScintillatorDetId.h:23
DetId::HGCalHSc
Definition: DetId.h:34
ticl::Trackster::vertices
std::vector< unsigned int > & vertices()
Definition: Trackster.h:56
CosmicsPD_Skims.radius
radius
Definition: CosmicsPD_Skims.py:135
FWTracksterHitsProxyBuilder::timeUpperBound
double timeUpperBound
Definition: FWTracksterHitsProxyBuilder.cc:26
FWTracksterHitsProxyBuilder::saturation_energy
double saturation_energy
Definition: FWTracksterHitsProxyBuilder.cc:28
FWHeatmapProxyBuilderTemplate< ticl::Trackster >::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
reco::CaloCluster::energy
double energy() const
cluster energy
Definition: CaloCluster.h:149
edm::InputTag
Definition: InputTag.h:15
ticl::Trackster
Definition: Trackster.h:19