Skip to content
Snippets Groups Projects

Track Monitoring histograms

Merged Bhagyashree Pagare requested to merge velomon_master_dd4hep into master
1 unresolved thread
1 file
+ 26
27
Compare changes
  • Side-by-side
  • Inline
@@ -102,9 +102,8 @@ namespace LHCb::Tr::Monitor {
VPTrackMonitor( const std::string& name, ISvcLocator* pSvcLocator )
: Consumer{name,
pSvcLocator,
//{KeyValue{"TrackContainer", TrackLocation::Default},
//
{KeyValue{"TrackContainer", ""}, KeyValue{"ClusterContainer", VPClusterLocation::Light},
{KeyValue{"TrackContainer", ""},
KeyValue{"ClusterContainer", VPClusterLocation::Light},
KeyValue{"VPHitExpectation", "VPHitExpectation"},
KeyValue{"VPDetectorLocation", DeVPLocation::Default},
KeyValue{"StandardGeometryTop", LHCb::standard_geometry_top}}} {}
@@ -153,15 +152,15 @@ namespace LHCb::Tr::Monitor {
mutable Gaudi::Accumulators::Histogram<1> m_nTracksperEvent;
mutable Gaudi::Accumulators::ProfileHistogram<1> m_prof_resXLocal_Vs_qXLocal_mod15;
mutable Gaudi::Accumulators::ProfileHistogram<1> m_prof_resYLocal_Vs_qYLocal_mod15;
mutable Gaudi::Accumulators::ProfileHistogram<1> m_prof_resXGlobal_Vs_qXGlobal_mod15;
mutable Gaudi::Accumulators::ProfileHistogram<1> m_prof_resYGlobal_Vs_qYGlobal_mod15;
mutable Gaudi::Accumulators::ProfileHistogram<1> m_prof_resXLocal_Vs_qXLocal;
mutable Gaudi::Accumulators::ProfileHistogram<1> m_prof_resYLocal_Vs_qYLocal;
mutable Gaudi::Accumulators::ProfileHistogram<1> m_prof_resXGlobal_Vs_qXGlobal;
mutable Gaudi::Accumulators::ProfileHistogram<1> m_prof_resYGlobal_Vs_qYGlobal;
mutable Gaudi::Accumulators::ProfileHistogram<1> m_prof_resXGlobal_Vs_qXLocal_mod15;
mutable Gaudi::Accumulators::ProfileHistogram<1> m_prof_resYGlobal_Vs_qYLocal_mod15;
mutable Gaudi::Accumulators::ProfileHistogram<1> m_prof_resXLocal_Vs_qXGlobal_mod15;
mutable Gaudi::Accumulators::ProfileHistogram<1> m_prof_resYLocal_Vs_qYGlobal_mod15;
mutable Gaudi::Accumulators::ProfileHistogram<1> m_prof_resXGlobal_Vs_qXLocal;
mutable Gaudi::Accumulators::ProfileHistogram<1> m_prof_resYGlobal_Vs_qYLocal;
mutable Gaudi::Accumulators::ProfileHistogram<1> m_prof_resXLocal_Vs_qXGlobal;
mutable Gaudi::Accumulators::ProfileHistogram<1> m_prof_resYLocal_Vs_qYGlobal;
Histos( const VPTrackMonitor* owner, std::string const& fwdbwd )
: // Histograms filled per track
@@ -279,36 +278,36 @@ namespace LHCb::Tr::Monitor {
, m_nTracksperEvent{owner, fwdbwd + "/NtracksperEvent", "nTracks Vs event", {351, -0.5, 350.5}}
, m_prof_resXLocal_Vs_qXLocal_mod15{owner,
, m_prof_resXLocal_Vs_qXLocal{owner,
fwdbwd + "/LocalResX_Vs_LocalQx",
"LocalResX Vs LocalQx",
{100, -5, 50}}
, m_prof_resYLocal_Vs_qYLocal_mod15{owner,
, m_prof_resYLocal_Vs_qYLocal{owner,
fwdbwd + "/LocalResY_Vs_LocalQy",
"LocalResY Vs LocalQy",
{100, -5, 20}}
, m_prof_resXGlobal_Vs_qXGlobal_mod15{owner,
, m_prof_resXGlobal_Vs_qXGlobal{owner,
fwdbwd + "/GlobalResX_Vs_GlobalQx",
"GlobalResX Vs GlobalQx",
{300, -80, 80}}
, m_prof_resYGlobal_Vs_qYGlobal_mod15{owner,
, m_prof_resYGlobal_Vs_qYGlobal{owner,
fwdbwd + "/GlobalResY_Vs_GlobalQy",
"GlobalResY Vs GlobalQy",
{300, -80, 80}}
, m_prof_resXGlobal_Vs_qXLocal_mod15{owner,
, m_prof_resXGlobal_Vs_qXLocal{owner,
fwdbwd + "/GlobalResX_Vs_LocalQx",
"GlobalResX Vs LocalQx",
{100, -5, 50}}
, m_prof_resYGlobal_Vs_qYLocal_mod15{owner,
, m_prof_resYGlobal_Vs_qYLocal{owner,
fwdbwd + "/GlobalResY_Vs_LocalQy",
"GlobalResY Vs LocalQy",
{100, -5, 20}}
, m_prof_resXLocal_Vs_qXGlobal_mod15{owner,
, m_prof_resXLocal_Vs_qXGlobal{owner,
fwdbwd + "/LocalResX_Vs_GlobalQx",
"LocalResX Vs GlobalQx",
{300, -80, 80}}
, m_prof_resYLocal_Vs_qYGlobal_mod15{
, m_prof_resYLocal_Vs_qYGlobal{
owner, fwdbwd + "/LocalResY_Vs_GlobalQy", "LocalResY Vs GlobalQy", {300, -60, 60}} {}
};
@@ -568,18 +567,18 @@ namespace LHCb::Tr::Monitor {
const auto ql = sens.globalToLocal( q );
if ( isXRes ) {
histos.m_prof_resXLocal_Vs_qXLocal_mod15[ql.x()] += node.residual();
histos.m_prof_resXGlobal_Vs_qXGlobal_mod15[q.x()] += ( nodeGlobal.x() - cluGlobal.x() );
histos.m_prof_resXLocal_Vs_qXLocal[ql.x()] += node.residual();
histos.m_prof_resXGlobal_Vs_qXGlobal[q.x()] += ( nodeGlobal.x() - cluGlobal.x() );
histos.m_prof_resXLocal_Vs_qXGlobal_mod15[q.x()] += node.residual();
histos.m_prof_resXGlobal_Vs_qXLocal_mod15[ql.x()] += ( nodeGlobal.x() - cluGlobal.x() );
histos.m_prof_resXLocal_Vs_qXGlobal[q.x()] += node.residual();
histos.m_prof_resXGlobal_Vs_qXLocal[ql.x()] += ( nodeGlobal.x() - cluGlobal.x() );
} else {
histos.m_prof_resYLocal_Vs_qYLocal_mod15[ql.y()] += node.residual();
histos.m_prof_resYGlobal_Vs_qYGlobal_mod15[q.y()] += ( nodeGlobal.y() - cluGlobal.y() );
histos.m_prof_resYLocal_Vs_qYLocal[ql.y()] += node.residual();
histos.m_prof_resYGlobal_Vs_qYGlobal[q.y()] += ( nodeGlobal.y() - cluGlobal.y() );
histos.m_prof_resYLocal_Vs_qYGlobal_mod15[q.y()] += node.residual();
histos.m_prof_resYGlobal_Vs_qYLocal_mod15[ql.y()] += ( nodeGlobal.y() - cluGlobal.y() );
histos.m_prof_resYLocal_Vs_qYGlobal[q.y()] += node.residual();
histos.m_prof_resYGlobal_Vs_qYLocal[ql.y()] += ( nodeGlobal.y() - cluGlobal.y() );
}
if ( ResidualDebug ) {
Loading