Skip to content

Commit eaf5034

Browse files
committed
absolute essential important bug fix when getting zenith angle for MC files
1 parent f00bdeb commit eaf5034

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/printRunParameter.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ bool readRunParameter( TFile* fIn, string iPara )
103103
iPara.find( "updated-runinfo" ) != string::npos ) << "\t";
104104
cout << fPar->getInstrumentEpoch( true ) << "\t";
105105
cout << fPar->getAtmosphereID( iPara.find( "updated-runinfo" ) != string::npos ) << "\t";
106-
cout << fPar->fDBRunType << "\t";
106+
if (fPar->fDBRunType.size() > 0 ) cout << fPar->fDBRunType << "\t";
107+
else cout << "no_db_runtype \t";
107108
for( unsigned int i = 0; i < fPar->fTelToAnalyze.size(); i++ )
108109
{
109110
cout << fPar->fTelToAnalyze[i] + 1;

0 commit comments

Comments
 (0)