Skip to content

Commit a3396bc

Browse files
authored
Merge branch 'main' into normalIncidence
2 parents eedcb5a + bf3027f commit a3396bc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test_pixel_gap_cuts.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ int main(int argc, char** argv) {
5151

5252
// ReadoutGeo
5353
richgeo::ReadoutGeo geo("DRICH", &det, &cellid_converter, logger);
54-
richgeo::IrtGeoDRICH drichGeo(&det, &cellid_converter, logger);
54+
5555
// open input file
5656
auto reader = podio::ROOTFrameReader();
5757
reader.openFile(root_file_name);
@@ -76,7 +76,7 @@ int main(int argc, char** argv) {
7676
auto pos = sim_hit.getPosition();
7777
auto mom = sim_hit.getMomentum();
7878
TVector3 p; p.SetX(mom.x); p.SetY(mom.y); p.SetZ(mom.z);
79-
auto normZ = drichGeo.GetSensorSurface(cellID);
79+
auto normZ = geo.GetSensorSurface(cellID);
8080

8181
double angle = normZ.Dot(p.Unit());
8282
h1->Fill(angle);

0 commit comments

Comments
 (0)