update for detector facing inisde, elum 3
This commit is contained in:
parent
95bff19bb4
commit
095b36edba
|
@ -179,7 +179,7 @@ inline bool DetGeo::LoadDetectorGeo(TMacro * macro, bool verbose){
|
|||
std::vector<std::string> str = AnalysisLib::SplitStr(line, " ");
|
||||
|
||||
// printf("%3d | %s\n", i, str[0].c_str());
|
||||
|
||||
if( str[0].find("#//") != std::string::npos ) continue;
|
||||
if( str[0].find("####") != std::string::npos ) break;
|
||||
if( str[0].find("#===") != std::string::npos ) {
|
||||
detFlag ++;
|
||||
|
|
|
@ -308,7 +308,7 @@ int HELIOS::CheckDetAcceptance(){
|
|||
if( orbitb.detRowID == -1 ) {acceptanceCode = -15; return acceptanceCode;}
|
||||
|
||||
// -10 =========== when rho is too big .
|
||||
if( detGeo.bore < 2 * orbitb.rho) { acceptanceCode = -10; return acceptanceCode;}
|
||||
if( array.detFaceOut && detGeo.bore < 2 * orbitb.rho) { acceptanceCode = -10; return acceptanceCode;}
|
||||
|
||||
// -14 ========== check particle-B hit radius on recoil dectector
|
||||
if( isCoincidentWithRecoil && orbitB.R > aux.outerRadius ) {acceptanceCode = -14; return acceptanceCode;}
|
||||
|
|
Loading…
Reference in New Issue
Block a user