Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prompt calibration loop module for SiPixelLorentzAngle #35507

Merged
Next Next commit
add stub of SiPixelLorentzAnglePCLWorker
  • Loading branch information
mmusich committed Oct 13, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit da6a318d9d54ea31e4755a1f620c51017f1e2779
3 changes: 3 additions & 0 deletions CalibTracker/SiPixelLorentzAngle/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -8,5 +8,8 @@
<use name="Geometry/Records"/>
<use name="SimTracker/TrackerHitAssociation"/>
<use name="MagneticField/Records"/>
<use name="DQMServices/Core"/>
<use name="CondFormats/SiPixelObjects"/>
<use name="CondFormats/SiPixelTransient"/>
<use name="root"/>
<use name="clhep"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#ifndef CalibTracker_SiPixelLorentzAngle_SiPixelLorentzAngleCalibrationStruct_h
#define CalibTracker_SiPixelLorentzAngle_SiPixelLorentzAngleCalibrationStruct_h

#include "DQMServices/Core/interface/DQMStore.h"
#include <unordered_map>

struct SiPixelLorentzAngleCalibrationHistograms {
public:
SiPixelLorentzAngleCalibrationHistograms() = default;

using MonitorMap = std::unordered_map<uint32_t, dqm::reco::MonitorElement*>;

// hardcode 4 BPix layers
int nlay;
int nModules_[4];

MonitorMap h_drift_depth_adc_;
MonitorMap h_drift_depth_adc2_;
MonitorMap h_drift_depth_noadc_;
MonitorMap h_drift_depth_;
MonitorMap h_mean_;

dqm::reco::MonitorElement* h_tracks_;
};

#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import FWCore.ParameterSet.Config as cms

from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
SiPixelLorentzAnglePCLWorker = DQMEDAnalyzer(
"SiPixelLorentzAnglePCLWorker",
folder = cms.string('AlCaReco/SiPixelLorentzAngle'),
src = cms.InputTag("TrackRefitter"),
binsDepth = cms.int32(50),
binsDrift = cms.int32(200),
ptMin = cms.double(3),
normChi2Max = cms.double(2),
clustSizeYMin = cms.int32(4),
residualMax = cms.double(0.005),
clustChargeMax = cms.double(120000)
)
Loading