Definition at line 271 of file TrackerOfflineValidationSummary.cc.
References associateModuleHistsWithTree(), PV3DBase< T, PVType, FrameType >::barePhi(), TkOffTreeVariables::blade, TkOffTreeVariables::chi2PerDofX, TkOffTreeVariables::chi2PerDofY, TkOffTreeVariables::clear(), SiPixelRawToDigiRegional_cfi::deltaPhi, hcalRecHitTable_cff::detId, HLT_2024v14_cff::dPhi, HGC3DClusterGenMatchSelector_cfi::dR, l1ctLayer1_cff::dZ, TkOffTreeVariables::entries, PV3DBase< T, PVType, FrameType >::eta(), TkOffTreeVariables::fitMeanNormX, TkOffTreeVariables::fitMeanNormY, TkOffTreeVariables::fitMeanX, TkOffTreeVariables::fitMeanY, fitResiduals(), TkOffTreeVariables::fitSigmaNormX, TkOffTreeVariables::fitSigmaNormY, TkOffTreeVariables::fitSigmaX, TkOffTreeVariables::fitSigmaY, getMedian(), h, TkOffTreeVariables::half, L1TStage2EMTFEventInfoClient_cfi::histDir, TkOffTreeVariables::histNameLocalX, TkOffTreeVariables::histNameNormLocalX, TkOffTreeVariables::histNameNormX, TkOffTreeVariables::histNameNormY, TkOffTreeVariables::histNameX, TkOffTreeVariables::histNameY, TrackerGeometry::idToDet(), TkOffTreeVariables::isDoubleSide, TkOffTreeVariables::isStereo, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, TkOffTreeVariables::layer, TkOffTreeVariables::meanLocalX, TkOffTreeVariables::meanNormLocalX, TkOffTreeVariables::meanNormX, TkOffTreeVariables::meanNormY, TkOffTreeVariables::meanX, TkOffTreeVariables::meanY, TkOffTreeVariables::medianX, TkOffTreeVariables::medianY, TkOffTreeVariables::module, TkOffTreeVariables::moduleId, PV_cfg::numberOfBins, TkOffTreeVariables::numberOfOutliers, TkOffTreeVariables::numberOfOverflows, TkOffTreeVariables::numberOfUnderflows, TkOffTreeVariables::outerInner, TkOffTreeVariables::panel, PV3DBase< T, PVType, FrameType >::perp(), TkOffTreeVariables::petal, PV3DBase< T, PVType, FrameType >::phi(), TkOffTreeVariables::phiDirection, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, TkOffTreeVariables::posEta, GeomDet::position(), TkOffTreeVariables::posPhi, TkOffTreeVariables::posR, TkOffTreeVariables::posX, TkOffTreeVariables::posY, TkOffTreeVariables::posZ, TrackerTopology::pxbLadder(), TrackerTopology::pxbLayer(), TrackerTopology::pxbModule(), TrackerTopology::pxfBlade(), TrackerTopology::pxfDisk(), TrackerTopology::pxfModule(), TrackerTopology::pxfPanel(), TrackerTopology::pxfSide(), nano_mu_digi_cff::rawId, TkOffTreeVariables::rDirection, TkOffTreeVariables::ring, TkOffTreeVariables::rmsLocalX, TkOffTreeVariables::rmsNormLocalX, TkOffTreeVariables::rmsNormX, TkOffTreeVariables::rmsNormY, TkOffTreeVariables::rmsX, TkOffTreeVariables::rmsY, TkOffTreeVariables::rod, TkOffTreeVariables::rOrZDirection, TkOffTreeVariables::side, dqmMemoryStats::stats, AlCaHLTBitMon_QueryRunRegistry::string, TkOffTreeVariables::subDetId, GeomDet::surface(), StripSubdetector::TEC, TrackerTopology::tecIsDoubleSide(), TrackerTopology::tecModule(), TrackerTopology::tecPetalInfo(), TrackerTopology::tecRing(), TrackerTopology::tecSide(), TrackerTopology::tecStereo(), TrackerTopology::tecWheel(), StripSubdetector::TIB, TrackerTopology::tibIsDoubleSide(), TrackerTopology::tibLayer(), TrackerTopology::tibModule(), TrackerTopology::tibStereo(), TrackerTopology::tibStringInfo(), StripSubdetector::TID, TrackerTopology::tidIsDoubleSide(), TrackerTopology::tidModuleInfo(), TrackerTopology::tidRing(), TrackerTopology::tidSide(), TrackerTopology::tidStereo(), TrackerTopology::tidWheel(), StripSubdetector::TOB, TrackerTopology::tobIsDoubleSide(), TrackerTopology::tobLayer(), TrackerTopology::tobModule(), TrackerTopology::tobRodInfo(), TrackerTopology::tobStereo(), Surface::toGlobal(), useFit_, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::z(), and TkOffTreeVariables::zDirection.
Referenced by endJob(), and core.AutoFillTreeProducer.AutoFillTreeProducer::process().
277 for (std::map<int, TrackerOfflineValidationSummary::ModuleHistos>::iterator
it = moduleHist.begin(),
278 itEnd = moduleHist.end();
289 unsigned int whichHalfBarrel(1),
rawId(
detId.rawId());
294 treeMem.
half = whichHalfBarrel;
299 unsigned int whichHalfCylinder(1),
rawId(
detId.rawId());
302 whichHalfCylinder = 2;
305 treeMem.
half = whichHalfCylinder;
310 unsigned int whichHalfShell(1),
rawId(
detId.rawId());
322 treeMem.
half = whichHalfShell;
360 treeMem.
posX = gPModule.
x();
361 treeMem.
posY = gPModule.
y();
362 treeMem.
posZ = gPModule.
z();
367 LocalPoint lUDirection(1., 0., 0.), lVDirection(0., 1., 0.), lWDirection(0., 0., 1.);
369 gWDirection = surface.
toGlobal(lWDirection);
370 double dR(999.),
dPhi(999.),
dZ(999.);
373 dR = gWDirection.perp() - gPModule.
perp();
375 dZ = gVDirection.z() - gPModule.
z();
383 dZ = gWDirection.z() - gPModule.
z();
389 dR = gVDirection.perp() - gPModule.
perp();
391 dZ = gWDirection.z() - gPModule.
z();
414 treeMem.
entries =
static_cast<UInt_t
>(
it->second.ResXprimeHisto->GetEntries());
415 treeMem.
meanX =
it->second.ResXprimeHisto->GetMean();
416 treeMem.
rmsX =
it->second.ResXprimeHisto->GetRMS();
421 std::pair<float, float> fitResult1 = this->
fitResiduals(
it->second.ResXprimeHisto);
422 treeMem.
fitMeanX = fitResult1.first;
425 std::pair<float, float> fitResult2 = this->
fitResiduals(
it->second.NormResXprimeHisto);
437 it->second.ResXprimeHisto->GetBinContent(0) +
it->second.ResXprimeHisto->GetBinContent(
numberOfBins + 1);
439 treeMem.
meanNormX =
it->second.NormResXprimeHisto->GetMean();
440 treeMem.
rmsNormX =
it->second.NormResXprimeHisto->GetRMS();
443 it->second.NormResXprimeHisto->GetStats(
stats);
449 treeMem.
histNameX =
it->second.ResXprimeHisto->GetName();
453 if (
it->second.ResHisto &&
it->second.NormResHisto) {
464 if (
it->second.ResYprimeHisto) {
465 TH1*
h =
it->second.ResYprimeHisto;
466 treeMem.
meanY =
h->GetMean();
467 treeMem.
rmsY =
h->GetRMS();
470 std::pair<float, float> fitMeanSigma = this->
fitResiduals(h);
471 treeMem.
fitMeanY = fitMeanSigma.first;
481 if (
it->second.NormResYprimeHisto) {
482 TH1*
h =
it->second.NormResYprimeHisto;
490 std::pair<float, float> fitMeanSigma = this->
fitResiduals(h);
static constexpr auto TEC
bool tibIsDoubleSide(const DetId &id) const
bool tecIsDoubleSide(const DetId &id) const
bool tidIsDoubleSide(const DetId &id) const
unsigned int tobLayer(const DetId &id) const
unsigned int pxbLayer(const DetId &id) const
std::vector< unsigned int > tidModuleInfo(const DetId &id) const
Float_t numberOfOverflows
unsigned int pxfBlade(const DetId &id) const
uint32_t tidStereo(const DetId &id) const
unsigned int tibModule(const DetId &id) const
unsigned int tidSide(const DetId &id) const
Geom::Phi< T > phi() const
unsigned int pxfModule(const DetId &id) const
std::vector< unsigned int > tecPetalInfo(const DetId &id) const
unsigned int tidWheel(const DetId &id) const
unsigned int tecWheel(const DetId &id) const
unsigned int pxbLadder(const DetId &id) const
Float_t numberOfUnderflows
unsigned int tecRing(const DetId &id) const
ring id
bool tobIsDoubleSide(const DetId &id) const
unsigned int tecModule(const DetId &id) const
uint32_t tobStereo(const DetId &id) const
std::string histNameNormX
unsigned int tecSide(const DetId &id) const
const std::string associateModuleHistsWithTree(const TkOffTreeVariables &treeMem, TrackerOfflineValidationSummary::ModuleHistos &moduleHists, std::map< std::string, std::string > &substructureName)
unsigned int pxfDisk(const DetId &id) const
static constexpr auto TOB
histDir
Location of output EventInfo/reportSummaryContents.
std::pair< float, float > fitResiduals(TH1 *hist) const
const TrackerGeomDet * idToDet(DetId) const override
std::string histNameNormLocalX
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
unsigned int pxfPanel(const DetId &id) const
unsigned int pxfSide(const DetId &id) const
std::vector< unsigned int > tibStringInfo(const DetId &id) const
static constexpr auto TIB
const Plane & surface() const
The nominal surface of the GeomDet.
std::string histNameLocalX
float getMedian(const TH1 *hist) const
const Surface::PositionType & position() const
The position (origin of the R.F.)
std::vector< unsigned int > tobRodInfo(const DetId &id) const
void clear()
set to empty values
unsigned int tidRing(const DetId &id) const
uint32_t tecStereo(const DetId &id) const
unsigned int tibLayer(const DetId &id) const
unsigned int tobModule(const DetId &id) const
unsigned int pxbModule(const DetId &id) const
std::string histNameNormY
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
static constexpr auto TID
uint32_t tibStereo(const DetId &id) const