FEDRA emulsion software from the OPERA Collaboration
Functions
checkrun.C File Reference
#include <iostream>
#include "
EdbRunAccess.h
"
Include dependency graph for checkrun.C:
Functions
int
checkrun
(char *
name
)
int
main
(int argc, char *argv[])
Function Documentation
◆
checkrun()
int checkrun
(
char *
name
)
11
{
12
EdbRunAccess
a
(
name
);
13
if
( !
a
.InitRun() )
14
return
0;
15
a
.CheckRunLine();
16
return
1;
17
}
a
void a()
Definition:
check_aligned.C:59
EdbRunAccess
helper class for access to the run data
Definition:
EdbRunAccess.h:23
name
const char * name
Definition:
merge_Energy_SytematicSources_Electron.C:24
◆
main()
int main
(
int
argc
,
char *
argv
[]
)
22
{
23
if
(argc < 2)
24
{
25
cout<<
"usage: \n \tcheckrun runfile.root > logfile \n"
;
26
cout<<
"return values: -1-not found, 0-bad, 1-ok\n"
;
27
cout<<endl;
28
return
0;
29
};
30
31
char
*
name
= argv[1];
32
33
return
checkrun
(
name
) ;
34
}
checkrun
int checkrun(char *name)
Definition:
checkrun.C:10
fedra_doxygen
macros
checkrun.C
Generated by
1.9.3