Skip to content

Commit

Permalink
ShortenedTrackValidation: fix plot ranges and input original track co…
Browse files Browse the repository at this point in the history
…llection
  • Loading branch information
mmusich committed Apr 12, 2024
1 parent 6ab05c1 commit b6a9298
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
26 changes: 13 additions & 13 deletions Alignment/OfflineValidation/plugins/ShortenedTrackValidation.cc
Original file line number Diff line number Diff line change
Expand Up @@ -415,9 +415,9 @@ void ShortenedTrackValidation::beginJob() {
fmt::sprintf("Short Track p_{T} / Full Track p_{T} - %s layers;p_{T}^{short}/p_{T}^{full};n. tracks",
hitsRemain_[i])
.c_str(),
101,
-0.05,
2.05));
100,
0.5,
1.5));

histsPtDiffAll_.push_back(book<TH1F>(
ShortTrackResolution,
Expand All @@ -436,8 +436,8 @@ void ShortenedTrackValidation::beginJob() {
hitsRemain_[i])
.c_str(),
100,
-0.01,
0.01));
-0.001,
0.001));

histsPhiDiffAll_.push_back(
book<TH1F>(ShortTrackResolution,
Expand All @@ -446,8 +446,8 @@ void ShortenedTrackValidation::beginJob() {
hitsRemain_[i])
.c_str(),
100,
-0.01,
0.01));
-0.001,
0.001));

histsPtRatioVsDeltaRAll_.push_back(
book<TH2F>(ShortTrackResolution,
Expand All @@ -471,16 +471,16 @@ void ShortenedTrackValidation::beginJob() {
hitsRemain_[i])
.c_str(),
101,
-10.,
10.));
-5.,
5.));

histsPtAll_.push_back(
book<TH1F>(TrackQuals,
fmt::sprintf("trackPt_%s", hitsRemain_[i]).c_str(),
fmt::sprintf("Short Track p_{T} - %s layers;p_{T}^{short} [GeV];n. tracks", hitsRemain_[i]).c_str(),
101,
-0.05,
200.5));
100,
0.,
100.));

histsNhitsAll_.push_back(
book<TH1F>(TrackQuals,
Expand All @@ -496,7 +496,7 @@ void ShortenedTrackValidation::beginJob() {
fmt::sprintf("Short Track / Long Track #DeltaR %s layers;#DeltaR(short,long);n. tracks", hitsRemain_[i]).c_str(),
100,
0.,
0.01));
0.005));

currentFolder = fmt::sprintf("%s/Compare_%sHit", folderName_, hitsRemain_[i]);
comparators_[i]->book(fs_->mkdir(currentFolder));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
minTracksPtInput = 15.0,
maxTracksPtInput = 99999.9,
maxDrInput = 0.01,
tracksInputTag = "SingleLongTrackProducer",
tracksInputTag = "LongTracksRefit", # input original track should be refit
tracksRerecoInputTag = ["RefittedShortTracks3",
"RefittedShortTracks4",
"RefittedShortTracks5",
Expand Down

0 comments on commit b6a9298

Please sign in to comment.