Skip to content

Commit

Permalink
adding the option to use planer-pixel algorithm also in the discs. Th…
Browse files Browse the repository at this point in the history
…is is will allow possible investigation for future upgrades of IT
  • Loading branch information
Suchandra authored and Suchandra committed Mar 9, 2023
1 parent e411402 commit 118498a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
13 changes: 6 additions & 7 deletions SimTracker/SiPhase2Digitizer/plugins/Phase2TrackerDigitizer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -249,13 +249,12 @@ namespace cms {
case TrackerGeometry::ModuleType::Ph2PXF:
algotype = AlgorithmType::InnerPixel;
break;
case TrackerGeometry::ModuleType::Ph2PXB3D:
algotype = (usePseudoPixel3DAlgo_) ? AlgorithmType::InnerPixel
: AlgorithmType::InnerPixel3D;
break;
case TrackerGeometry::ModuleType::Ph2PXF3D:
algotype = AlgorithmType::InnerPixel3D;
break;
case TrackerGeometry::ModuleType::Ph2PXB3D: {
algotype = (usePseudoPixel3DAlgo_) ? AlgorithmType::InnerPixel : AlgorithmType::InnerPixel3D;
} break;
case TrackerGeometry::ModuleType::Ph2PXF3D: {
algotype = (usePseudoPixel3DAlgo_) ? AlgorithmType::InnerPixel : AlgorithmType::InnerPixel3D;
} break;
case TrackerGeometry::ModuleType::Ph2PSP:
algotype = AlgorithmType::PixelinPS;
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ Pixel3DDigitizerAlgorithm::Pixel3DDigitizerAlgorithm(const edm::ParameterSet& co

Pixel3DDigitizerAlgorithm::~Pixel3DDigitizerAlgorithm() {}


const bool Pixel3DDigitizerAlgorithm::is_inside_n_column_(const LocalPoint& p, const float& sensor_thickness) const {
// The insensitive volume of the column: sensor thickness - column gap distance
return (p.perp() <= np_column_radius_ && p.z() <= (sensor_thickness - np_column_gap_));
Expand Down

0 comments on commit 118498a

Please sign in to comment.