Skip to content

Commit

Permalink
from Whitney: fixed alert bank variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
maureeungaro committed Mar 20, 2024
1 parent 45a537c commit c46e90b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
3 changes: 1 addition & 2 deletions source/gemc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
/// \author \n © Maurizio Ungaro
/// \author e-mail: [email protected]\n\n\n

const char *GEMC_VERSION = "gemc 5.8" ;
const char *GEMC_VERSION = "gemc 5.9" ;

// G4 headers
#include "G4RunManager.hh"
Expand Down Expand Up @@ -414,5 +414,4 @@ int main( int argc, char **argv )

// introducing OPTICALPHOTONPID here to be semi-transparent to G4 changes
// this pid changed from 0 to -22 with geant4 10.7
//int MHit::OPTICALPHOTONPID = 0;
int MHit::OPTICALPHOTONPID = -22;
6 changes: 4 additions & 2 deletions source/hitprocess/HitProcess_MapRegister.cc
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,10 @@ map<string, HitProcess_Factory> HitProcess_Map(string experiments)

// CLAS12
if(EXP == "clas12") {
hitMap["alrttof"] = &atof_HitProcess::createHitClass;
hitMap["alrtdc"] = &ahdc_HitProcess::createHitClass;
// hitMap["alrttof"] = &atof_HitProcess::createHitClass;
// hitMap["alrtdc"] = &ahdc_HitProcess::createHitClass;
hitMap["atof"] = &atof_HitProcess::createHitClass;
hitMap["ahdc"] = &ahdc_HitProcess::createHitClass;
//hitMap["alertshell"] = &alertshell_HitProcess::createHitClass;
hitMap["band"] = &band_HitProcess::createHitClass;
hitMap["bmt"] = &BMT_HitProcess::createHitClass;
Expand Down
4 changes: 2 additions & 2 deletions source/output/hipo_output.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ class hipo_output : public outputFactory
{"rtpc", 19},
{"band", 21},
{"urwell", 23},
{"alrttof", 24},
{"alrtdc", 25},
{"atof", 24},
{"ahdc", 25},
{"flux", 100}
};

Expand Down
1 change: 0 additions & 1 deletion source/sensitivity/sensitiveDetector.cc
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ G4bool sensitiveDetector::ProcessHits(G4Step* aStep, G4TouchableHistory*)
if(fmanager) {
fmanager->GetDetectorField()->GetFieldValue(point, fieldValue);
hitFieldValue = sqrt(fieldValue[0]*fieldValue[0] + fieldValue[1]*fieldValue[1] + fieldValue[2]*fieldValue[2]);

}

///< Process VID: getting Identifier at the ProcessHitRoutine level
Expand Down

0 comments on commit c46e90b

Please sign in to comment.