CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Member Functions | Private Attributes
SeedMultiplicityAnalyzer Class Reference

#include <myTKAnalyses/TrackRecoMonitoring/src/SeedMultiplicityAnalyzer.cc>

Inheritance diagram for SeedMultiplicityAnalyzer:
edm::EDAnalyzer edm::EDConsumerBase

Classes

class  FromTrackRefSeedFilter
 

Public Member Functions

 SeedMultiplicityAnalyzer (const edm::ParameterSet &)
 
 ~SeedMultiplicityAnalyzer () override
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
 ~EDAnalyzer () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 

Private Attributes

std::vector< unsigned int > _binseta
 
std::vector< unsigned int > _binsmult
 
std::string _buildername
 
std::vector< TH2F * > _hbpixcluslenangle
 
std::vector< TH2F * > _hbpixclusleneta
 
std::vector< TH2F * > _hfpixcluslenangle
 
std::vector< TH2F * > _hfpixclusleneta
 
std::vector< TH1F * > _hpixelrhmult
 
std::vector< TH1F * > _hseedeta
 
std::vector< std::vector< TH2F * > > _hseedeta2D
 
std::vector< TH1F * > _hseedmult
 
std::vector< std::vector< TH2F * > > _hseedmult2D
 
std::vector< TH2F * > _hseedphieta
 
std::vector< std::string > _labels
 
std::vector< double > _maxs
 
std::vector< edm::EDGetTokenT< std::map< unsigned int, int > > > _multiplicityMapTokens
 
std::vector< unsigned int > _seedbins
 
std::vector< edm::EDGetTokenT< TrajectorySeedCollection > > _seedcollTokens
 
std::vector< FromTrackRefSeedFilter_seedfilters
 
std::vector< double > _seedmax
 
std::vector< unsigned int > _selections
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Description: <one line="" class="" summary>="">

Implementation: <Notes on="" implementation>="">

Definition at line 69 of file SeedMultiplicityAnalyzer.cc.

Constructor & Destructor Documentation

◆ SeedMultiplicityAnalyzer()

SeedMultiplicityAnalyzer::SeedMultiplicityAnalyzer ( const edm::ParameterSet iConfig)
explicit

Definition at line 130 of file SeedMultiplicityAnalyzer.cc.

131  : _buildername(iConfig.getParameter<std::string>("TTRHBuilder")),
132  _seedcollTokens(),
133  _seedbins(),
134  _seedmax(),
135  _seedfilters(),
137  _labels(),
138  _selections(),
139  _binsmult(),
140  _binseta(),
141  _maxs(),
142  _hseedmult2D(),
143  _hseedeta2D() {
144  //now do what ever initialization is needed
145 
146  //
147 
148  std::vector<edm::ParameterSet> seedCollectionConfigs =
149  iConfig.getParameter<std::vector<edm::ParameterSet>>("seedCollections");
150 
151  for (std::vector<edm::ParameterSet>::const_iterator scps = seedCollectionConfigs.begin();
152  scps != seedCollectionConfigs.end();
153  ++scps) {
154  _seedcollTokens.push_back(consumes<TrajectorySeedCollection>(scps->getParameter<edm::InputTag>("src")));
155  _seedbins.push_back(scps->getUntrackedParameter<unsigned int>("nBins", 1000));
156  _seedmax.push_back(scps->getUntrackedParameter<double>("maxValue", 100000.));
157 
158  if (scps->exists("trackFilter")) {
159  _seedfilters.push_back(
160  FromTrackRefSeedFilter(consumesCollector(), scps->getParameter<edm::ParameterSet>("trackFilter")));
161  } else {
162  _seedfilters.push_back(FromTrackRefSeedFilter());
163  }
164  }
165 
166  std::vector<edm::ParameterSet> correlationConfigs =
167  iConfig.getParameter<std::vector<edm::ParameterSet>>("multiplicityCorrelations");
168 
169  for (std::vector<edm::ParameterSet>::const_iterator ps = correlationConfigs.begin(); ps != correlationConfigs.end();
170  ++ps) {
171  _multiplicityMapTokens.push_back(
172  consumes<std::map<unsigned int, int>>(ps->getParameter<edm::InputTag>("multiplicityMap")));
173  _labels.push_back(ps->getParameter<std::string>("detLabel"));
174  _selections.push_back(ps->getParameter<unsigned int>("detSelection"));
175  _binsmult.push_back(ps->getParameter<unsigned int>("nBins"));
176  _binseta.push_back(ps->getParameter<unsigned int>("nBinsEta"));
177  _maxs.push_back(ps->getParameter<double>("maxValue"));
178  }
179 
181 
182  std::vector<unsigned int>::const_iterator nseedbins = _seedbins.begin();
183  std::vector<double>::const_iterator seedmax = _seedmax.begin();
184  std::vector<FromTrackRefSeedFilter>::const_iterator filter = _seedfilters.begin();
185 
186  for (std::vector<edm::ParameterSet>::const_iterator scps = seedCollectionConfigs.begin();
187  scps != seedCollectionConfigs.end();
188  ++scps, ++nseedbins, ++seedmax, ++filter) {
189  std::string extendedlabel = std::string(scps->getParameter<edm::InputTag>("src").encode()) + filter->suffix();
190 
191  std::string hname = extendedlabel + std::string("_mult");
192  std::string htitle = extendedlabel + std::string(" seed multiplicity");
193  _hseedmult.push_back(tfserv->make<TH1F>(
194  hname.c_str(), htitle.c_str(), *nseedbins + 1, 0.5 - *seedmax / (*nseedbins), *seedmax + 0.5));
195  _hseedmult[_hseedmult.size() - 1]->GetXaxis()->SetTitle("seeds");
196  _hseedmult[_hseedmult.size() - 1]->GetYaxis()->SetTitle("events");
197 
198  hname = extendedlabel + std::string("_eta");
199  htitle = extendedlabel + std::string(" seed pseudorapidity");
200  _hseedeta.push_back(tfserv->make<TH1F>(hname.c_str(), htitle.c_str(), 80, -4., 4.));
201  _hseedeta[_hseedeta.size() - 1]->GetXaxis()->SetTitle("#eta");
202  _hseedeta[_hseedeta.size() - 1]->GetYaxis()->SetTitle("seeds");
203 
204  hname = extendedlabel + std::string("_phieta");
205  htitle = extendedlabel + std::string(" seed phi vs pseudorapidity");
206  _hseedphieta.push_back(tfserv->make<TH2F>(hname.c_str(), htitle.c_str(), 80, -4., 4., 80, -M_PI, M_PI));
207  _hseedphieta[_hseedphieta.size() - 1]->GetXaxis()->SetTitle("#eta");
208  _hseedphieta[_hseedphieta.size() - 1]->GetYaxis()->SetTitle("#phi");
209 
210  _hseedmult2D.push_back(std::vector<TH2F*>());
211  _hseedeta2D.push_back(std::vector<TH2F*>());
212 
213  hname = extendedlabel + std::string("_npixelrh");
214  htitle = extendedlabel + std::string(" seed SiPixelRecHit multiplicity");
215  _hpixelrhmult.push_back(tfserv->make<TH1F>(hname.c_str(), htitle.c_str(), 5, -.5, 4.5));
216  _hpixelrhmult[_hpixelrhmult.size() - 1]->GetXaxis()->SetTitle("NRecHits");
217  _hpixelrhmult[_hpixelrhmult.size() - 1]->GetYaxis()->SetTitle("seeds");
218 
219  hname = extendedlabel + std::string("_bpixleneta");
220  htitle = extendedlabel + std::string(" seed BPIX cluster length vs pseudorapidity");
221  _hbpixclusleneta.push_back(tfserv->make<TH2F>(hname.c_str(), htitle.c_str(), 80, -4., 4., 40, -0.5, 39.5));
222  _hbpixclusleneta[_hbpixclusleneta.size() - 1]->GetXaxis()->SetTitle("#eta");
223  _hbpixclusleneta[_hbpixclusleneta.size() - 1]->GetYaxis()->SetTitle("length");
224 
225  hname = extendedlabel + std::string("_fpixleneta");
226  htitle = extendedlabel + std::string(" seed FPIX cluster length vs pseudorapidity");
227  _hfpixclusleneta.push_back(tfserv->make<TH2F>(hname.c_str(), htitle.c_str(), 80, -4., 4., 40, -0.5, 39.5));
228  _hfpixclusleneta[_hfpixclusleneta.size() - 1]->GetXaxis()->SetTitle("#eta");
229  _hfpixclusleneta[_hfpixclusleneta.size() - 1]->GetYaxis()->SetTitle("length");
230 
231  hname = extendedlabel + std::string("_bpixlenangle");
232  htitle = extendedlabel + std::string(" seed BPIX cluster length vs track projection");
233  _hbpixcluslenangle.push_back(tfserv->make<TH2F>(hname.c_str(), htitle.c_str(), 200, -1., 1., 40, -0.5, 39.5));
234  _hbpixcluslenangle[_hbpixcluslenangle.size() - 1]->GetXaxis()->SetTitle("projection");
235  _hbpixcluslenangle[_hbpixcluslenangle.size() - 1]->GetYaxis()->SetTitle("length");
236 
237  hname = extendedlabel + std::string("_fpixlenangle");
238  htitle = extendedlabel + std::string(" seed FPIX cluster length vs track projection");
239  _hfpixcluslenangle.push_back(tfserv->make<TH2F>(hname.c_str(), htitle.c_str(), 200, -1., 1., 40, -0.5, 39.5));
240  _hfpixcluslenangle[_hfpixcluslenangle.size() - 1]->GetXaxis()->SetTitle("projection");
241  _hfpixcluslenangle[_hfpixcluslenangle.size() - 1]->GetYaxis()->SetTitle("length");
242 
243  for (unsigned int i = 0; i < _multiplicityMapTokens.size(); ++i) {
244  std::string hname2D = extendedlabel + _labels[i];
245  hname2D += "_mult";
246  std::string htitle2D = extendedlabel + " seeds multiplicity";
247  htitle2D += " vs ";
248  htitle2D += _labels[i];
249  htitle2D += " hits";
250  _hseedmult2D[_hseedmult2D.size() - 1].push_back(tfserv->make<TH2F>(hname2D.c_str(),
251  htitle2D.c_str(),
252  _binsmult[i],
253  0.,
254  _maxs[i],
255  *nseedbins + 1,
256  0.5 - *seedmax / (*nseedbins),
257  *seedmax + 0.5));
258  _hseedmult2D[_hseedmult2D.size() - 1][_hseedmult2D[_hseedmult2D.size() - 1].size() - 1]->GetXaxis()->SetTitle(
259  "hits");
260  _hseedmult2D[_hseedmult2D.size() - 1][_hseedmult2D[_hseedmult2D.size() - 1].size() - 1]->GetYaxis()->SetTitle(
261  "seeds");
262 
263  hname2D = extendedlabel + _labels[i];
264  hname2D += "_eta";
265  htitle2D = extendedlabel + " seeds pseudorapidity";
266  htitle2D += " vs ";
267  htitle2D += _labels[i];
268  htitle2D += " hits";
269  _hseedeta2D[_hseedeta2D.size() - 1].push_back(
270  tfserv->make<TH2F>(hname2D.c_str(), htitle2D.c_str(), _binseta[i], 0., _maxs[i], 80, -4., 4.));
271  _hseedeta2D[_hseedeta2D.size() - 1][_hseedeta2D[_hseedeta2D.size() - 1].size() - 1]->GetXaxis()->SetTitle("hits");
272  _hseedeta2D[_hseedeta2D.size() - 1][_hseedeta2D[_hseedeta2D.size() - 1].size() - 1]->GetYaxis()->SetTitle("#eta");
273  }
274  }
275 }

References _binseta, _binsmult, _hbpixcluslenangle, _hbpixclusleneta, _hfpixcluslenangle, _hfpixclusleneta, _hpixelrhmult, _hseedeta, _hseedeta2D, _hseedmult, _hseedmult2D, _hseedphieta, _labels, _maxs, _multiplicityMapTokens, _seedbins, _seedcollTokens, _seedfilters, _seedmax, _selections, edm::EDConsumerBase::consumes(), edm::EDConsumerBase::consumesCollector(), edm::InputTag::encode(), ALCARECOTkAlBeamHalo_cff::filter, edm::ParameterSet::getParameter(), mps_fire::i, M_PI, TFileService::make(), and AlCaHLTBitMon_QueryRunRegistry::string.

◆ ~SeedMultiplicityAnalyzer()

SeedMultiplicityAnalyzer::~SeedMultiplicityAnalyzer ( )
override

Definition at line 277 of file SeedMultiplicityAnalyzer.cc.

277  {
278  // do anything here that needs to be done at desctruction time
279  // (e.g. close files, deallocate resources etc.)
280 }

Member Function Documentation

◆ analyze()

void SeedMultiplicityAnalyzer::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::EDAnalyzer.

Definition at line 287 of file SeedMultiplicityAnalyzer.cc.

287  {
288  using namespace edm;
289 
290  // compute cluster multiplicities
291 
292  std::vector<int> tmpmult(_multiplicityMapTokens.size(), -1);
293  for (unsigned int i = 0; i < _multiplicityMapTokens.size(); ++i) {
295  iEvent.getByToken(_multiplicityMapTokens[i], mults);
296 
297  // check if the selection exists
298 
299  std::map<unsigned int, int>::const_iterator mult = mults->find(_selections[i]);
300 
301  if (mult != mults->end()) {
302  tmpmult[i] = mult->second;
303  } else {
304  edm::LogWarning("DetSelectionNotFound") << " DetSelection " << _selections[i] << " not found";
305  }
306  }
307 
308  // preparation for loop on seeds
309 
310  // TrajectoryStateTransform tsTransform;
311  TSCBLBuilderNoMaterial tscblBuilder; // I could have used TSCBLBuilderWithPropagator
312 
314  iSetup.get<IdealMagneticFieldRecord>().get(theMF);
315 
317  iSetup.get<TransientRecHitRecord>().get(_buildername, theTTRHBuilder);
318 
319  // I need:
320  // - beamspot bs POSTPONED
321 
322  std::vector<TH1F*>::iterator histomult = _hseedmult.begin();
323  std::vector<std::vector<TH2F*>>::iterator histomult2D = _hseedmult2D.begin();
324  std::vector<TH1F*>::iterator histoeta = _hseedeta.begin();
325  std::vector<TH2F*>::iterator histophieta = _hseedphieta.begin();
326  std::vector<std::vector<TH2F*>>::iterator histoeta2D = _hseedeta2D.begin();
327  std::vector<TH1F*>::iterator hpixelrhmult = _hpixelrhmult.begin();
328  std::vector<TH2F*>::iterator histobpixleneta = _hbpixclusleneta.begin();
329  std::vector<TH2F*>::iterator histofpixleneta = _hfpixclusleneta.begin();
330  std::vector<TH2F*>::iterator histobpixlenangle = _hbpixcluslenangle.begin();
331  std::vector<TH2F*>::iterator histofpixlenangle = _hfpixcluslenangle.begin();
332  std::vector<FromTrackRefSeedFilter>::iterator filter = _seedfilters.begin();
333 
334  // loop on seed collections
335 
336  for (std::vector<edm::EDGetTokenT<TrajectorySeedCollection>>::const_iterator coll = _seedcollTokens.begin();
337  coll != _seedcollTokens.end() && histomult != _hseedmult.end() && histomult2D != _hseedmult2D.end() &&
338  histoeta != _hseedeta.end() && histoeta2D != _hseedeta2D.end() && histophieta != _hseedphieta.end() &&
339  hpixelrhmult != _hpixelrhmult.end() && histobpixleneta != _hbpixclusleneta.end() &&
340  histofpixleneta != _hfpixclusleneta.end() && histobpixlenangle != _hbpixcluslenangle.end() &&
341  histofpixlenangle != _hfpixcluslenangle.end();
342  ++coll,
343  ++histomult,
344  ++histomult2D,
345  ++histoeta,
346  ++histophieta,
347  ++histoeta2D,
348  ++hpixelrhmult,
349  ++histobpixleneta,
350  ++histofpixleneta,
351  ++histobpixlenangle,
352  ++histofpixlenangle,
353  ++filter) {
354  filter->prepareEvent(iEvent);
355 
357  iEvent.getByToken(*coll, seeds);
358 
359  /*
360  (*histomult)->Fill(seeds->size());
361 
362  for(unsigned int i=0;i<_multiplicityMaps.size();++i) {
363  if(tmpmult[i]>=0) (*histomult2D)[i]->Fill(tmpmult[i],seeds->size());
364  }
365  */
366 
367  // loop on seeds
368 
369  unsigned int nseeds = 0;
370  unsigned int iseed = 0;
371  for (TrajectorySeedCollection::const_iterator seed = seeds->begin(); seed != seeds->end(); ++seed, ++iseed) {
372  if (filter->isSelected(iseed)) {
373  ++nseeds;
374 
375  TransientTrackingRecHit::RecHitPointer recHit = theTTRHBuilder->build(&*(seed->recHits().second - 1));
377  trajectoryStateTransform::transientState(seed->startingState(), recHit->surface(), theMF.product());
378  // TrajectoryStateClosestToBeamLine tsAtClosestApproachSeed = tscblBuilder(*state.freeState(),bs); // here I need them BS
379 
380  double eta = state.globalMomentum().eta();
381  double phi = state.globalMomentum().phi();
382 
383  (*histoeta)->Fill(eta);
384  (*histophieta)->Fill(eta, phi);
385 
386  for (unsigned int i = 0; i < _multiplicityMapTokens.size(); ++i) {
387  if (tmpmult[i] >= 0)
388  (*histoeta2D)[i]->Fill(tmpmult[i], eta);
389  }
390 
391  // loop on rec hits
392 
393  TrajectorySeed::range rechits = seed->recHits();
394 
395  int npixelrh = 0;
396  for (TrajectorySeed::const_iterator hit = rechits.first; hit != rechits.second; ++hit) {
397  const SiPixelRecHit* sphit = dynamic_cast<const SiPixelRecHit*>(&(*hit));
398  if (sphit) {
399  ++npixelrh;
400  // compute state on recHit surface
401  TransientTrackingRecHit::RecHitPointer ttrhit = theTTRHBuilder->build(&*hit);
403  trajectoryStateTransform::transientState(seed->startingState(), ttrhit->surface(), theMF.product());
404 
405  if (sphit->geographicalId().det() == DetId::Tracker &&
407  (*histobpixleneta)->Fill(eta, sphit->cluster()->sizeY());
408  if (tsos.isValid()) {
409  // double normdx = sin(atan2(tsos.localMomentum().x(),tsos.localMomentum().z()));
410  double normdx = tsos.localMomentum().x() / sqrt(tsos.localMomentum().x() * tsos.localMomentum().x() +
411  tsos.localMomentum().z() * tsos.localMomentum().z());
412  (*histobpixlenangle)->Fill(normdx, sphit->cluster()->sizeY());
413  }
414  } else if (sphit->geographicalId().det() == DetId::Tracker &&
416  (*histofpixleneta)->Fill(eta, sphit->cluster()->sizeX());
417  if (tsos.isValid()) {
418  // double normdy = sin(atan2(tsos.localMomentum().y(),tsos.localMomentum().z()));
419  double normdy = tsos.localMomentum().y() / sqrt(tsos.localMomentum().y() * tsos.localMomentum().y() +
420  tsos.localMomentum().z() * tsos.localMomentum().z());
421  (*histofpixlenangle)->Fill(normdy, sphit->cluster()->sizeX());
422  }
423  } else {
424  edm::LogError("InconsistentSiPixelRecHit")
425  << "SiPixelRecHit with a non-pixel DetId " << sphit->geographicalId().rawId();
426  }
427  }
428  }
429  (*hpixelrhmult)->Fill(npixelrh);
430  }
431  }
432  (*histomult)->Fill(nseeds);
433 
434  for (unsigned int i = 0; i < _multiplicityMapTokens.size(); ++i) {
435  if (tmpmult[i] >= 0)
436  (*histomult2D)[i]->Fill(tmpmult[i], nseeds);
437  }
438  }
439 }

References _buildername, _hbpixcluslenangle, _hbpixclusleneta, _hfpixcluslenangle, _hfpixclusleneta, _hpixelrhmult, _hseedeta, _hseedeta2D, _hseedmult, _hseedmult2D, _hseedphieta, _multiplicityMapTokens, _seedcollTokens, _seedfilters, _selections, TransientTrackingRecHitBuilder::build(), SiPixelRecHit::cluster(), DetId::det(), PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), ALCARECOTkAlBeamHalo_cff::filter, TrackingRecHit::geographicalId(), edm::EventSetup::get(), get, TrajectoryStateOnSurface::globalMomentum(), mps_fire::i, iEvent, iseed, TrajectoryStateOnSurface::isValid(), TrajectoryStateOnSurface::localMomentum(), VarParsing::mult, phi, PV3DBase< T, PVType, FrameType >::phi(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, edm::ESHandle< T >::product(), DetId::rawId(), rpcPointValidation_cfi::recHit, TrackInfoProducer_cfi::rechits, SurveyInfoScenario_cff::seed, InitialStep_cff::seeds, mathSSE::sqrt(), DetId::subdetId(), DetId::Tracker, trajectoryStateTransform::transientState(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

Member Data Documentation

◆ _binseta

std::vector<unsigned int> SeedMultiplicityAnalyzer::_binseta
private

Definition at line 105 of file SeedMultiplicityAnalyzer.cc.

Referenced by SeedMultiplicityAnalyzer().

◆ _binsmult

std::vector<unsigned int> SeedMultiplicityAnalyzer::_binsmult
private

Definition at line 104 of file SeedMultiplicityAnalyzer.cc.

Referenced by SeedMultiplicityAnalyzer().

◆ _buildername

std::string SeedMultiplicityAnalyzer::_buildername
private

Definition at line 96 of file SeedMultiplicityAnalyzer.cc.

Referenced by analyze().

◆ _hbpixcluslenangle

std::vector<TH2F*> SeedMultiplicityAnalyzer::_hbpixcluslenangle
private

Definition at line 113 of file SeedMultiplicityAnalyzer.cc.

Referenced by analyze(), and SeedMultiplicityAnalyzer().

◆ _hbpixclusleneta

std::vector<TH2F*> SeedMultiplicityAnalyzer::_hbpixclusleneta
private

Definition at line 111 of file SeedMultiplicityAnalyzer.cc.

Referenced by analyze(), and SeedMultiplicityAnalyzer().

◆ _hfpixcluslenangle

std::vector<TH2F*> SeedMultiplicityAnalyzer::_hfpixcluslenangle
private

Definition at line 114 of file SeedMultiplicityAnalyzer.cc.

Referenced by analyze(), and SeedMultiplicityAnalyzer().

◆ _hfpixclusleneta

std::vector<TH2F*> SeedMultiplicityAnalyzer::_hfpixclusleneta
private

Definition at line 112 of file SeedMultiplicityAnalyzer.cc.

Referenced by analyze(), and SeedMultiplicityAnalyzer().

◆ _hpixelrhmult

std::vector<TH1F*> SeedMultiplicityAnalyzer::_hpixelrhmult
private

Definition at line 110 of file SeedMultiplicityAnalyzer.cc.

Referenced by analyze(), and SeedMultiplicityAnalyzer().

◆ _hseedeta

std::vector<TH1F*> SeedMultiplicityAnalyzer::_hseedeta
private

Definition at line 108 of file SeedMultiplicityAnalyzer.cc.

Referenced by analyze(), and SeedMultiplicityAnalyzer().

◆ _hseedeta2D

std::vector<std::vector<TH2F*> > SeedMultiplicityAnalyzer::_hseedeta2D
private

Definition at line 116 of file SeedMultiplicityAnalyzer.cc.

Referenced by analyze(), and SeedMultiplicityAnalyzer().

◆ _hseedmult

std::vector<TH1F*> SeedMultiplicityAnalyzer::_hseedmult
private

Definition at line 107 of file SeedMultiplicityAnalyzer.cc.

Referenced by analyze(), and SeedMultiplicityAnalyzer().

◆ _hseedmult2D

std::vector<std::vector<TH2F*> > SeedMultiplicityAnalyzer::_hseedmult2D
private

Definition at line 115 of file SeedMultiplicityAnalyzer.cc.

Referenced by analyze(), and SeedMultiplicityAnalyzer().

◆ _hseedphieta

std::vector<TH2F*> SeedMultiplicityAnalyzer::_hseedphieta
private

Definition at line 109 of file SeedMultiplicityAnalyzer.cc.

Referenced by analyze(), and SeedMultiplicityAnalyzer().

◆ _labels

std::vector<std::string> SeedMultiplicityAnalyzer::_labels
private

◆ _maxs

std::vector<double> SeedMultiplicityAnalyzer::_maxs
private

Definition at line 106 of file SeedMultiplicityAnalyzer.cc.

Referenced by SeedMultiplicityAnalyzer().

◆ _multiplicityMapTokens

std::vector<edm::EDGetTokenT<std::map<unsigned int, int> > > SeedMultiplicityAnalyzer::_multiplicityMapTokens
private

Definition at line 101 of file SeedMultiplicityAnalyzer.cc.

Referenced by analyze(), and SeedMultiplicityAnalyzer().

◆ _seedbins

std::vector<unsigned int> SeedMultiplicityAnalyzer::_seedbins
private

Definition at line 98 of file SeedMultiplicityAnalyzer.cc.

Referenced by SeedMultiplicityAnalyzer().

◆ _seedcollTokens

std::vector<edm::EDGetTokenT<TrajectorySeedCollection> > SeedMultiplicityAnalyzer::_seedcollTokens
private

Definition at line 97 of file SeedMultiplicityAnalyzer.cc.

Referenced by analyze(), and SeedMultiplicityAnalyzer().

◆ _seedfilters

std::vector<FromTrackRefSeedFilter> SeedMultiplicityAnalyzer::_seedfilters
private

Definition at line 100 of file SeedMultiplicityAnalyzer.cc.

Referenced by analyze(), and SeedMultiplicityAnalyzer().

◆ _seedmax

std::vector<double> SeedMultiplicityAnalyzer::_seedmax
private

Definition at line 99 of file SeedMultiplicityAnalyzer.cc.

Referenced by SeedMultiplicityAnalyzer().

◆ _selections

std::vector<unsigned int> SeedMultiplicityAnalyzer::_selections
private

Definition at line 103 of file SeedMultiplicityAnalyzer.cc.

Referenced by analyze(), and SeedMultiplicityAnalyzer().

edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
SeedMultiplicityAnalyzer::_binsmult
std::vector< unsigned int > _binsmult
Definition: SeedMultiplicityAnalyzer.cc:104
SeedMultiplicityAnalyzer::_buildername
std::string _buildername
Definition: SeedMultiplicityAnalyzer.cc:96
TrajectoryStateOnSurface::localMomentum
LocalVector localMomentum() const
Definition: TrajectoryStateOnSurface.h:75
mps_fire.i
i
Definition: mps_fire.py:355
PixelSubdetector::PixelEndcap
Definition: PixelSubdetector.h:11
SeedMultiplicityAnalyzer::_seedbins
std::vector< unsigned int > _seedbins
Definition: SeedMultiplicityAnalyzer.cc:98
PixelSubdetector::PixelBarrel
Definition: PixelSubdetector.h:11
SeedMultiplicityAnalyzer::_seedfilters
std::vector< FromTrackRefSeedFilter > _seedfilters
Definition: SeedMultiplicityAnalyzer.cc:100
PV3DBase::x
T x() const
Definition: PV3DBase.h:59
TrajectorySeed::range
std::pair< const_iterator, const_iterator > range
Definition: TrajectorySeed.h:21
edm::EDGetTokenT< TrajectorySeedCollection >
edm
HLT enums.
Definition: AlignableModifier.h:19
DetId::det
constexpr Detector det() const
get the detector field from this detid
Definition: DetId.h:46
TransientRecHitRecord
Definition: TransientRecHitRecord.h:14
TrajectorySeed::const_iterator
recHitContainer::const_iterator const_iterator
Definition: TrajectorySeed.h:20
edm::EDConsumerBase::consumesCollector
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
Definition: EDConsumerBase.cc:71
SeedMultiplicityAnalyzer::_multiplicityMapTokens
std::vector< edm::EDGetTokenT< std::map< unsigned int, int > > > _multiplicityMapTokens
Definition: SeedMultiplicityAnalyzer.cc:101
SeedMultiplicityAnalyzer::_selections
std::vector< unsigned int > _selections
Definition: SeedMultiplicityAnalyzer.cc:103
TrackingRecHit::RecHitPointer
std::shared_ptr< TrackingRecHit const > RecHitPointer
Definition: TrackingRecHit.h:24
TransientTrackingRecHitBuilder::build
virtual RecHitPointer build(const TrackingRecHit *p) const =0
build a tracking rechit from an existing rechit
edm::Handle
Definition: AssociativeIterator.h:50
SiPixelRecHit::cluster
ClusterRef cluster() const
Definition: SiPixelRecHit.h:47
TrackingRecHit::geographicalId
DetId geographicalId() const
Definition: TrackingRecHit.h:120
rpcPointValidation_cfi.recHit
recHit
Definition: rpcPointValidation_cfi.py:7
SiPixelRecHit
Our base class.
Definition: SiPixelRecHit.h:23
SeedMultiplicityAnalyzer::_hseedmult
std::vector< TH1F * > _hseedmult
Definition: SeedMultiplicityAnalyzer.cc:107
PV3DBase::z
T z() const
Definition: PV3DBase.h:61
IdealMagneticFieldRecord
Definition: IdealMagneticFieldRecord.h:11
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
SeedMultiplicityAnalyzer::_seedcollTokens
std::vector< edm::EDGetTokenT< TrajectorySeedCollection > > _seedcollTokens
Definition: SeedMultiplicityAnalyzer.cc:97
edm::EventSetup::get
T get() const
Definition: EventSetup.h:73
SeedMultiplicityAnalyzer::_hfpixcluslenangle
std::vector< TH2F * > _hfpixcluslenangle
Definition: SeedMultiplicityAnalyzer.cc:114
PVValHelper::eta
Definition: PVValidationHelpers.h:69
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
SeedMultiplicityAnalyzer::_hpixelrhmult
std::vector< TH1F * > _hpixelrhmult
Definition: SeedMultiplicityAnalyzer.cc:110
edm::ESHandle< MagneticField >
SeedMultiplicityAnalyzer::_hfpixclusleneta
std::vector< TH2F * > _hfpixclusleneta
Definition: SeedMultiplicityAnalyzer.cc:112
ALCARECOTkAlBeamHalo_cff.filter
filter
Definition: ALCARECOTkAlBeamHalo_cff.py:27
DetId::subdetId
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
Definition: DetId.h:48
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::LogWarning
Definition: MessageLogger.h:141
InitialStep_cff.seeds
seeds
Definition: InitialStep_cff.py:232
edm::ParameterSet
Definition: ParameterSet.h:36
iseed
int iseed
Definition: AMPTWrapper.h:134
edm::LogError
Definition: MessageLogger.h:183
DetId::Tracker
Definition: DetId.h:25
TrackInfoProducer_cfi.rechits
rechits
Definition: TrackInfoProducer_cfi.py:9
PV3DBase::eta
T eta() const
Definition: PV3DBase.h:73
PV3DBase::y
T y() const
Definition: PV3DBase.h:60
edm::Service< TFileService >
iEvent
int iEvent
Definition: GenABIO.cc:224
trajectoryStateTransform::transientState
TrajectoryStateOnSurface transientState(const PTrajectoryStateOnDet &ts, const Surface *surface, const MagneticField *field)
Definition: TrajectoryStateTransform.cc:35
M_PI
#define M_PI
Definition: BXVectorInputProducer.cc:50
edm::InputTag::encode
std::string encode() const
Definition: InputTag.cc:159
get
#define get
DDAxes::phi
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
SeedMultiplicityAnalyzer::_seedmax
std::vector< double > _seedmax
Definition: SeedMultiplicityAnalyzer.cc:99
SeedMultiplicityAnalyzer::_hseedeta
std::vector< TH1F * > _hseedeta
Definition: SeedMultiplicityAnalyzer.cc:108
TrajectoryStateOnSurface::globalMomentum
GlobalVector globalMomentum() const
Definition: TrajectoryStateOnSurface.h:66
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
SeedMultiplicityAnalyzer::_binseta
std::vector< unsigned int > _binseta
Definition: SeedMultiplicityAnalyzer.cc:105
TSCBLBuilderNoMaterial
Definition: TSCBLBuilderNoMaterial.h:13
SeedMultiplicityAnalyzer::_hseedmult2D
std::vector< std::vector< TH2F * > > _hseedmult2D
Definition: SeedMultiplicityAnalyzer.cc:115
SeedMultiplicityAnalyzer::_maxs
std::vector< double > _maxs
Definition: SeedMultiplicityAnalyzer.cc:106
VarParsing.mult
mult
Definition: VarParsing.py:659
SeedMultiplicityAnalyzer::_hseedeta2D
std::vector< std::vector< TH2F * > > _hseedeta2D
Definition: SeedMultiplicityAnalyzer.cc:116
SeedMultiplicityAnalyzer::_labels
std::vector< std::string > _labels
Definition: SeedMultiplicityAnalyzer.cc:102
edm::EDConsumerBase::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: EDConsumerBase.h:126
SeedMultiplicityAnalyzer::_hbpixclusleneta
std::vector< TH2F * > _hbpixclusleneta
Definition: SeedMultiplicityAnalyzer.cc:111
SeedMultiplicityAnalyzer::_hbpixcluslenangle
std::vector< TH2F * > _hbpixcluslenangle
Definition: SeedMultiplicityAnalyzer.cc:113
edm::InputTag
Definition: InputTag.h:15
PV3DBase::phi
Geom::Phi< T > phi() const
Definition: PV3DBase.h:66
SeedMultiplicityAnalyzer::_hseedphieta
std::vector< TH2F * > _hseedphieta
Definition: SeedMultiplicityAnalyzer.cc:109
TrajectoryStateOnSurface::isValid
bool isValid() const
Definition: TrajectoryStateOnSurface.h:54
SurveyInfoScenario_cff.seed
seed
Definition: SurveyInfoScenario_cff.py:295
hit
Definition: SiStripHitEffFromCalibTree.cc:88
TFileService::make
T * make(const Args &... args) const
make new ROOT object
Definition: TFileService.h:64