diff --git a/source/detector/detector.cc b/source/detector/detector.cc index 02d967d6..6b3e8454 100644 --- a/source/detector/detector.cc +++ b/source/detector/detector.cc @@ -461,9 +461,19 @@ int detector::create_solid(goptions gemcOpt, map *Map) for(int v=0; v 27 && name.compare(19,8, "ahdccell") == 0) { + G4Box* box = new G4Box("Box",80*mm,80*mm,158*mm); + G4GenericTrap* ahdc_cell_nocut = new G4GenericTrap(name + "_nocut", ///< name dz, ///< Half z length vertices); ///< The (x,y) coordinates of vertices + SolidV = new G4IntersectionSolid(name, box, ahdc_cell_nocut); + + } else { + SolidV = new G4GenericTrap(name, ///< name + dz, ///< Half z length + vertices); ///< The (x,y) coordinates of vertices + } + built = 1; } diff --git a/source/hitprocess/clas12/alert/ahdc_hitprocess.cc b/source/hitprocess/clas12/alert/ahdc_hitprocess.cc index 217143bf..7f4c5a1d 100644 --- a/source/hitprocess/clas12/alert/ahdc_hitprocess.cc +++ b/source/hitprocess/clas12/alert/ahdc_hitprocess.cc @@ -244,10 +244,10 @@ void ahdcSignal::ComputeDocaAndTime(MHit * aHit){ // ALERT geometry double X_sigwire_top = 0; // [mm] double Y_sigwire_top = 0; - double Z_sigwire_top = -150; + double Z_sigwire_top = -188; double X_sigwire_bot = 0; // [mm] double Y_sigwire_bot = 0; - double Z_sigwire_bot = 150; + double Z_sigwire_bot = 162.5; // Compute Y_sigwire_top, Z_sigwire_top, Y_sigwire_bot, Z_sigwire_bot double xV0 = 0.0;