206 return clu1.
id() == clu2.
id() && clu1.
size() == clu2.
size() && clu1.
x() == clu2.
x() && clu1.
y() == clu2.
y() &&
213 hitMinEnergy_(iConfig.getParameter<double>(
"HitMinimumEnergy")),
214 optionalPlots_(iConfig.getParameter<
bool>(
"optionalPlots")),
215 uncalibRecHitsPlots_(iConfig.getParameter<
bool>(
"UncalibRecHitsPlots")),
216 hitMinAmplitude_(iConfig.getParameter<double>(
"HitMinimumAmplitude")),
240 const MTDTopology* topology = topologyHandle.product();
251 for (
const auto&
hits : *mtdTrkHitHandle) {
252 if (
MTDDetId(
hits.id()).mtdSubDetector() == MTDDetId::MTDType::BTL) {
253 LogDebug(
"BtlLocalRecoValidation") <<
"MTD cluster DetId " <<
hits.id() <<
" # cluster " <<
hits.size();
256 <<
"MTD_TRH: " <<
hit.localPosition().
x() <<
"," <<
hit.localPosition().
y() <<
" : " 257 <<
hit.localPositionError().xx() <<
"," <<
hit.localPositionError().yy() <<
" : " <<
hit.time() <<
" : " 265 std::unordered_map<uint32_t, MTDHit> m_btlSimHits;
266 for (
auto const&
simHit : btlSimHits) {
273 auto simHitIt = m_btlSimHits.emplace(
id.
rawId(),
MTDHit()).first;
279 if ((simHitIt->second).time == 0 ||
simHit.tof() < (simHitIt->second).
time) {
282 auto hit_pos =
simHit.localPosition();
283 (simHitIt->second).
x = hit_pos.x();
284 (simHitIt->second).
y = hit_pos.y();
285 (simHitIt->second).
z = hit_pos.z();
291 unsigned int n_reco_btl = 0;
292 for (
const auto&
recHit : *btlRecHitsHandle) {
296 if (thedet ==
nullptr)
297 throw cms::Exception(
"BtlLocalRecoValidation") <<
"GeographicalID: " << std::hex << geoId.
rawId() <<
" (" 298 <<
detId.rawId() <<
") is invalid!" <<
std::dec << std::endl;
304 const auto& global_point = thedet->
toGlobal(local_point);
335 float time_res =
recHit.time() - m_btlSimHits[
detId.rawId()].time;
336 float energy_res =
recHit.energy() - m_btlSimHits[
detId.rawId()].energy;
343 const auto& global_point_sim = thedet->
toGlobal(local_point_sim);
366 unsigned int n_clus_btl(0);
367 for (
const auto& DetSetClu : *btlRecCluHandle) {
368 for (
const auto& cluster : DetSetClu) {
372 DetId detIdObject(cluId);
373 const auto& genericDet =
geom->idToDetUnit(detIdObject);
374 if (genericDet ==
nullptr) {
376 <<
"GeographicalID: " << std::hex << cluId <<
" is invalid!" <<
std::dec << std::endl;
387 const auto& global_point = genericDet->toGlobal(local_point);
400 double cluEneSIM = 0.;
401 double cluTimeSIM = 0.;
402 double cluLocXSIM = 0.;
403 double cluLocYSIM = 0.;
404 double cluLocZSIM = 0.;
406 for (
int ihit = 0; ihit < cluster.size(); ++ihit) {
407 int hit_row = cluster.minHitRow() + cluster.hitOffset()[ihit * 2];
408 int hit_col = cluster.minHitCol() + cluster.hitOffset()[ihit * 2 + 1];
411 for (
const auto&
recHit : *btlRecHitsHandle) {
414 if (m_btlSimHits.count(hitId.rawId()) == 0)
418 if (hitId.mtdSide() != cluId.
mtdSide() || hitId.mtdRR() != cluId.
mtdRR() ||
recHit.row() != hit_row ||
419 recHit.column() != hit_col)
423 if (
recHit.energy() != cluster.hitENERGY()[ihit] ||
recHit.time() != cluster.hitTIME()[ihit])
434 cluLocXSIM += local_point_sim.
x() * m_btlSimHits[
recHit.id().rawId()].energy;
435 cluLocYSIM += local_point_sim.
y() * m_btlSimHits[
recHit.id().rawId()].energy;
436 cluLocZSIM += local_point_sim.
z() * m_btlSimHits[
recHit.id().rawId()].energy;
439 cluEneSIM += m_btlSimHits[
recHit.id().rawId()].energy;
440 cluTimeSIM += m_btlSimHits[
recHit.id().rawId()].time * m_btlSimHits[
recHit.id().rawId()].energy;
450 bool matchClu =
false;
451 const auto& trkHits = (*mtdTrkHitHandle)[detIdObject];
452 for (
const auto& trkHit : trkHits) {
454 comp = trkHit.clone();
461 <<
"No valid TrackingRecHit corresponding to cluster, detId = " << detIdObject.
rawId();
465 if (cluTimeSIM > 0. && cluEneSIM > 0.) {
466 cluTimeSIM /= cluEneSIM;
468 Local3DPoint cluLocalPosSIM(cluLocXSIM / cluEneSIM, cluLocYSIM / cluEneSIM, cluLocZSIM / cluEneSIM);
469 const auto& cluGlobalPosSIM = genericDet->toGlobal(cluLocalPosSIM);
471 float time_res = cluster.time() - cluTimeSIM;
472 float energy_res = cluster.energy() - cluEneSIM;
476 float rho_res = global_point.perp() - cluGlobalPosSIM.perp();
477 float phi_res = global_point.phi() - cluGlobalPosSIM.phi();
482 float xlocal_res = local_point.
x() - cluLocalPosSIM.
x();
483 float ylocal_res = local_point.
y() - cluLocalPosSIM.
y();
485 float z_res = global_point.z() - cluGlobalPosSIM.z();
489 if (matchClu &&
comp !=
nullptr) {
492 if (global_point.z() > 0) {
500 if (cluster.size() == 1) {
502 if (global_point.z() > 0) {
509 if (cluster.size() > 1) {
511 if (global_point.z() > 0) {
519 if (
abs(global_point.eta()) < 0.3) {
521 if (global_point.z() > 0) {
528 if (
abs(global_point.eta()) > 1) {
530 if (global_point.z() > 0) {
576 for (
const auto& uRecHit : *btlUncalibRecHitsHandle) {
580 if (m_btlSimHits.count(
detId.rawId()) != 1)
586 float hit_amplitude = 0.;
590 if (uRecHit.amplitude().first > 0.) {
591 hit_amplitude += uRecHit.amplitude().first;
592 hit_time += uRecHit.time().first;
596 if (uRecHit.amplitude().second > 0.) {
597 hit_amplitude += uRecHit.amplitude().second;
598 hit_time += uRecHit.time().second;
602 hit_amplitude /=
nHits;
610 meUncEneRVsX_->
Fill(uRecHit.position(), uRecHit.amplitude().first - hit_amplitude);
611 meUncEneLVsX_->
Fill(uRecHit.position(), uRecHit.amplitude().second - hit_amplitude);
619 if (thedet ==
nullptr)
620 throw cms::Exception(
"BtlLocalRecoValidation") <<
"GeographicalID: " << std::hex << geoId.
rawId() <<
" (" 621 <<
detId.rawId() <<
") is invalid!" <<
std::dec << std::endl;
627 const auto& global_point = thedet->
toGlobal(local_point);
629 float time_res = hit_time - m_btlSimHits[
detId.rawId()].time;
641 if (fabs(global_point.eta()) >=
binsQEta_[ibin] && fabs(global_point.eta()) <
binsQEta_[ibin + 1])
674 meNhits_ = ibook.
book1D(
"BtlNhits",
"Number of BTL RECO hits;log_{10}(N_{RECO})", 100, 0., 5.25);
676 meHitEnergy_ = ibook.
book1D(
"BtlHitEnergy",
"BTL RECO hits energy;E_{RECO} [MeV]", 100, 0., 20.);
677 meHitLogEnergy_ = ibook.
book1D(
"BtlHitLogEnergy",
"BTL RECO hits energy;log_{10}(E_{RECO} [MeV])", 16, -0.1, 1.5);
678 meHitTime_ = ibook.
book1D(
"BtlHitTime",
"BTL RECO hits ToA;ToA_{RECO} [ns]", 100, 0., 25.);
679 meHitTimeError_ = ibook.
book1D(
"BtlHitTimeError",
"BTL RECO hits ToA error;#sigma^{ToA}_{RECO} [ns]", 50, 0., 0.1);
681 "BtlOccupancy",
"BTL RECO hits occupancy;Z_{RECO} [cm]; #phi_{RECO} [rad]", 65, -260., 260., 126, -3.2, 3.2);
684 "BtlLocalOccupancy",
"BTL RECO hits local occupancy;X_{RECO} [cm]; Y_{RECO} [cm]", 100, 10., 10., 60, -3., 3.);
686 meHitXlocal_ = ibook.
book1D(
"BtlHitXlocal",
"BTL RECO local X;X_{RECO}^{LOC} [cm]", 100, -10., 10.);
687 meHitYlocal_ = ibook.
book1D(
"BtlHitYlocal",
"BTL RECO local Y;Y_{RECO}^{LOC} [cm]", 60, -3, 3);
688 meHitZlocal_ = ibook.
book1D(
"BtlHitZlocal",
"BTL RECO local z;z_{RECO}^{LOC} [cm]", 8, -0.4, 0.4);
689 meHitZ_ = ibook.
book1D(
"BtlHitZ",
"BTL RECO hits Z;Z_{RECO} [cm]", 100, -260., 260.);
690 meHitPhi_ = ibook.
book1D(
"BtlHitPhi",
"BTL RECO hits #phi;#phi_{RECO} [rad]", 126, -3.2, 3.2);
691 meHitEta_ = ibook.
book1D(
"BtlHitEta",
"BTL RECO hits #eta;#eta_{RECO}", 100, -1.55, 1.55);
693 ibook.
bookProfile(
"BtlHitTvsE",
"BTL RECO ToA vs energy;E_{RECO} [MeV];ToA_{RECO} [ns]", 50, 0., 20., 0., 100.);
695 "BtlHitEvsPhi",
"BTL RECO energy vs #phi;#phi_{RECO} [rad];E_{RECO} [MeV]", 50, -3.2, 3.2, 0., 100.);
697 "BtlHitEvsEta",
"BTL RECO energy vs #eta;#eta_{RECO};E_{RECO} [MeV]", 50, -1.55, 1.55, 0., 100.);
699 ibook.
bookProfile(
"BtlHitEvsZ",
"BTL RECO energy vs Z;Z_{RECO} [cm];E_{RECO} [MeV]", 50, -260., 260., 0., 100.);
701 "BtlHitTvsPhi",
"BTL RECO ToA vs #phi;#phi_{RECO} [rad];ToA_{RECO} [ns]", 50, -3.2, 3.2, 0., 100.);
703 ibook.
bookProfile(
"BtlHitTvsEta",
"BTL RECO ToA vs #eta;#eta_{RECO};ToA_{RECO} [ns]", 50, -1.6, 1.6, 0., 100.);
705 ibook.
bookProfile(
"BtlHitTvsZ",
"BTL RECO ToA vs Z;Z_{RECO} [cm];ToA_{RECO} [ns]", 50, -260., 260., 0., 100.);
706 meHitLongPos_ = ibook.
book1D(
"BtlLongPos",
"BTL RECO hits longitudinal position;long. pos._{RECO}", 50, -5, 5);
707 meTimeRes_ = ibook.
book1D(
"BtlTimeRes",
"BTL time resolution;T_{RECO}-T_{SIM}", 100, -0.5, 0.5);
709 "BtlTimeResvsE",
"BTL time resolution vs hit energy;E_{RECO} [MeV];T_{RECO}-T_{SIM}", 50, 0., 20., -0.5, 0.5,
"S");
710 meEnergyRes_ = ibook.
book1D(
"BtlEnergyRes",
"BTL energy resolution;E_{RECO}-E_{SIM}", 100, -0.5, 0.5);
712 "BTL relative energy resolution vs hit energy;E_{RECO} [MeV];E_{RECO}-E_{SIM}",
720 "BTL longitudinal position pull;X^{loc}_{RECO}-X^{loc}_{SIM}/#sigma_{xloc_{RECO}}",
726 "BTL longitudinal position pull vs E;E_{SIM} [MeV];X^{loc}_{RECO}-X^{loc}_{SIM}/#sigma_{xloc_{RECO}}",
734 "BtlLongposPullvsEta",
735 "BTL longitudinal position pull vs #eta;|#eta_{RECO}|;X^{loc}_{RECO}-X^{loc}_{SIM}/#sigma_{xloc_{RECO}}",
743 "BtlTPullvsE",
"BTL time pull vs E;E_{SIM} [MeV];(T_{RECO}-T_{SIM})/#sigma_{T_{RECO}}", 20, 0., 20., -5., 5.,
"S");
745 "BTL time pull vs #eta;|#eta_{RECO}|;(T_{RECO}-T_{SIM})/#sigma_{T_{RECO}}",
753 meNclusters_ = ibook.
book1D(
"BtlNclusters",
"Number of BTL RECO clusters;log_{10}(N_{RECO})", 100, 0., 5.25);
754 meCluTime_ = ibook.
book1D(
"BtlCluTime",
"BTL cluster time ToA;ToA [ns]", 250, 0, 25);
755 meCluTimeError_ = ibook.
book1D(
"BtlCluTimeError",
"BTL cluster time error;#sigma_{t} [ns]", 100, 0, 0.1);
756 meCluEnergy_ = ibook.
book1D(
"BtlCluEnergy",
"BTL cluster energy;E_{RECO} [MeV]", 100, 0, 20);
757 meCluPhi_ = ibook.
book1D(
"BtlCluPhi",
"BTL cluster #phi;#phi_{RECO} [rad]", 144, -3.2, 3.2);
758 meCluEta_ = ibook.
book1D(
"BtlCluEta",
"BTL cluster #eta;#eta_{RECO}", 100, -1.55, 1.55);
759 meCluHits_ = ibook.
book1D(
"BtlCluHitNumber",
"BTL hits per cluster; Cluster size", 10, 0, 10);
761 "BtlOccupancy",
"BTL cluster Z vs #phi;Z_{RECO} [cm]; #phi_{RECO} [rad]", 144, -260., 260., 50, -3.2, 3.2);
763 "BtlCluEnergyVsEta",
"BTL cluster energy vs #eta; |#eta_{RECO}|; E_{RECO} [cm]", 30, 0., 1.55, 0., 20.,
"S");
765 "BtlCluHitsVsEta",
"BTL hits per cluster vs #eta; |#eta_{RECO}|;Cluster size", 30, 0., 1.55, 0., 10.,
"S");
767 meCluTimeRes_ = ibook.
book1D(
"BtlCluTimeRes",
"BTL cluster time resolution;T_{RECO}-T_{SIM} [ns]", 100, -0.5, 0.5);
769 ibook.
book1D(
"BtlCluEnergyRes",
"BTL cluster energy resolution;E_{RECO}-E_{SIM} [MeV]", 100, -0.5, 0.5);
771 "BTL cluster time resolution vs E;E_{SIM} [MeV];(T_{RECO}-T_{SIM}) [ns]",
779 "BTL cluster time resolution vs #eta;|#eta_{RECO}|;(T_{RECO}-T_{SIM}) [ns]",
787 "BTL cluster time pull vs E;E_{SIM} [MeV];(T_{RECO}-T_{SIM})/#sigma_{T_{RECO}}",
796 "BTL cluster time pull vs #eta;|#eta_{RECO}|;(T_{RECO}-T_{SIM})/#sigma_{T_{RECO}}",
804 ibook.
book1D(
"BtlCluRhoRes",
"BTL cluster #rho resolution;#rho_{RECO}-#rho_{SIM} [cm]", 100, -0.5, 0.5);
806 ibook.
book1D(
"BtlCluPhiRes",
"BTL cluster #phi resolution;#phi_{RECO}-#phi_{SIM} [rad]", 100, -0.03, 0.03);
807 meCluZRes_ = ibook.
book1D(
"BtlCluZRes",
"BTL cluster Z resolution;Z_{RECO}-Z_{SIM} [cm]", 100, -0.2, 0.2);
809 ibook.
book1D(
"BtlCluLocalXRes",
"BTL cluster local X resolution;X_{RECO}-X_{SIM} [cm]", 100, -3.1, 3.1);
811 "BtlCluLocalYResZGlobPlus",
"BTL cluster local Y resolution (glob Z > 0);Y_{RECO}-Y_{SIM} [cm]", 100, -0.2, 0.2);
813 "BtlCluLocalYResZGlobMinus",
"BTL cluster local Y resolution (glob Z < 0);Y_{RECO}-Y_{SIM} [cm]", 100, -0.2, 0.2);
816 ibook.
book1D(
"BtlCluSingCrystalLocalYRes",
817 "BTL cluster local Y resolution (single Crystal clusters);Y_{RECO}-Y_{SIM} [cm]",
822 ibook.
book1D(
"BtlCluSingCrystalLocalYResZGlobPlus",
823 "BTL cluster local Y resolution (single Crystal clusters, Z glob > 0);Y_{RECO}-Y_{SIM} [cm]",
828 ibook.
book1D(
"BtlCluSingCrystalLocalYResZGlobMinus",
829 "BTL cluster local Y resolution (single Crystal clusters, Z glob < 0);Y_{RECO}-Y_{SIM} [cm]",
834 ibook.
book1D(
"BtlCluMultiCrystalLocalYRes",
835 "BTL cluster local Y resolution (Multi-Crystal clusters);Y_{RECO}-Y_{SIM} [cm]",
840 ibook.
book1D(
"BtlCluMultiCrystalLocalYResZGlobPlus",
841 "BTL cluster local Y resolution (Multi-Crystal clusters, Z glob > 0);Y_{RECO}-Y_{SIM} [cm]",
846 ibook.
book1D(
"BtlCluMultiCrystalLocalYResZGlobMinus",
847 "BTL cluster local Y resolution (Multi-Crystal clusters, Z glob < 0);Y_{RECO}-Y_{SIM} [cm]",
852 "BTL cluster local Y resolution (central region);Y_{RECO}-Y_{SIM} [cm]",
857 ibook.
book1D(
"BtlCluCentralLocalYResZGlobPlus",
858 "BTL cluster local Y resolution (central region, Z glob > 0);Y_{RECO}-Y_{SIM} [cm]",
863 ibook.
book1D(
"BtlCluCentralLocalYResZGlobMinus",
864 "BTL cluster local Y resolution (central region, Z glob < 0);Y_{RECO}-Y_{SIM} [cm]",
869 "BTL cluster local Y resolution (forward region);Y_{RECO}-Y_{SIM} [cm]",
874 ibook.
book1D(
"BtlCluForwardPlusLocalYRes",
875 "BTL cluster local Y resolution (forward region, Z glob > 0);Y_{RECO}-Y_{SIM} [cm]",
880 ibook.
book1D(
"BtlCluForwardMinusLocalYRes",
881 "BTL cluster local Y resolution (forward region, Z glob < 0);Y_{RECO}-Y_{SIM} [cm]",
887 "BtlCluLocalYPullZGlobPlus",
"BTL cluster local Y pull (glob Z > 0);Y_{RECO}-Y_{SIM}/sigmaY_[RECO]", 100, -5., 5.);
889 "BTL cluster local Y pull (glob Z < 0);Y_{RECO}-Y_{SIM}/sigmaY_[RECO]",
895 ibook.
book1D(
"BtlCluLocalXPull",
"BTL cluster local X pull;X_{RECO}-X_{SIM}/sigmaX_[RECO]", 100, -5., 5.);
897 meCluZPull_ = ibook.
book1D(
"BtlCluZPull",
"BTL cluster Z pull;Z_{RECO}-Z_{SIM}/sigmaZ_[RECO]", 100, -5., 5.);
898 meCluXLocalErr_ = ibook.
book1D(
"BtlCluXLocalErr",
"BTL cluster X local error;sigmaX_{RECO,loc} [cm]", 20, 0., 2.);
899 meCluYLocalErr_ = ibook.
book1D(
"BtlCluYLocalErr",
"BTL cluster Y local error;sigmaY_{RECO,loc} [cm]", 20, 0., 0.4);
902 "BTL cluster local Y vs X;X^{local}_{RECO} [cm];Y^{local}_{RECO} [cm]",
910 "BTL cluster local Y vs X;X^{local}_{SIM} [cm];Y^{local}_{SIM} [cm]",
919 ibook.
book1D(
"BtlUnmatchedCluEnergy",
"BTL unmatched cluster log10(energy);log10(E_{RECO} [MeV])", 5, -3, 2);
924 "BTL uncalibrated hit amplitude left - average vs X;X [cm];Delta(Q_{left}) [pC]",
932 "BTL uncalibrated hit amplitude right - average vs X;X [cm];Delta(Q_{right}) [pC]",
941 "BTL uncalibrated hit time left - average vs X;X [cm];Delta(T_{left}) [MeV]",
949 "BTL uncalibrated hit time right - average vs X;X [cm];Delta(T_{right}) [MeV]",
958 for (
unsigned int ihistoQ = 0; ihistoQ <
nBinsQ_; ++ihistoQ) {
960 std::string htitle = Form(
"BTL time resolution (Q bin = %d);T_{RECO} - T_{SIM} [ns]", ihistoQ);
963 for (
unsigned int ihistoEta = 0; ihistoEta <
nBinsQEta_; ++ihistoEta) {
964 hname = Form(
"TimeResQvsEta_%d_%d", ihistoQ, ihistoEta);
965 htitle = Form(
"BTL time resolution (Q bin = %d, |#eta| bin = %d);T_{RECO} - T_{SIM} [ns]", ihistoQ, ihistoEta);
972 for (
unsigned int ihistoEta = 0; ihistoEta <
nBinsEta_; ++ihistoEta) {
973 std::string hname = Form(
"TimeResEta_%d", ihistoEta);
974 std::string htitle = Form(
"BTL time resolution (|#eta| bin = %d);T_{RECO} - T_{SIM} [ns]", ihistoEta);
977 for (
unsigned int ihistoQ = 0; ihistoQ <
nBinsEtaQ_; ++ihistoQ) {
978 hname = Form(
"TimeResEtavsQ_%d_%d", ihistoEta, ihistoQ);
979 htitle = Form(
"BTL time resolution (|#eta| bin = %d, Q bin = %d);T_{RECO} - T_{SIM} [ns]", ihistoEta, ihistoQ);
998 desc.add<
double>(
"HitMinimumEnergy", 1.);
999 desc.add<
bool>(
"optionalPlots",
false);
1000 desc.add<
bool>(
"UncalibRecHitsPlots",
false);
1001 desc.add<
double>(
"HitMinimumAmplitude", 30.);
1003 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
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_