207 return clu1.
id() == clu2.
id() && clu1.
size() == clu2.
size() && clu1.
x() == clu2.
x() && clu1.
y() == clu2.
y() &&
214 hitMinEnergy_(iConfig.getParameter<double>(
"HitMinimumEnergy")),
215 optionalPlots_(iConfig.getParameter<
bool>(
"optionalPlots")),
216 uncalibRecHitsPlots_(iConfig.getParameter<
bool>(
"UncalibRecHitsPlots")),
217 hitMinAmplitude_(iConfig.getParameter<double>(
"HitMinimumAmplitude")),
241 const MTDTopology* topology = topologyHandle.product();
252 for (
const auto&
hits : *mtdTrkHitHandle) {
253 if (
MTDDetId(
hits.id()).mtdSubDetector() == MTDDetId::MTDType::BTL) {
254 LogDebug(
"BtlLocalRecoValidation") <<
"MTD cluster DetId " <<
hits.id() <<
" # cluster " <<
hits.size();
257 <<
"MTD_TRH: " <<
hit.localPosition().
x() <<
"," <<
hit.localPosition().
y() <<
" : " 258 <<
hit.localPositionError().xx() <<
"," <<
hit.localPositionError().yy() <<
" : " <<
hit.time() <<
" : " 266 std::unordered_map<uint32_t, MTDHit> m_btlSimHits;
267 for (
auto const&
simHit : btlSimHits) {
274 auto simHitIt = m_btlSimHits.emplace(
id.
rawId(),
MTDHit()).first;
280 if ((simHitIt->second).time == 0 ||
simHit.tof() < (simHitIt->second).
time) {
283 auto hit_pos =
simHit.localPosition();
284 (simHitIt->second).
x = hit_pos.x();
285 (simHitIt->second).
y = hit_pos.y();
286 (simHitIt->second).
z = hit_pos.z();
292 unsigned int n_reco_btl = 0;
293 unsigned int n_reco_btl_nosimhit = 0;
294 for (
const auto&
recHit : *btlRecHitsHandle) {
298 if (thedet ==
nullptr)
299 throw cms::Exception(
"BtlLocalRecoValidation") <<
"GeographicalID: " << std::hex << geoId.
rawId() <<
" (" 300 <<
detId.rawId() <<
") is invalid!" <<
std::dec << std::endl;
306 const auto& global_point = thedet->
toGlobal(local_point);
335 LogDebug(
"BtlLocalRecoValidation") <<
"RecoHit DetId= " <<
detId.rawId()
336 <<
" sim hits in id= " << m_btlSimHits.count(
detId.rawId());
339 float time_res =
recHit.time() - m_btlSimHits[
detId.rawId()].time;
340 float energy_res =
recHit.energy() - m_btlSimHits[
detId.rawId()].energy;
347 const auto& global_point_sim = thedet->
toGlobal(local_point_sim);
360 }
else if (m_btlSimHits.count(
detId.rawId()) == 0) {
361 n_reco_btl_nosimhit++;
362 LogDebug(
"BtlLocalRecoValidation") <<
"BTL rec hit with no corresponding sim hit in crystal, DetId= " 363 <<
detId.rawId() <<
" geoId= " << geoId.
rawId() <<
" ene= " <<
recHit.energy()
364 <<
" time= " <<
recHit.time();
371 if (n_reco_btl > 0) {
374 if (n_reco_btl_nosimhit == 0) {
381 unsigned int n_clus_btl(0);
382 for (
const auto& DetSetClu : *btlRecCluHandle) {
383 for (
const auto& cluster : DetSetClu) {
387 DetId detIdObject(cluId);
388 const auto& genericDet =
geom->idToDetUnit(detIdObject);
389 if (genericDet ==
nullptr) {
391 <<
"GeographicalID: " << std::hex << cluId <<
" is invalid!" <<
std::dec << std::endl;
402 const auto& global_point = genericDet->toGlobal(local_point);
415 double cluEneSIM = 0.;
416 double cluTimeSIM = 0.;
417 double cluLocXSIM = 0.;
418 double cluLocYSIM = 0.;
419 double cluLocZSIM = 0.;
421 for (
int ihit = 0; ihit < cluster.size(); ++ihit) {
422 int hit_row = cluster.minHitRow() + cluster.hitOffset()[ihit * 2];
423 int hit_col = cluster.minHitCol() + cluster.hitOffset()[ihit * 2 + 1];
426 for (
const auto&
recHit : *btlRecHitsHandle) {
429 if (m_btlSimHits.count(hitId.rawId()) == 0)
433 if (hitId.mtdSide() != cluId.
mtdSide() || hitId.mtdRR() != cluId.
mtdRR() ||
recHit.row() != hit_row ||
434 recHit.column() != hit_col)
438 if (
recHit.energy() != cluster.hitENERGY()[ihit] ||
recHit.time() != cluster.hitTIME()[ihit])
449 cluLocXSIM += local_point_sim.
x() * m_btlSimHits[
recHit.id().rawId()].energy;
450 cluLocYSIM += local_point_sim.
y() * m_btlSimHits[
recHit.id().rawId()].energy;
451 cluLocZSIM += local_point_sim.
z() * m_btlSimHits[
recHit.id().rawId()].energy;
454 cluEneSIM += m_btlSimHits[
recHit.id().rawId()].energy;
455 cluTimeSIM += m_btlSimHits[
recHit.id().rawId()].time * m_btlSimHits[
recHit.id().rawId()].energy;
465 bool matchClu =
false;
466 const auto& trkHits = (*mtdTrkHitHandle)[detIdObject];
467 for (
const auto& trkHit : trkHits) {
469 comp = trkHit.clone();
476 <<
"No valid TrackingRecHit corresponding to cluster, detId = " << detIdObject.
rawId();
480 if (cluTimeSIM > 0. && cluEneSIM > 0.) {
481 cluTimeSIM /= cluEneSIM;
483 Local3DPoint cluLocalPosSIM(cluLocXSIM / cluEneSIM, cluLocYSIM / cluEneSIM, cluLocZSIM / cluEneSIM);
484 const auto& cluGlobalPosSIM = genericDet->toGlobal(cluLocalPosSIM);
486 float time_res = cluster.time() - cluTimeSIM;
487 float energy_res = cluster.energy() - cluEneSIM;
491 float rho_res = global_point.perp() - cluGlobalPosSIM.perp();
492 float phi_res = global_point.phi() - cluGlobalPosSIM.phi();
497 float xlocal_res = local_point.
x() - cluLocalPosSIM.
x();
498 float ylocal_res = local_point.
y() - cluLocalPosSIM.
y();
500 float z_res = global_point.z() - cluGlobalPosSIM.z();
504 if (matchClu &&
comp !=
nullptr) {
507 if (global_point.z() > 0) {
515 if (cluster.size() == 1) {
517 if (global_point.z() > 0) {
524 if (cluster.size() > 1) {
526 if (global_point.z() > 0) {
534 if (
abs(global_point.eta()) < 0.3) {
536 if (global_point.z() > 0) {
543 if (
abs(global_point.eta()) > 1) {
545 if (global_point.z() > 0) {
591 for (
const auto& uRecHit : *btlUncalibRecHitsHandle) {
595 if (m_btlSimHits.count(
detId.rawId()) != 1)
601 float hit_amplitude = 0.;
605 if (uRecHit.amplitude().first > 0.) {
606 hit_amplitude += uRecHit.amplitude().first;
607 hit_time += uRecHit.time().first;
611 if (uRecHit.amplitude().second > 0.) {
612 hit_amplitude += uRecHit.amplitude().second;
613 hit_time += uRecHit.time().second;
617 hit_amplitude /=
nHits;
625 meUncEneRVsX_->
Fill(uRecHit.position(), uRecHit.amplitude().first - hit_amplitude);
626 meUncEneLVsX_->
Fill(uRecHit.position(), uRecHit.amplitude().second - hit_amplitude);
634 if (thedet ==
nullptr)
635 throw cms::Exception(
"BtlLocalRecoValidation") <<
"GeographicalID: " << std::hex << geoId.
rawId() <<
" (" 636 <<
detId.rawId() <<
") is invalid!" <<
std::dec << std::endl;
642 const auto& global_point = thedet->
toGlobal(local_point);
644 float time_res = hit_time - m_btlSimHits[
detId.rawId()].time;
656 if (fabs(global_point.eta()) >=
binsQEta_[ibin] && fabs(global_point.eta()) <
binsQEta_[ibin + 1])
689 meNhits_ = ibook.
book1D(
"BtlNhits",
"Number of BTL RECO hits;log_{10}(N_{RECO})", 100, 0., 5.25);
691 meHitEnergy_ = ibook.
book1D(
"BtlHitEnergy",
"BTL RECO hits energy;E_{RECO} [MeV]", 100, 0., 20.);
692 meHitLogEnergy_ = ibook.
book1D(
"BtlHitLogEnergy",
"BTL RECO hits energy;log_{10}(E_{RECO} [MeV])", 16, -0.1, 1.5);
693 meHitTime_ = ibook.
book1D(
"BtlHitTime",
"BTL RECO hits ToA;ToA_{RECO} [ns]", 100, 0., 25.);
694 meHitTimeError_ = ibook.
book1D(
"BtlHitTimeError",
"BTL RECO hits ToA error;#sigma^{ToA}_{RECO} [ns]", 50, 0., 0.1);
696 "BtlOccupancy",
"BTL RECO hits occupancy;Z_{RECO} [cm]; #phi_{RECO} [rad]", 65, -260., 260., 126, -3.2, 3.2);
699 "BtlLocalOccupancy",
"BTL RECO hits local occupancy;X_{RECO} [cm]; Y_{RECO} [cm]", 100, 10., 10., 60, -3., 3.);
701 meHitXlocal_ = ibook.
book1D(
"BtlHitXlocal",
"BTL RECO local X;X_{RECO}^{LOC} [cm]", 100, -10., 10.);
702 meHitYlocal_ = ibook.
book1D(
"BtlHitYlocal",
"BTL RECO local Y;Y_{RECO}^{LOC} [cm]", 60, -3, 3);
703 meHitZlocal_ = ibook.
book1D(
"BtlHitZlocal",
"BTL RECO local z;z_{RECO}^{LOC} [cm]", 8, -0.4, 0.4);
704 meHitZ_ = ibook.
book1D(
"BtlHitZ",
"BTL RECO hits Z;Z_{RECO} [cm]", 100, -260., 260.);
705 meHitPhi_ = ibook.
book1D(
"BtlHitPhi",
"BTL RECO hits #phi;#phi_{RECO} [rad]", 126, -3.2, 3.2);
706 meHitEta_ = ibook.
book1D(
"BtlHitEta",
"BTL RECO hits #eta;#eta_{RECO}", 100, -1.55, 1.55);
708 ibook.
bookProfile(
"BtlHitTvsE",
"BTL RECO ToA vs energy;E_{RECO} [MeV];ToA_{RECO} [ns]", 50, 0., 20., 0., 100.);
710 "BtlHitEvsPhi",
"BTL RECO energy vs #phi;#phi_{RECO} [rad];E_{RECO} [MeV]", 50, -3.2, 3.2, 0., 100.);
712 "BtlHitEvsEta",
"BTL RECO energy vs #eta;#eta_{RECO};E_{RECO} [MeV]", 50, -1.55, 1.55, 0., 100.);
714 ibook.
bookProfile(
"BtlHitEvsZ",
"BTL RECO energy vs Z;Z_{RECO} [cm];E_{RECO} [MeV]", 50, -260., 260., 0., 100.);
716 "BtlHitTvsPhi",
"BTL RECO ToA vs #phi;#phi_{RECO} [rad];ToA_{RECO} [ns]", 50, -3.2, 3.2, 0., 100.);
718 ibook.
bookProfile(
"BtlHitTvsEta",
"BTL RECO ToA vs #eta;#eta_{RECO};ToA_{RECO} [ns]", 50, -1.6, 1.6, 0., 100.);
720 ibook.
bookProfile(
"BtlHitTvsZ",
"BTL RECO ToA vs Z;Z_{RECO} [cm];ToA_{RECO} [ns]", 50, -260., 260., 0., 100.);
721 meHitLongPos_ = ibook.
book1D(
"BtlLongPos",
"BTL RECO hits longitudinal position;long. pos._{RECO}", 50, -5, 5);
722 meTimeRes_ = ibook.
book1D(
"BtlTimeRes",
"BTL time resolution;T_{RECO}-T_{SIM}", 100, -0.5, 0.5);
724 "BtlTimeResvsE",
"BTL time resolution vs hit energy;E_{RECO} [MeV];T_{RECO}-T_{SIM}", 50, 0., 20., -0.5, 0.5,
"S");
725 meEnergyRes_ = ibook.
book1D(
"BtlEnergyRes",
"BTL energy resolution;E_{RECO}-E_{SIM}", 100, -0.5, 0.5);
727 "BTL relative energy resolution vs hit energy;E_{RECO} [MeV];E_{RECO}-E_{SIM}",
735 "BTL longitudinal position pull;X^{loc}_{RECO}-X^{loc}_{SIM}/#sigma_{xloc_{RECO}}",
741 "BTL longitudinal position pull vs E;E_{SIM} [MeV];X^{loc}_{RECO}-X^{loc}_{SIM}/#sigma_{xloc_{RECO}}",
749 "BtlLongposPullvsEta",
750 "BTL longitudinal position pull vs #eta;|#eta_{RECO}|;X^{loc}_{RECO}-X^{loc}_{SIM}/#sigma_{xloc_{RECO}}",
758 "BtlTPullvsE",
"BTL time pull vs E;E_{SIM} [MeV];(T_{RECO}-T_{SIM})/#sigma_{T_{RECO}}", 20, 0., 20., -5., 5.,
"S");
760 "BTL time pull vs #eta;|#eta_{RECO}|;(T_{RECO}-T_{SIM})/#sigma_{T_{RECO}}",
769 "UnmatchedRecHit",
"log10(#BTL crystals with rechits but no simhit);log10(#BTL rechits)", 80, -2., 6.);
771 meNclusters_ = ibook.
book1D(
"BtlNclusters",
"Number of BTL RECO clusters;log_{10}(N_{RECO})", 100, 0., 5.25);
772 meCluTime_ = ibook.
book1D(
"BtlCluTime",
"BTL cluster time ToA;ToA [ns]", 250, 0, 25);
773 meCluTimeError_ = ibook.
book1D(
"BtlCluTimeError",
"BTL cluster time error;#sigma_{t} [ns]", 100, 0, 0.1);
774 meCluEnergy_ = ibook.
book1D(
"BtlCluEnergy",
"BTL cluster energy;E_{RECO} [MeV]", 100, 0, 20);
775 meCluPhi_ = ibook.
book1D(
"BtlCluPhi",
"BTL cluster #phi;#phi_{RECO} [rad]", 144, -3.2, 3.2);
776 meCluEta_ = ibook.
book1D(
"BtlCluEta",
"BTL cluster #eta;#eta_{RECO}", 100, -1.55, 1.55);
777 meCluHits_ = ibook.
book1D(
"BtlCluHitNumber",
"BTL hits per cluster; Cluster size", 10, 0, 10);
779 "BtlOccupancy",
"BTL cluster Z vs #phi;Z_{RECO} [cm]; #phi_{RECO} [rad]", 144, -260., 260., 50, -3.2, 3.2);
781 "BtlCluEnergyVsEta",
"BTL cluster energy vs #eta; |#eta_{RECO}|; E_{RECO} [cm]", 30, 0., 1.55, 0., 20.,
"S");
783 "BtlCluHitsVsEta",
"BTL hits per cluster vs #eta; |#eta_{RECO}|;Cluster size", 30, 0., 1.55, 0., 10.,
"S");
785 meCluTimeRes_ = ibook.
book1D(
"BtlCluTimeRes",
"BTL cluster time resolution;T_{RECO}-T_{SIM} [ns]", 100, -0.5, 0.5);
787 ibook.
book1D(
"BtlCluEnergyRes",
"BTL cluster energy resolution;E_{RECO}-E_{SIM} [MeV]", 100, -0.5, 0.5);
789 "BTL cluster time resolution vs E;E_{SIM} [MeV];(T_{RECO}-T_{SIM}) [ns]",
797 "BTL cluster time resolution vs #eta;|#eta_{RECO}|;(T_{RECO}-T_{SIM}) [ns]",
805 "BTL cluster time pull vs E;E_{SIM} [MeV];(T_{RECO}-T_{SIM})/#sigma_{T_{RECO}}",
814 "BTL cluster time pull vs #eta;|#eta_{RECO}|;(T_{RECO}-T_{SIM})/#sigma_{T_{RECO}}",
822 ibook.
book1D(
"BtlCluRhoRes",
"BTL cluster #rho resolution;#rho_{RECO}-#rho_{SIM} [cm]", 100, -0.5, 0.5);
824 ibook.
book1D(
"BtlCluPhiRes",
"BTL cluster #phi resolution;#phi_{RECO}-#phi_{SIM} [rad]", 100, -0.03, 0.03);
825 meCluZRes_ = ibook.
book1D(
"BtlCluZRes",
"BTL cluster Z resolution;Z_{RECO}-Z_{SIM} [cm]", 100, -0.2, 0.2);
827 ibook.
book1D(
"BtlCluLocalXRes",
"BTL cluster local X resolution;X_{RECO}-X_{SIM} [cm]", 100, -3.1, 3.1);
829 "BtlCluLocalYResZGlobPlus",
"BTL cluster local Y resolution (glob Z > 0);Y_{RECO}-Y_{SIM} [cm]", 100, -0.2, 0.2);
831 "BtlCluLocalYResZGlobMinus",
"BTL cluster local Y resolution (glob Z < 0);Y_{RECO}-Y_{SIM} [cm]", 100, -0.2, 0.2);
834 ibook.
book1D(
"BtlCluSingCrystalLocalYRes",
835 "BTL cluster local Y resolution (single Crystal clusters);Y_{RECO}-Y_{SIM} [cm]",
840 ibook.
book1D(
"BtlCluSingCrystalLocalYResZGlobPlus",
841 "BTL cluster local Y resolution (single Crystal clusters, Z glob > 0);Y_{RECO}-Y_{SIM} [cm]",
846 ibook.
book1D(
"BtlCluSingCrystalLocalYResZGlobMinus",
847 "BTL cluster local Y resolution (single Crystal clusters, Z glob < 0);Y_{RECO}-Y_{SIM} [cm]",
852 ibook.
book1D(
"BtlCluMultiCrystalLocalYRes",
853 "BTL cluster local Y resolution (Multi-Crystal clusters);Y_{RECO}-Y_{SIM} [cm]",
858 ibook.
book1D(
"BtlCluMultiCrystalLocalYResZGlobPlus",
859 "BTL cluster local Y resolution (Multi-Crystal clusters, Z glob > 0);Y_{RECO}-Y_{SIM} [cm]",
864 ibook.
book1D(
"BtlCluMultiCrystalLocalYResZGlobMinus",
865 "BTL cluster local Y resolution (Multi-Crystal clusters, Z glob < 0);Y_{RECO}-Y_{SIM} [cm]",
870 "BTL cluster local Y resolution (central region);Y_{RECO}-Y_{SIM} [cm]",
875 ibook.
book1D(
"BtlCluCentralLocalYResZGlobPlus",
876 "BTL cluster local Y resolution (central region, Z glob > 0);Y_{RECO}-Y_{SIM} [cm]",
881 ibook.
book1D(
"BtlCluCentralLocalYResZGlobMinus",
882 "BTL cluster local Y resolution (central region, Z glob < 0);Y_{RECO}-Y_{SIM} [cm]",
887 "BTL cluster local Y resolution (forward region);Y_{RECO}-Y_{SIM} [cm]",
892 ibook.
book1D(
"BtlCluForwardPlusLocalYRes",
893 "BTL cluster local Y resolution (forward region, Z glob > 0);Y_{RECO}-Y_{SIM} [cm]",
898 ibook.
book1D(
"BtlCluForwardMinusLocalYRes",
899 "BTL cluster local Y resolution (forward region, Z glob < 0);Y_{RECO}-Y_{SIM} [cm]",
905 "BtlCluLocalYPullZGlobPlus",
"BTL cluster local Y pull (glob Z > 0);Y_{RECO}-Y_{SIM}/sigmaY_[RECO]", 100, -5., 5.);
907 "BTL cluster local Y pull (glob Z < 0);Y_{RECO}-Y_{SIM}/sigmaY_[RECO]",
913 ibook.
book1D(
"BtlCluLocalXPull",
"BTL cluster local X pull;X_{RECO}-X_{SIM}/sigmaX_[RECO]", 100, -5., 5.);
915 meCluZPull_ = ibook.
book1D(
"BtlCluZPull",
"BTL cluster Z pull;Z_{RECO}-Z_{SIM}/sigmaZ_[RECO]", 100, -5., 5.);
916 meCluXLocalErr_ = ibook.
book1D(
"BtlCluXLocalErr",
"BTL cluster X local error;sigmaX_{RECO,loc} [cm]", 20, 0., 2.);
917 meCluYLocalErr_ = ibook.
book1D(
"BtlCluYLocalErr",
"BTL cluster Y local error;sigmaY_{RECO,loc} [cm]", 20, 0., 0.4);
920 "BTL cluster local Y vs X;X^{local}_{RECO} [cm];Y^{local}_{RECO} [cm]",
928 "BTL cluster local Y vs X;X^{local}_{SIM} [cm];Y^{local}_{SIM} [cm]",
937 ibook.
book1D(
"BtlUnmatchedCluEnergy",
"BTL unmatched cluster log10(energy);log10(E_{RECO} [MeV])", 5, -3, 2);
942 "BTL uncalibrated hit amplitude left - average vs X;X [cm];Delta(Q_{left}) [pC]",
950 "BTL uncalibrated hit amplitude right - average vs X;X [cm];Delta(Q_{right}) [pC]",
959 "BTL uncalibrated hit time left - average vs X;X [cm];Delta(T_{left}) [MeV]",
967 "BTL uncalibrated hit time right - average vs X;X [cm];Delta(T_{right}) [MeV]",
976 for (
unsigned int ihistoQ = 0; ihistoQ <
nBinsQ_; ++ihistoQ) {
978 std::string htitle = Form(
"BTL time resolution (Q bin = %d);T_{RECO} - T_{SIM} [ns]", ihistoQ);
981 for (
unsigned int ihistoEta = 0; ihistoEta <
nBinsQEta_; ++ihistoEta) {
982 hname = Form(
"TimeResQvsEta_%d_%d", ihistoQ, ihistoEta);
983 htitle = Form(
"BTL time resolution (Q bin = %d, |#eta| bin = %d);T_{RECO} - T_{SIM} [ns]", ihistoQ, ihistoEta);
990 for (
unsigned int ihistoEta = 0; ihistoEta <
nBinsEta_; ++ihistoEta) {
991 std::string hname = Form(
"TimeResEta_%d", ihistoEta);
992 std::string htitle = Form(
"BTL time resolution (|#eta| bin = %d);T_{RECO} - T_{SIM} [ns]", ihistoEta);
995 for (
unsigned int ihistoQ = 0; ihistoQ <
nBinsEtaQ_; ++ihistoQ) {
996 hname = Form(
"TimeResEtavsQ_%d_%d", ihistoEta, ihistoQ);
997 htitle = Form(
"BTL time resolution (|#eta| bin = %d, Q bin = %d);T_{RECO} - T_{SIM} [ns]", ihistoEta, ihistoQ);
1016 desc.add<
double>(
"HitMinimumEnergy", 1.);
1017 desc.add<
bool>(
"optionalPlots",
false);
1018 desc.add<
bool>(
"UncalibRecHitsPlots",
false);
1019 desc.add<
double>(
"HitMinimumAmplitude", 30.);
1021 descriptions.
add(
"btlLocalRecoValid",
desc);
MonitorElement * meHitXlocal_
MonitorElement * meCluHitsvsEta_
MonitorElement * meCluForwardMinusLocalYRes_
MonitorElement * meHitLogEnergy_
int getMTDTopologyMode() const
MonitorElement * meHitYlocal_
T getParameter(std::string const &) const
MonitorElement * meCluTPullvsE_
MonitorElement * meHitLongPos_
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
MonitorElement * meLongPosPull_
virtual void setCurrentFolder(std::string const &fullpath)
MonitorElement * meNhits_
MonitorElement * meHitEnergy_
const edm::ESGetToken< MTDTopology, MTDTopologyRcd > mtdtopoToken_
MonitorElement * meCluSingCrystalLocalYResZGlobMinus_
virtual const Topology & topology() const
MonitorElement * meCluZRes_
virtual const PixelTopology & specificTopology() const
MonitorElement * meCluLocalYResZGlobMinus_
MonitorElement * meCluSingCrystalLocalYRes_
MonitorElement * meCluEnergyvsEta_
const edm::ESGetToken< MTDClusterParameterEstimator, MTDCPERecord > cpeToken_
MonitorElement * meCluCentralLocalYResZGlobPlus_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
MonitorElement * meCluForwardLocalYRes_
MonitorElement * meCluLocalXRes_
MonitorElement * meCluYLocalErr_
const double hitMinEnergy_
MonitorElement * meCluEta_
MonitorElement * meUncEneLVsX_
MonitorElement * meCluZvsPhi_
MonitorElement * meNevents_
MonitorElement * meCluPhi_
MonitorElement * meEnergyRelResVsE_
const bool optionalPlots_
static constexpr float binWidthQ_
MonitorElement * meCluCentralLocalYResZGlobMinus_
MonitorElement * meCluZPull_
MonitorElement * meCluMultiCrystalLocalYRes_
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 * meLongPosPullvsEta_
MonitorElement * meCluTimeRes_
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 * meTimeRes_
MonitorElement * meCluTime_
MonitorElement * meCluXLocalErr_
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 * meCluSingCrystalLocalYResZGlobPlus_
~BtlLocalRecoValidation() override
edm::EDGetTokenT< FTLClusterCollection > btlRecCluToken_
static constexpr float binsQEta_[nBinsQEta_+1]
Abs< T >::type abs(const T &t)
MonitorElement * meHitTime_
#define DEFINE_FWK_MODULE(type)
static constexpr int nBinsQEta_
int nrows() const override
MonitorElement * meEnergyRes_
const double hitMinAmplitude_
MonitorElement * meHitEta_
MonitorElement * meLocalOccupancy_
MonitorElement * meTimeResEta_[nBinsEta_]
MonitorElement * meCluCentralLocalYRes_
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 * meCluTimeError_
MonitorElement * meHitTvsEta_
const edm::ESGetToken< MTDGeometry, MTDDigiGeometryRecord > mtdgeoToken_
constexpr NumType convertMmToCm(NumType millimeters)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
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 * meCluLocalYPullZGlobPlus_
MonitorElement * meTimeResEtavsQ_[nBinsEta_][nBinsEtaQ_]
Detector identifier class for the Barrel Timing Layer. The crystal count must start from 0...
MonitorElement * meUncTimeRVsX_
MonitorElement * meCluMultiCrystalLocalYResZGlobPlus_
ESTransientHandle< T > getTransientHandle(const ESGetToken< T, R > &iToken) const
static constexpr int nBinsEta_
MonitorElement * meCluTResvsEta_
BTLDetId::CrysLayout crysLayoutFromTopoMode(const int &topoMode)
MonitorElement * meHitEvsEta_
Log< level::Warning, false > LogWarning
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 * meTPullvsE_
MonitorElement * meNclusters_
const bool uncalibRecHitsPlots_
MonitorElement * meHitPhi_