289 return clu1.
id() == clu2.
id() && clu1.
size() == clu2.
size() && clu1.
x() == clu2.
x() && clu1.
y() == clu2.
y() &&
296 hitMinEnergy_(iConfig.getParameter<double>(
"HitMinimumEnergy")),
297 optionalPlots_(iConfig.getParameter<
bool>(
"optionalPlots")),
298 uncalibRecHitsPlots_(iConfig.getParameter<
bool>(
"UncalibRecHitsPlots")),
299 hitMinAmplitude_(iConfig.getParameter<double>(
"HitMinimumAmplitude")),
337 for (
const auto&
hits : *mtdTrkHitHandle) {
338 if (
MTDDetId(
hits.id()).mtdSubDetector() == MTDDetId::MTDType::BTL) {
339 LogDebug(
"BtlLocalRecoValidation") <<
"MTD cluster DetId " <<
hits.id() <<
" # cluster " <<
hits.size();
342 <<
"MTD_TRH: " <<
hit.localPosition().
x() <<
"," <<
hit.localPosition().
y() <<
" : " 343 <<
hit.localPositionError().xx() <<
"," <<
hit.localPositionError().yy() <<
" : " <<
hit.time() <<
" : " 351 std::unordered_map<uint32_t, MTDHit> m_btlSimHits;
352 for (
auto const&
simHit : btlSimHits) {
359 auto simHitIt = m_btlSimHits.emplace(
id.
rawId(),
MTDHit()).first;
365 if ((simHitIt->second).time == 0 ||
simHit.tof() < (simHitIt->second).
time) {
368 auto hit_pos =
simHit.localPosition();
369 (simHitIt->second).
x = hit_pos.x();
370 (simHitIt->second).
y = hit_pos.y();
371 (simHitIt->second).
z = hit_pos.z();
377 unsigned int n_reco_btl = 0;
378 unsigned int n_reco_btl_nosimhit = 0;
379 for (
const auto&
recHit : *btlRecHitsHandle) {
383 if (thedet ==
nullptr)
384 throw cms::Exception(
"BtlLocalRecoValidation") <<
"GeographicalID: " << std::hex << geoId.
rawId() <<
" (" 385 <<
detId.rawId() <<
") is invalid!" <<
std::dec << std::endl;
391 const auto& global_point = thedet->
toGlobal(local_point);
420 LogDebug(
"BtlLocalRecoValidation") <<
"RecoHit DetId= " <<
detId.rawId()
421 <<
" sim hits in id= " << m_btlSimHits.count(
detId.rawId());
424 float time_res =
recHit.time() - m_btlSimHits[
detId.rawId()].time;
425 float energy_res =
recHit.energy() - m_btlSimHits[
detId.rawId()].energy;
432 const auto& global_point_sim = thedet->
toGlobal(local_point_sim);
445 }
else if (m_btlSimHits.count(
detId.rawId()) == 0) {
446 n_reco_btl_nosimhit++;
447 LogDebug(
"BtlLocalRecoValidation") <<
"BTL rec hit with no corresponding sim hit in crystal, DetId= " 448 <<
detId.rawId() <<
" geoId= " << geoId.
rawId() <<
" ene= " <<
recHit.energy()
449 <<
" time= " <<
recHit.time();
456 if (n_reco_btl > 0) {
459 if (n_reco_btl_nosimhit == 0) {
466 unsigned int n_clus_btl(0);
467 for (
const auto& DetSetClu : *btlRecCluHandle) {
468 for (
const auto& cluster : DetSetClu) {
472 DetId detIdObject(cluId);
473 const auto& genericDet =
geom->idToDetUnit(detIdObject);
474 if (genericDet ==
nullptr) {
476 <<
"GeographicalID: " << std::hex << cluId <<
" is invalid!" <<
std::dec << std::endl;
487 const auto& global_point = genericDet->toGlobal(local_point);
500 double cluEneSIM = 0.;
501 double cluTimeSIM = 0.;
502 double cluLocXSIM = 0.;
503 double cluLocYSIM = 0.;
504 double cluLocZSIM = 0.;
506 for (
int ihit = 0; ihit < cluster.size(); ++ihit) {
507 int hit_row = cluster.minHitRow() + cluster.hitOffset()[ihit * 2];
508 int hit_col = cluster.minHitCol() + cluster.hitOffset()[ihit * 2 + 1];
511 for (
const auto&
recHit : *btlRecHitsHandle) {
514 if (m_btlSimHits.count(hitId.rawId()) == 0)
518 if (hitId.mtdSide() != cluId.
mtdSide() || hitId.mtdRR() != cluId.
mtdRR() ||
recHit.row() != hit_row ||
519 recHit.column() != hit_col)
523 if (
recHit.energy() != cluster.hitENERGY()[ihit] ||
recHit.time() != cluster.hitTIME()[ihit])
534 cluLocXSIM += local_point_sim.
x() * m_btlSimHits[
recHit.id().rawId()].energy;
535 cluLocYSIM += local_point_sim.
y() * m_btlSimHits[
recHit.id().rawId()].energy;
536 cluLocZSIM += local_point_sim.
z() * m_btlSimHits[
recHit.id().rawId()].energy;
539 cluEneSIM += m_btlSimHits[
recHit.id().rawId()].energy;
540 cluTimeSIM += m_btlSimHits[
recHit.id().rawId()].time * m_btlSimHits[
recHit.id().rawId()].energy;
550 bool matchClu =
false;
551 const auto& trkHits = (*mtdTrkHitHandle)[detIdObject];
552 for (
const auto& trkHit : trkHits) {
554 comp = trkHit.clone();
561 <<
"No valid TrackingRecHit corresponding to cluster, detId = " << detIdObject.
rawId();
565 if (cluTimeSIM > 0. && cluEneSIM > 0.) {
566 cluTimeSIM /= cluEneSIM;
568 Local3DPoint cluLocalPosSIM(cluLocXSIM / cluEneSIM, cluLocYSIM / cluEneSIM, cluLocZSIM / cluEneSIM);
569 const auto& cluGlobalPosSIM = genericDet->toGlobal(cluLocalPosSIM);
571 float time_res = cluster.time() - cluTimeSIM;
572 float energy_res = cluster.energy() - cluEneSIM;
576 float rho_res = global_point.perp() - cluGlobalPosSIM.perp();
577 float phi_res = global_point.phi() - cluGlobalPosSIM.phi();
582 float xlocal_res = local_point.
x() - cluLocalPosSIM.
x();
583 float ylocal_res = local_point.
y() - cluLocalPosSIM.
y();
585 float z_res = global_point.z() - cluGlobalPosSIM.z();
589 if (matchClu &&
comp !=
nullptr) {
592 if (global_point.z() > 0) {
600 if (cluster.size() == 1) {
602 if (global_point.z() > 0) {
609 if (cluster.size() > 1) {
611 if (global_point.z() > 0) {
619 if (
abs(global_point.eta()) < 0.3) {
621 if (global_point.z() > 0) {
628 if (
abs(global_point.eta()) > 1) {
630 if (global_point.z() > 0) {
665 auto itp = r2sAssociationMap.equal_range(clusterRef);
666 if (itp.first != itp.second) {
667 std::vector<MtdSimLayerClusterRef> simClustersRefs =
669 for (
unsigned int i = 0;
i < simClustersRefs.size();
i++) {
670 auto simClusterRef = simClustersRefs[
i];
672 float simClusEnergy =
convertUnitsTo(0.001_MeV, (*simClusterRef).simLCEnergy());
673 float simClusTime = (*simClusterRef).simLCTime();
674 LocalPoint simClusLocalPos = (*simClusterRef).simLCPos();
675 const auto& simClusGlobalPos = genericDet->toGlobal(simClusLocalPos);
676 unsigned int idOffset = (*simClusterRef).trackIdOffset();
678 float time_res = cluster.time() - simClusTime;
679 float energy_res = cluster.energy() - simClusEnergy;
680 float rho_res = global_point.
perp() - simClusGlobalPos.perp();
681 float phi_res = global_point.phi() - simClusGlobalPos.phi();
682 float z_res = global_point.z() - simClusGlobalPos.z();
683 float xlocal_res = local_point.
x() - simClusLocalPos.
x();
684 float ylocal_res = local_point.
y() - simClusLocalPos.
y();
696 if (matchClu &&
comp !=
nullptr) {
699 if (global_point.z() > 0) {
707 if (cluster.size() == 1) {
709 if (global_point.z() > 0) {
716 if (cluster.size() > 1) {
718 if (global_point.z() > 0) {
726 if (
abs(global_point.eta()) < 0.3) {
728 if (global_point.z() > 0) {
734 if (
abs(global_point.eta()) > 1) {
736 if (global_point.z() > 0) {
763 if (matchClu &&
comp !=
nullptr) {
766 if (global_point.z() > 0) {
776 if (cluster.size() == 1) {
778 if (global_point.z() > 0) {
785 if (cluster.size() > 1) {
787 if (global_point.z() > 0) {
795 if (
abs(global_point.eta()) < 0.3) {
797 if (global_point.z() > 0) {
803 if (
abs(global_point.eta()) > 1) {
805 if (global_point.z() > 0) {
822 time_res / cluster.timeError());
842 for (
const auto& uRecHit : *btlUncalibRecHitsHandle) {
846 if (m_btlSimHits.count(
detId.rawId()) != 1)
852 float hit_amplitude = 0.;
856 if (uRecHit.amplitude().first > 0.) {
857 hit_amplitude += uRecHit.amplitude().first;
858 hit_time += uRecHit.time().first;
862 if (uRecHit.amplitude().second > 0.) {
863 hit_amplitude += uRecHit.amplitude().second;
864 hit_time += uRecHit.time().second;
868 hit_amplitude /=
nHits;
876 meUncEneRVsX_->
Fill(uRecHit.position(), uRecHit.amplitude().first - hit_amplitude);
877 meUncEneLVsX_->
Fill(uRecHit.position(), uRecHit.amplitude().second - hit_amplitude);
885 if (thedet ==
nullptr)
886 throw cms::Exception(
"BtlLocalRecoValidation") <<
"GeographicalID: " << std::hex << geoId.
rawId() <<
" (" 887 <<
detId.rawId() <<
") is invalid!" <<
std::dec << std::endl;
893 const auto& global_point = thedet->
toGlobal(local_point);
895 float time_res = hit_time - m_btlSimHits[
detId.rawId()].time;
907 if (fabs(global_point.eta()) >=
binsQEta_[ibin] && fabs(global_point.eta()) <
binsQEta_[ibin + 1])
940 meNhits_ = ibook.
book1D(
"BtlNhits",
"Number of BTL RECO hits;log_{10}(N_{RECO})", 100, 0., 5.25);
942 meHitEnergy_ = ibook.
book1D(
"BtlHitEnergy",
"BTL RECO hits energy;E_{RECO} [MeV]", 100, 0., 20.);
943 meHitLogEnergy_ = ibook.
book1D(
"BtlHitLogEnergy",
"BTL RECO hits energy;log_{10}(E_{RECO} [MeV])", 16, -0.1, 1.5);
944 meHitTime_ = ibook.
book1D(
"BtlHitTime",
"BTL RECO hits ToA;ToA_{RECO} [ns]", 100, 0., 25.);
945 meHitTimeError_ = ibook.
book1D(
"BtlHitTimeError",
"BTL RECO hits ToA error;#sigma^{ToA}_{RECO} [ns]", 50, 0., 0.1);
947 "BtlOccupancy",
"BTL RECO hits occupancy;Z_{RECO} [cm]; #phi_{RECO} [rad]", 65, -260., 260., 126, -3.2, 3.2);
950 "BtlLocalOccupancy",
"BTL RECO hits local occupancy;X_{RECO} [cm]; Y_{RECO} [cm]", 100, 10., 10., 60, -3., 3.);
952 meHitXlocal_ = ibook.
book1D(
"BtlHitXlocal",
"BTL RECO local X;X_{RECO}^{LOC} [cm]", 100, -10., 10.);
953 meHitYlocal_ = ibook.
book1D(
"BtlHitYlocal",
"BTL RECO local Y;Y_{RECO}^{LOC} [cm]", 60, -3, 3);
954 meHitZlocal_ = ibook.
book1D(
"BtlHitZlocal",
"BTL RECO local z;z_{RECO}^{LOC} [cm]", 8, -0.4, 0.4);
955 meHitZ_ = ibook.
book1D(
"BtlHitZ",
"BTL RECO hits Z;Z_{RECO} [cm]", 100, -260., 260.);
956 meHitPhi_ = ibook.
book1D(
"BtlHitPhi",
"BTL RECO hits #phi;#phi_{RECO} [rad]", 126, -3.2, 3.2);
957 meHitEta_ = ibook.
book1D(
"BtlHitEta",
"BTL RECO hits #eta;#eta_{RECO}", 100, -1.55, 1.55);
959 ibook.
bookProfile(
"BtlHitTvsE",
"BTL RECO ToA vs energy;E_{RECO} [MeV];ToA_{RECO} [ns]", 50, 0., 20., 0., 100.);
961 "BtlHitEvsPhi",
"BTL RECO energy vs #phi;#phi_{RECO} [rad];E_{RECO} [MeV]", 50, -3.2, 3.2, 0., 100.);
963 "BtlHitEvsEta",
"BTL RECO energy vs #eta;#eta_{RECO};E_{RECO} [MeV]", 50, -1.55, 1.55, 0., 100.);
965 ibook.
bookProfile(
"BtlHitEvsZ",
"BTL RECO energy vs Z;Z_{RECO} [cm];E_{RECO} [MeV]", 50, -260., 260., 0., 100.);
967 "BtlHitTvsPhi",
"BTL RECO ToA vs #phi;#phi_{RECO} [rad];ToA_{RECO} [ns]", 50, -3.2, 3.2, 0., 100.);
969 ibook.
bookProfile(
"BtlHitTvsEta",
"BTL RECO ToA vs #eta;#eta_{RECO};ToA_{RECO} [ns]", 50, -1.6, 1.6, 0., 100.);
971 ibook.
bookProfile(
"BtlHitTvsZ",
"BTL RECO ToA vs Z;Z_{RECO} [cm];ToA_{RECO} [ns]", 50, -260., 260., 0., 100.);
972 meHitLongPos_ = ibook.
book1D(
"BtlLongPos",
"BTL RECO hits longitudinal position;long. pos._{RECO}", 50, -5, 5);
973 meTimeRes_ = ibook.
book1D(
"BtlTimeRes",
"BTL time resolution;T_{RECO}-T_{SIM}", 100, -0.5, 0.5);
975 "BtlTimeResvsE",
"BTL time resolution vs hit energy;E_{RECO} [MeV];T_{RECO}-T_{SIM}", 50, 0., 20., -0.5, 0.5,
"S");
976 meEnergyRes_ = ibook.
book1D(
"BtlEnergyRes",
"BTL energy resolution;E_{RECO}-E_{SIM}", 100, -0.5, 0.5);
978 "BTL relative energy resolution vs hit energy;E_{RECO} [MeV];E_{RECO}-E_{SIM}",
986 "BTL longitudinal position pull;X^{loc}_{RECO}-X^{loc}_{SIM}/#sigma_{xloc_{RECO}}",
992 "BTL longitudinal position pull vs E;E_{SIM} [MeV];X^{loc}_{RECO}-X^{loc}_{SIM}/#sigma_{xloc_{RECO}}",
1000 "BtlLongposPullvsEta",
1001 "BTL longitudinal position pull vs #eta;|#eta_{RECO}|;X^{loc}_{RECO}-X^{loc}_{SIM}/#sigma_{xloc_{RECO}}",
1009 "BtlTPullvsE",
"BTL time pull vs E;E_{SIM} [MeV];(T_{RECO}-T_{SIM})/#sigma_{T_{RECO}}", 20, 0., 20., -5., 5.,
"S");
1011 "BTL time pull vs #eta;|#eta_{RECO}|;(T_{RECO}-T_{SIM})/#sigma_{T_{RECO}}",
1020 "UnmatchedRecHit",
"log10(#BTL crystals with rechits but no simhit);log10(#BTL rechits)", 80, -2., 6.);
1022 meNclusters_ = ibook.
book1D(
"BtlNclusters",
"Number of BTL RECO clusters;log_{10}(N_{RECO})", 100, 0., 5.25);
1023 meCluTime_ = ibook.
book1D(
"BtlCluTime",
"BTL cluster time ToA;ToA [ns]", 250, 0, 25);
1024 meCluTimeError_ = ibook.
book1D(
"BtlCluTimeError",
"BTL cluster time error;#sigma_{t} [ns]", 100, 0, 0.1);
1025 meCluEnergy_ = ibook.
book1D(
"BtlCluEnergy",
"BTL cluster energy;E_{RECO} [MeV]", 100, 0, 20);
1026 meCluPhi_ = ibook.
book1D(
"BtlCluPhi",
"BTL cluster #phi;#phi_{RECO} [rad]", 144, -3.2, 3.2);
1027 meCluEta_ = ibook.
book1D(
"BtlCluEta",
"BTL cluster #eta;#eta_{RECO}", 100, -1.55, 1.55);
1028 meCluHits_ = ibook.
book1D(
"BtlCluHitNumber",
"BTL hits per cluster; Cluster size", 10, 0, 10);
1030 "BtlOccupancy",
"BTL cluster Z vs #phi;Z_{RECO} [cm]; #phi_{RECO} [rad]", 144, -260., 260., 50, -3.2, 3.2);
1032 "BtlCluEnergyVsEta",
"BTL cluster energy vs #eta; |#eta_{RECO}|; E_{RECO} [cm]", 30, 0., 1.55, 0., 20.,
"S");
1034 "BtlCluHitsVsEta",
"BTL hits per cluster vs #eta; |#eta_{RECO}|;Cluster size", 30, 0., 1.55, 0., 10.,
"S");
1036 meCluTimeRes_ = ibook.
book1D(
"BtlCluTimeRes",
"BTL cluster time resolution;T_{RECO}-T_{SIM} [ns]", 100, -0.5, 0.5);
1038 ibook.
book1D(
"BtlCluEnergyRes",
"BTL cluster energy resolution;E_{RECO}-E_{SIM} [MeV]", 100, -0.5, 0.5);
1040 "BTL cluster time resolution vs E;E_{SIM} [MeV];(T_{RECO}-T_{SIM}) [ns]",
1048 "BTL cluster time resolution vs #eta;|#eta_{RECO}|;(T_{RECO}-T_{SIM}) [ns]",
1056 "BTL cluster time pull vs E;E_{SIM} [MeV];(T_{RECO}-T_{SIM})/#sigma_{T_{RECO}}",
1065 "BTL cluster time pull vs #eta;|#eta_{RECO}|;(T_{RECO}-T_{SIM})/#sigma_{T_{RECO}}",
1073 ibook.
book1D(
"BtlCluRhoRes",
"BTL cluster #rho resolution;#rho_{RECO}-#rho_{SIM} [cm]", 100, -0.5, 0.5);
1075 ibook.
book1D(
"BtlCluPhiRes",
"BTL cluster #phi resolution;#phi_{RECO}-#phi_{SIM} [rad]", 100, -0.03, 0.03);
1076 meCluZRes_ = ibook.
book1D(
"BtlCluZRes",
"BTL cluster Z resolution;Z_{RECO}-Z_{SIM} [cm]", 100, -0.2, 0.2);
1078 ibook.
book1D(
"BtlCluLocalXRes",
"BTL cluster local X resolution;X_{RECO}-X_{SIM} [cm]", 100, -3.1, 3.1);
1080 "BtlCluLocalYResZGlobPlus",
"BTL cluster local Y resolution (glob Z > 0);Y_{RECO}-Y_{SIM} [cm]", 100, -0.2, 0.2);
1082 "BtlCluLocalYResZGlobMinus",
"BTL cluster local Y resolution (glob Z < 0);Y_{RECO}-Y_{SIM} [cm]", 100, -0.2, 0.2);
1085 ibook.
book1D(
"BtlCluSingCrystalLocalYRes",
1086 "BTL cluster local Y resolution (single Crystal clusters);Y_{RECO}-Y_{SIM} [cm]",
1091 ibook.
book1D(
"BtlCluSingCrystalLocalYResZGlobPlus",
1092 "BTL cluster local Y resolution (single Crystal clusters, Z glob > 0);Y_{RECO}-Y_{SIM} [cm]",
1097 ibook.
book1D(
"BtlCluSingCrystalLocalYResZGlobMinus",
1098 "BTL cluster local Y resolution (single Crystal clusters, Z glob < 0);Y_{RECO}-Y_{SIM} [cm]",
1103 ibook.
book1D(
"BtlCluMultiCrystalLocalYRes",
1104 "BTL cluster local Y resolution (Multi-Crystal clusters);Y_{RECO}-Y_{SIM} [cm]",
1109 ibook.
book1D(
"BtlCluMultiCrystalLocalYResZGlobPlus",
1110 "BTL cluster local Y resolution (Multi-Crystal clusters, Z glob > 0);Y_{RECO}-Y_{SIM} [cm]",
1115 ibook.
book1D(
"BtlCluMultiCrystalLocalYResZGlobMinus",
1116 "BTL cluster local Y resolution (Multi-Crystal clusters, Z glob < 0);Y_{RECO}-Y_{SIM} [cm]",
1121 "BTL cluster local Y resolution (central region);Y_{RECO}-Y_{SIM} [cm]",
1126 ibook.
book1D(
"BtlCluCentralLocalYResZGlobPlus",
1127 "BTL cluster local Y resolution (central region, Z glob > 0);Y_{RECO}-Y_{SIM} [cm]",
1132 ibook.
book1D(
"BtlCluCentralLocalYResZGlobMinus",
1133 "BTL cluster local Y resolution (central region, Z glob < 0);Y_{RECO}-Y_{SIM} [cm]",
1138 "BTL cluster local Y resolution (forward region);Y_{RECO}-Y_{SIM} [cm]",
1143 ibook.
book1D(
"BtlCluForwardPlusLocalYRes",
1144 "BTL cluster local Y resolution (forward region, Z glob > 0);Y_{RECO}-Y_{SIM} [cm]",
1149 ibook.
book1D(
"BtlCluForwardMinusLocalYRes",
1150 "BTL cluster local Y resolution (forward region, Z glob < 0);Y_{RECO}-Y_{SIM} [cm]",
1156 "BtlCluLocalYPullZGlobPlus",
"BTL cluster local Y pull (glob Z > 0);Y_{RECO}-Y_{SIM}/sigmaY_[RECO]", 100, -5., 5.);
1158 "BTL cluster local Y pull (glob Z < 0);Y_{RECO}-Y_{SIM}/sigmaY_[RECO]",
1164 ibook.
book1D(
"BtlCluLocalXPull",
"BTL cluster local X pull;X_{RECO}-X_{SIM}/sigmaX_[RECO]", 100, -5., 5.);
1166 meCluZPull_ = ibook.
book1D(
"BtlCluZPull",
"BTL cluster Z pull;Z_{RECO}-Z_{SIM}/sigmaZ_[RECO]", 100, -5., 5.);
1167 meCluXLocalErr_ = ibook.
book1D(
"BtlCluXLocalErr",
"BTL cluster X local error;sigmaX_{RECO,loc} [cm]", 20, 0., 2.);
1168 meCluYLocalErr_ = ibook.
book1D(
"BtlCluYLocalErr",
"BTL cluster Y local error;sigmaY_{RECO,loc} [cm]", 20, 0., 0.4);
1171 "BTL cluster local Y vs X;X^{local}_{RECO} [cm];Y^{local}_{RECO} [cm]",
1179 "BTL cluster local Y vs X;X^{local}_{SIM} [cm];Y^{local}_{SIM} [cm]",
1191 ibook.
book1D(
"BtlCluTrackIdOffset",
"BTL cluster category (trackId offset); trackId offset", 4, 0.0, 4.0);
1193 "BTL cluster time resolution (wrt MtdSimLayerClusters);T_{RECO}-T_{SIM} [ns]",
1198 "BTL cluster energy resolution (wrt MtdSimLayerClusters);E_{RECO}-E_{SIM} [MeV]",
1203 "BtlCluTResvsE_simLC",
1204 "BTL cluster time resolution (wrt MtdSimLayerClusters) vs E;E_{SIM} [MeV];(T_{RECO}-T_{SIM}) [ns]",
1212 "BtlCluTResvsEta_simLC",
1213 "BTL cluster time resolution (wrt MtdSimLayerClusters) vs #eta;|#eta_{RECO}|;(T_{RECO}-T_{SIM}) [ns]",
1221 "BtlCluTPullvsE_simLC",
1222 "BTL cluster time pull (wrt MtdSimLayerClusters) vs E;E_{SIM} [MeV];(T_{RECO}-T_{SIM})/#sigma_{T_{RECO}}",
1230 "BtlCluTPullvsEta_simLC",
1231 "BTL cluster time pull (wrt MtdSimLayerClusters) vs #eta;|#eta_{RECO}|;(T_{RECO}-T_{SIM})/#sigma_{T_{RECO}}",
1239 "BTL cluster #rho resolution (wrt MtdSimLayerClusters);#rho_{RECO}-#rho_{SIM} [cm]",
1244 ibook.
book1D(
"BtlCluPhiRes_simLC",
1245 "BTL cluster #phi resolution (wrt MtdSimLayerClusters);#phi_{RECO}-#phi_{SIM} [rad]",
1250 "BtlCluZRes_simLC",
"BTL cluster Z resolution (wrt MtdSimLayerClusters);Z_{RECO}-Z_{SIM} [cm]", 100, -0.2, 0.2);
1252 "BTL cluster local X resolution (wrt MtdSimLayerClusters);X_{RECO}-X_{SIM} [cm]",
1257 ibook.
book1D(
"BtlCluLocalYResZGlobPlus_simLC",
1258 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, glob Z > 0);Y_{RECO}-Y_{SIM} [cm]",
1263 ibook.
book1D(
"BtlCluLocalYResZGlobMinus_simLC",
1264 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, glob Z < 0);Y_{RECO}-Y_{SIM} [cm]",
1270 "BtlCluSingCrystalLocalYRes_simLC",
1271 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, single Crystal clusters);Y_{RECO}-Y_{SIM} [cm]",
1276 ibook.
book1D(
"BtlCluSingCrystalLocalYResZGlobPlus_simLC",
1277 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, single Crystal clusters, Z glob > " 1278 "0);Y_{RECO}-Y_{SIM} [cm]",
1283 ibook.
book1D(
"BtlCluSingCrystalLocalYResZGlobMinus_simLC",
1284 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, single Crystal clusters, Z glob < " 1285 "0);Y_{RECO}-Y_{SIM} [cm]",
1290 "BtlCluMultiCrystalLocalYRes_simLC",
1291 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, Multi-Crystal clusters);Y_{RECO}-Y_{SIM} [cm]",
1296 ibook.
book1D(
"BtlCluMultiCrystalLocalYResZGlobPlus_simLC",
1297 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, Multi-Crystal clusters, Z glob > " 1298 "0);Y_{RECO}-Y_{SIM} [cm]",
1303 ibook.
book1D(
"BtlCluMultiCrystalLocalYResZGlobMinus_simLC",
1304 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, Multi-Crystal clusters, Z glob < " 1305 "0);Y_{RECO}-Y_{SIM} [cm]",
1310 ibook.
book1D(
"BtlCluCentralLocalYRes_simLC",
1311 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, central region);Y_{RECO}-Y_{SIM} [cm]",
1316 "BtlCluCentralLocalYResZGlobPlus_simLC",
1317 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, central region, Z glob > 0);Y_{RECO}-Y_{SIM} [cm]",
1322 "BtlCluCentralLocalYResZGlobMinus_simLC",
1323 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, central region, Z glob < 0);Y_{RECO}-Y_{SIM} [cm]",
1328 ibook.
book1D(
"BtlCluForwardLocalYRes_simLC",
1329 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, forward region);Y_{RECO}-Y_{SIM} [cm]",
1334 "BtlCluForwardPlusLocalYRes_simLC",
1335 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, forward region, Z glob > 0);Y_{RECO}-Y_{SIM} [cm]",
1340 "BtlCluForwardMinusLocalYRes_simLC",
1341 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, forward region, Z glob < 0);Y_{RECO}-Y_{SIM} [cm]",
1347 "BTL cluster local Y pull (glob Z > 0);Y_{RECO}-Y_{SIM}/sigmaY_[RECO]",
1352 ibook.
book1D(
"BtlCluLocalYPullZGlobMinus_simLC",
1353 "BTL cluster local Y pull (wrt MtdSimLayerClusters, glob Z < 0);Y_{RECO}-Y_{SIM}/sigmaY_[RECO]",
1359 ibook.
book1D(
"BtlCluLocalXPull_simLC",
1360 "BTL cluster local X pull (wrt MtdSimLayerClusters);X_{RECO}-X_{SIM}/sigmaX_[RECO]",
1366 "BtlCluZPull_simLC",
"BTL cluster Z pull (wrt MtdSimLayerClusters);Z_{RECO}-Z_{SIM}/sigmaZ_[RECO]", 100, -5., 5.);
1369 ibook.
book2D(
"BtlCluYXLocalSim_simLC",
1370 "BTL cluster local Y vs X (MtdSimLayerClusters);X^{local}_{SIM} [cm];Y^{local}_{SIM} [cm]",
1382 ibook.
book1D(
"BtlCluTimeRes_simLC_fromIndirectHits",
1383 "BTL cluster time resolution (wrt MtdSimLayerClusters, non-direct hits);T_{RECO}-T_{SIM} [ns]",
1388 ibook.
book1D(
"BtlCluEnergyRes_simLC_fromIndirectHits",
1389 "BTL cluster energy resolution (wrt MtdSimLayerClusters, non-direct hits);E_{RECO}-E_{SIM} [MeV]",
1394 ibook.
bookProfile(
"BtlCluTResvsE_simLC_fromIndirectHits",
1395 "BTL cluster time resolution (wrt MtdSimLayerClusters, non-direct hits) vs E;E_{SIM} " 1396 "[MeV];(T_{RECO}-T_{SIM}) [ns]",
1404 ibook.
bookProfile(
"BtlCluTResvsEta_simLC_fromIndirectHits",
1405 "BTL cluster time resolution (wrt MtdSimLayerClusters, non-direct hits) vs " 1406 "#eta;|#eta_{RECO}|;(T_{RECO}-T_{SIM}) [ns]",
1414 ibook.
bookProfile(
"BtlCluTPullvsE_simLC_fromIndirectHits",
1415 "BTL cluster time pull (wrt MtdSimLayerClusters, non-direct hits) vs E;E_{SIM} " 1416 "[MeV];(T_{RECO}-T_{SIM})/#sigma_{T_{RECO}}",
1424 ibook.
bookProfile(
"BtlCluTPullvsEta_simLC_fromIndirectHits",
1425 "BTL cluster time pull (wrt MtdSimLayerClusters, non-direct hits) vs " 1426 "#eta;|#eta_{RECO}|;(T_{RECO}-T_{SIM})/#sigma_{T_{RECO}}",
1434 ibook.
book1D(
"BtlCluRhoRes_simLC_fromIndirectHits",
1435 "BTL cluster #rho resolution (wrt MtdSimLayerClusters, non-direct hits);#rho_{RECO}-#rho_{SIM} [cm]",
1440 "BtlCluPhiRes_simLC_fromIndirectHits",
1441 "BTL cluster #phi resolution (wrt MtdSimLayerClusters, non-direct hits);#phi_{RECO}-#phi_{SIM} [rad]",
1446 ibook.
book1D(
"BtlCluZRes_simLC_fromIndirectHits",
1447 "BTL cluster Z resolution (wrt MtdSimLayerClusters, non-direct hits);Z_{RECO}-Z_{SIM} [cm]",
1452 ibook.
book1D(
"BtlCluLocalXRes_simLC_fromIndirectHits",
1453 "BTL cluster local X resolution (wrt MtdSimLayerClusters, non-direct hits);X_{RECO}-X_{SIM} [cm]",
1458 "BtlCluLocalYResZGlobPlus_simLC_fromIndirectHits",
1459 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, non-direct hits, glob Z > 0);Y_{RECO}-Y_{SIM} [cm]",
1464 "BtlCluLocalYResZGlobMinus_simLC_fromIndirectHits",
1465 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, non-direct hits, glob Z < 0);Y_{RECO}-Y_{SIM} [cm]",
1471 ibook.
book1D(
"BtlCluSingCrystalLocalYRes_simLC_fromIndirectHits",
1472 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, non-direct hits, single Crystal " 1473 "clusters);Y_{RECO}-Y_{SIM} [cm]",
1478 "BtlCluSingCrystalLocalYResZGlobPlus_simLC_fromIndirectHits",
1479 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, non-direct hits, single Crystal clusters, Z glob > " 1480 "0);Y_{RECO}-Y_{SIM} [cm]",
1485 "BtlCluSingCrystalLocalYResZGlobMinus_simLC_fromIndirectHits",
1486 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, non-direct hits, single Crystal clusters, Z glob < " 1487 "0);Y_{RECO}-Y_{SIM} [cm]",
1492 ibook.
book1D(
"BtlCluMultiCrystalLocalYRes_simLC_fromIndirectHits",
1493 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, non-direct hits, Multi-Crystal " 1494 "clusters);Y_{RECO}-Y_{SIM} [cm]",
1499 "BtlCluMultiCrystalLocalYResZGlobPlus_simLC_fromIndirectHits",
1500 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, non-direct hits, Multi-Crystal clusters, Z glob > " 1501 "0);Y_{RECO}-Y_{SIM} [cm]",
1506 "BtlCluMultiCrystalLocalYResZGlobMinus_simLC_fromIndirectHits",
1507 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, non-direct hits, Multi-Crystal clusters, Z glob < " 1508 "0);Y_{RECO}-Y_{SIM} [cm]",
1513 ibook.
book1D(
"BtlCluCentralLocalYRes_simLC_fromIndirectHits",
1514 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, non-direct hits, central " 1515 "region);Y_{RECO}-Y_{SIM} [cm]",
1520 ibook.
book1D(
"BtlCluCentralLocalYResZGlobPlus_simLC_fromIndirectHits",
1521 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, non-direct hits, central region, Z glob " 1522 "> 0);Y_{RECO}-Y_{SIM} [cm]",
1527 ibook.
book1D(
"BtlCluCentralLocalYResZGlobMinus_simLC_fromIndirectHits",
1528 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, non-direct hits, central region, Z glob " 1529 "< 0);Y_{RECO}-Y_{SIM} [cm]",
1534 ibook.
book1D(
"BtlCluForwardLocalYRes_simLC_fromIndirectHits",
1535 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, non-direct hits, forward " 1536 "region);Y_{RECO}-Y_{SIM} [cm]",
1541 ibook.
book1D(
"BtlCluForwardPlusLocalYRes_simLC_fromIndirectHits",
1542 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, non-direct hits, forward region, Z glob " 1543 "> 0);Y_{RECO}-Y_{SIM} [cm]",
1548 ibook.
book1D(
"BtlCluForwardMinusLocalYRes_simLC_fromIndirectHits",
1549 "BTL cluster local Y resolution (wrt MtdSimLayerClusters, non-direct hits, forward region, Z glob " 1550 "< 0);Y_{RECO}-Y_{SIM} [cm]",
1556 ibook.
book1D(
"BtlCluLocalYPullZGlobPlus_simLC_fromIndirectHits",
1557 "BTL cluster local Y pull (glob Z > 0);Y_{RECO}-Y_{SIM}/sigmaY_[RECO]",
1562 "BtlCluLocalYPullZGlobMinus_simLC_fromIndirectHits",
1563 "BTL cluster local Y pull (wrt MtdSimLayerClusters, non-direct hits, glob Z < 0);Y_{RECO}-Y_{SIM}/sigmaY_[RECO]",
1569 ibook.
book1D(
"BtlCluLocalXPull_simLC_fromIndirectHits",
1570 "BTL cluster local X pull (wrt MtdSimLayerClusters, non-direct hits);X_{RECO}-X_{SIM}/sigmaX_[RECO]",
1576 ibook.
book1D(
"BtlCluZPull_simLC_fromIndirectHits",
1577 "BTL cluster Z pull (wrt MtdSimLayerClusters, non-direct hits);Z_{RECO}-Z_{SIM}/sigmaZ_[RECO]",
1583 ibook.
book2D(
"BtlCluYXLocalSim_simLC_fromIndirectHits",
1584 "BTL cluster local Y vs X (MtdSimLayerClusters);X^{local}_{SIM} [cm];Y^{local}_{SIM} [cm]",
1596 ibook.
book1D(
"BtlUnmatchedCluEnergy",
"BTL unmatched cluster log10(energy);log10(E_{RECO} [MeV])", 5, -3, 2);
1601 "BTL uncalibrated hit amplitude left - average vs X;X [cm];Delta(Q_{left}) [pC]",
1609 "BTL uncalibrated hit amplitude right - average vs X;X [cm];Delta(Q_{right}) [pC]",
1618 "BTL uncalibrated hit time left - average vs X;X [cm];Delta(T_{left}) [MeV]",
1626 "BTL uncalibrated hit time right - average vs X;X [cm];Delta(T_{right}) [MeV]",
1635 for (
unsigned int ihistoQ = 0; ihistoQ <
nBinsQ_; ++ihistoQ) {
1637 std::string htitle = Form(
"BTL time resolution (Q bin = %d);T_{RECO} - T_{SIM} [ns]", ihistoQ);
1640 for (
unsigned int ihistoEta = 0; ihistoEta <
nBinsQEta_; ++ihistoEta) {
1641 hname = Form(
"TimeResQvsEta_%d_%d", ihistoQ, ihistoEta);
1642 htitle = Form(
"BTL time resolution (Q bin = %d, |#eta| bin = %d);T_{RECO} - T_{SIM} [ns]", ihistoQ, ihistoEta);
1649 for (
unsigned int ihistoEta = 0; ihistoEta <
nBinsEta_; ++ihistoEta) {
1650 std::string hname = Form(
"TimeResEta_%d", ihistoEta);
1651 std::string htitle = Form(
"BTL time resolution (|#eta| bin = %d);T_{RECO} - T_{SIM} [ns]", ihistoEta);
1654 for (
unsigned int ihistoQ = 0; ihistoQ <
nBinsEtaQ_; ++ihistoQ) {
1655 hname = Form(
"TimeResEtavsQ_%d_%d", ihistoEta, ihistoQ);
1656 htitle = Form(
"BTL time resolution (|#eta| bin = %d, Q bin = %d);T_{RECO} - T_{SIM} [ns]", ihistoEta, ihistoQ);
1676 desc.add<
double>(
"HitMinimumEnergy", 1.);
1677 desc.add<
bool>(
"optionalPlots",
false);
1678 desc.add<
bool>(
"UncalibRecHitsPlots",
false);
1679 desc.add<
double>(
"HitMinimumAmplitude", 30.);
1681 descriptions.
add(
"btlLocalRecoValid",
desc);
MonitorElement * meCluLocalYPullZGlobPlus_simLC_fromIndirectHits_
MonitorElement * meHitXlocal_
MonitorElement * meCluHitsvsEta_
MonitorElement * meCluTPullvsE_simLC_fromIndirectHits_
MonitorElement * meCluForwardMinusLocalYRes_
MonitorElement * meHitLogEnergy_
edm::Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type > makeRefTo(const HandleT &iHandle, typename HandleT::element_type::value_type::const_iterator itIter)
MonitorElement * meCluPhiRes_simLC_
MonitorElement * meHitYlocal_
T getParameter(std::string const &) const
MonitorElement * meCluTPullvsE_
MonitorElement * meHitLongPos_
MonitorElement * meCluTPullvsE_simLC_
MonitorElement * meCluZRes_simLC_
MonitorElement * meCluCentralLocalYResZGlobPlus_simLC_fromIndirectHits_
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
MonitorElement * meLongPosPull_
MonitorElement * meCluLocalYResZGlobPlus_simLC_fromIndirectHits_
MonitorElement * meCluLocalXRes_simLC_fromIndirectHits_
virtual void setCurrentFolder(std::string const &fullpath)
MonitorElement * meCluSingCrystalLocalYResZGlobMinus_simLC_fromIndirectHits_
MonitorElement * meNhits_
MonitorElement * meHitEnergy_
const edm::ESGetToken< MTDTopology, MTDTopologyRcd > mtdtopoToken_
MonitorElement * meCluSingCrystalLocalYResZGlobMinus_
MonitorElement * meCluLocalYPullZGlobMinus_simLC_fromIndirectHits_
MonitorElement * meCluTimeRes_simLC_fromIndirectHits_
MonitorElement * meCluSingCrystalLocalYRes_simLC_
MonitorElement * meCluLocalYResZGlobMinus_simLC_fromIndirectHits_
virtual const Topology & topology() const
MonitorElement * meCluZRes_
MonitorElement * meCluForwardPlusLocalYRes_simLC_fromIndirectHits_
virtual const PixelTopology & specificTopology() const
MonitorElement * meCluLocalYResZGlobMinus_
MonitorElement * meCluPhiRes_simLC_fromIndirectHits_
MonitorElement * meCluMultiCrystalLocalYResZGlobMinus_simLC_
MonitorElement * meCluSingCrystalLocalYRes_
MonitorElement * meCluEnergyvsEta_
const edm::ESGetToken< MTDClusterParameterEstimator, MTDCPERecord > cpeToken_
MonitorElement * meCluCentralLocalYResZGlobPlus_
MonitorElement * meCluCentralLocalYRes_simLC_fromIndirectHits_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
MonitorElement * meCluForwardLocalYRes_
MonitorElement * meCluCentralLocalYResZGlobMinus_simLC_fromIndirectHits_
MonitorElement * meCluLocalXPull_simLC_
MonitorElement * meCluLocalXRes_
MonitorElement * meCluYLocalErr_
const double hitMinEnergy_
MonitorElement * meCluSingCrystalLocalYResZGlobMinus_simLC_
MonitorElement * meCluEta_
MonitorElement * meCluForwardLocalYRes_simLC_fromIndirectHits_
MonitorElement * meUncEneLVsX_
MonitorElement * meCluYXLocalSim_simLC_fromIndirectHits_
MonitorElement * meCluZvsPhi_
MonitorElement * meNevents_
MonitorElement * meCluPhi_
MonitorElement * meCluLocalXRes_simLC_
MonitorElement * meEnergyRelResVsE_
const bool optionalPlots_
static constexpr float binWidthQ_
MonitorElement * meCluYXLocalSim_simLC_
MonitorElement * meCluCentralLocalYResZGlobMinus_
MonitorElement * meCluZPull_
MonitorElement * meCluMultiCrystalLocalYRes_
MonitorElement * meCluEnergyRes_simLC_
MonitorElement * meTPullvsEta_
MonitorElement * meHitTvsPhi_
MonitorElement * meUnmatchedCluEnergy_
MonitorElement * meUncTimeLVsX_
static constexpr int nBinsEtaQ_
LocalPoint pixelToModuleLocalPoint(const LocalPoint &plp, int row, int col) const
MonitorElement * meUnmatchedRecHit_
edm::EDGetTokenT< MTDTrackingDetSetVector > mtdTrackingHitToken_
MonitorElement * meCluMultiCrystalLocalYResZGlobMinus_
MonitorElement * meCluZPull_simLC_
MonitorElement * meLongPosPullvsEta_
MonitorElement * meCluTimeRes_
MonitorElement * meCluTResvsEta_simLC_
Detector identifier base class for the MIP Timing Layer.
MonitorElement * meCluForwardPlusLocalYRes_
constexpr NumType convertUnitsTo(double desiredUnits, NumType val)
MonitorElement * meCluYXLocal_
bool isSameCluster(const FTLCluster &, const FTLCluster &)
MonitorElement * meCluSingCrystalLocalYResZGlobPlus_simLC_fromIndirectHits_
MonitorElement * meCluZPull_simLC_fromIndirectHits_
MonitorElement * meTimeRes_
U second(std::pair< T, U > const &p)
MonitorElement * meCluTime_
MonitorElement * meCluXLocalErr_
MonitorElement * meCluTimeRes_simLC_
MonitorElement * meCluCentralLocalYResZGlobMinus_simLC_
MonitorElement * meLongPosPullvsE_
MonitorElement * bookProfile(TString const &name, TString const &title, int nchX, double lowX, double highX, int, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
MonitorElement * meCluHits_
MonitorElement * meCluLocalYResZGlobPlus_
MonitorElement * meHitTimeError_
MonitorElement * meCluYXLocalSim_
static constexpr float binWidthEta_
MonitorElement * meCluMultiCrystalLocalYResZGlobMinus_simLC_fromIndirectHits_
MonitorElement * meCluSingCrystalLocalYResZGlobPlus_
MonitorElement * meCluCentralLocalYRes_simLC_
MonitorElement * meCluZRes_simLC_fromIndirectHits_
~BtlLocalRecoValidation() override
edm::EDGetTokenT< FTLClusterCollection > btlRecCluToken_
static constexpr float binsQEta_[nBinsQEta_+1]
MonitorElement * meCluMultiCrystalLocalYRes_simLC_fromIndirectHits_
Abs< T >::type abs(const T &t)
MonitorElement * meHitTime_
MonitorElement * meCluMultiCrystalLocalYResZGlobPlus_simLC_fromIndirectHits_
MonitorElement * meCluMultiCrystalLocalYResZGlobPlus_simLC_
#define DEFINE_FWK_MODULE(type)
static constexpr int nBinsQEta_
int nrows() const override
MonitorElement * meEnergyRes_
const double hitMinAmplitude_
MonitorElement * meCluForwardLocalYRes_simLC_
MonitorElement * meHitEta_
MonitorElement * meLocalOccupancy_
MonitorElement * meTimeResEta_[nBinsEta_]
MonitorElement * meCluCentralLocalYRes_
MonitorElement * meCluTResvsE_simLC_
MonitorElement * meCluRhoRes_
BtlLocalRecoValidation(const edm::ParameterSet &)
GlobalPoint toGlobal(const Local2DPoint &lp) const
Conversion to the global R.F. from the R.F. of the GeomDet.
edm::EDGetTokenT< FTLUncalibratedRecHitCollection > btlUncalibRecHitsToken_
MonitorElement * meCluTrackIdOffset_
edm::EDGetTokenT< MtdRecoClusterToSimLayerClusterAssociationMap > r2sAssociationMapToken_
MonitorElement * meCluTimeError_
MonitorElement * meHitTvsEta_
MonitorElement * meCluSingCrystalLocalYResZGlobPlus_simLC_
MonitorElement * meCluTResvsEta_simLC_fromIndirectHits_
MonitorElement * meCluLocalYPullZGlobPlus_simLC_
const edm::ESGetToken< MTDGeometry, MTDDigiGeometryRecord > mtdgeoToken_
MonitorElement * meCluTResvsE_simLC_fromIndirectHits_
MonitorElement * meCluEnergyRes_simLC_fromIndirectHits_
MonitorElement * meCluRhoRes_simLC_
MonitorElement * meCluForwardPlusLocalYRes_simLC_
constexpr NumType convertMmToCm(NumType millimeters)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * meCluCentralLocalYResZGlobPlus_simLC_
MonitorElement * meHitZlocal_
constexpr uint32_t rawId() const
get the raw id
MonitorElement * meCluTPullvsEta_
edm::EDGetTokenT< FTLRecHitCollection > btlRecHitsToken_
MonitorElement * meCluEnergy_
A 2D TrackerRecHit with time and time error information.
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
MonitorElement * meHitEvsZ_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
MonitorElement * meCluLocalXPull_
MonitorElement * meCluPhiRes_
void analyze(const edm::Event &, const edm::EventSetup &) override
static constexpr int nBinsQ_
MonitorElement * meCluLocalYPullZGlobMinus_
MonitorElement * meTimeResQvsEta_[nBinsQ_][nBinsQEta_]
MonitorElement * meHitEvsPhi_
static constexpr float binsEtaQ_[nBinsEtaQ_+1]
const std::string folder_
MonitorElement * meCluMultiCrystalLocalYRes_simLC_
MonitorElement * meCluLocalYPullZGlobPlus_
MonitorElement * meTimeResEtavsQ_[nBinsEta_][nBinsEtaQ_]
Detector identifier class for the Barrel Timing Layer. The crystal count must start from 0...
MonitorElement * meCluForwardMinusLocalYRes_simLC_
MonitorElement * meUncTimeRVsX_
MonitorElement * meCluMultiCrystalLocalYResZGlobPlus_
ESTransientHandle< T > getTransientHandle(const ESGetToken< T, R > &iToken) const
static constexpr int nBinsEta_
MonitorElement * meCluLocalYResZGlobMinus_simLC_
MonitorElement * meCluTResvsEta_
MonitorElement * meCluRhoRes_simLC_fromIndirectHits_
BTLDetId::CrysLayout crysLayoutFromTopoMode(const int &topoMode)
MonitorElement * meCluSingCrystalLocalYRes_simLC_fromIndirectHits_
MonitorElement * meHitEvsEta_
Log< level::Warning, false > LogWarning
MonitorElement * meCluLocalXPull_simLC_fromIndirectHits_
auto makeValid(const U &iOtherHandleType) noexcept(false)
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
TupleMultiplicity< TrackerTraits > const *__restrict__ uint32_t nHits
MonitorElement * meHitTvsZ_
MonitorElement * meUncEneRVsX_
MonitorElement * meHitTvsE_
edm::EDGetTokenT< CrossingFrame< PSimHit > > btlSimHitsToken_
MonitorElement * meTimeResVsE_
MonitorElement * meOccupancy_
MonitorElement * meTimeResQ_[nBinsQ_]
MonitorElement * meCluTResvsE_
std::tuple< LocalPoint, LocalError, TimeValue, TimeValueError > ReturnType
MonitorElement * meCluEnergyRes_
MonitorElement * meCluTPullvsEta_simLC_fromIndirectHits_
MonitorElement * meCluLocalYResZGlobPlus_simLC_
MonitorElement * meTPullvsE_
MonitorElement * meNclusters_
const bool uncalibRecHitsPlots_
MonitorElement * meCluLocalYPullZGlobMinus_simLC_
MonitorElement * meCluForwardMinusLocalYRes_simLC_fromIndirectHits_
MonitorElement * meCluTPullvsEta_simLC_
MonitorElement * meHitPhi_