Skip to content

Commit

Permalink
Changed SigmaTof fill location in validation
Browse files Browse the repository at this point in the history
  • Loading branch information
noepalm committed Feb 12, 2024
1 parent 6a0525e commit 6ec3c46
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Validation/MtdValidation/plugins/MtdTracksValidation.cc
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,13 @@ void MtdTracksValidation::analyze(const edm::Event& iEvent, const edm::EventSetu
meTrackSigmat0SafePid_->Fill(Sigmat0Safe[trackref]);
meTrackMVAQual_->Fill(mtdQualMVA[trackref]);

meTrackSigmaTof_[0]->Fill(SigmaTofPi[trackref] * 1e3); //save as ps
meTrackSigmaTof_[1]->Fill(SigmaTofK[trackref] * 1e3);
meTrackSigmaTof_[2]->Fill(SigmaTofP[trackref] * 1e3);
meTrackSigmaTofvsP_[0]->Fill(track.p(), SigmaTofPi[trackref] * 1e3);
meTrackSigmaTofvsP_[1]->Fill(track.p(), SigmaTofK[trackref] * 1e3);
meTrackSigmaTofvsP_[2]->Fill(track.p(), SigmaTofP[trackref] * 1e3);

meTrackPathLenghtvsEta_->Fill(std::abs(track.eta()), pathLength[trackref]);

if (std::abs(track.eta()) < trackMaxBtlEta_) {
Expand Down Expand Up @@ -595,13 +602,6 @@ void MtdTracksValidation::analyze(const edm::Event& iEvent, const edm::EventSetu
if (withMTD) {
meTrackMatchedTPmtdEffEtaMtd_->Fill(std::abs(trackGen.eta()));
}

meTrackSigmaTof_[0]->Fill(SigmaTofPi[trackref] * 1000); //save as ps
meTrackSigmaTof_[1]->Fill(SigmaTofK[trackref] * 1000);
meTrackSigmaTof_[2]->Fill(SigmaTofP[trackref] * 1000);
meTrackSigmaTofvsP_[0]->Fill(track.p(), SigmaTofPi[trackref] * 1000);
meTrackSigmaTofvsP_[1]->Fill(track.p(), SigmaTofK[trackref] * 1000);
meTrackSigmaTofvsP_[2]->Fill(track.p(), SigmaTofP[trackref] * 1000);
}

size_t nlayers(0);
Expand Down

0 comments on commit 6ec3c46

Please sign in to comment.