Skip to content

Commit

Permalink
Merge pull request #32363 from mmusich/port_PVValidation_toPhase2
Browse files Browse the repository at this point in the history
Adapt Tracker Alignment PV Validation to work with phase-2 geometries
  • Loading branch information
cmsbuild committed Dec 8, 2020
2 parents 8df672e + 0a411b0 commit b2b31a3
Show file tree
Hide file tree
Showing 5 changed files with 341 additions and 213 deletions.
12 changes: 10 additions & 2 deletions Alignment/OfflineValidation/interface/PVValidationHelpers.h
Expand Up @@ -20,8 +20,9 @@

namespace PVValHelper {

const double max_eta_phase0 = 2.5;
const double max_eta_phase1 = 2.7;
constexpr double max_eta_phase0 = 2.5;
constexpr double max_eta_phase1 = 2.7;
constexpr double max_eta_phase2 = 4.0;

// helper logarithmic bin generator

Expand Down Expand Up @@ -74,6 +75,13 @@ namespace PVValHelper {
END_OF_PLOTS = 7,
};

enum detectorPhase {
phase0 = 0,
phase1 = 1,
phase2 = 2,
END_OF_PHASES = 3,
};

struct histodetails {
int histobins;
std::map<std::pair<residualType, plotVariable>, std::pair<float, float>> range;
Expand Down

0 comments on commit b2b31a3

Please sign in to comment.