#include <iostream>
#include <vector>
#include <string>
#include "ReadCards.h"
Go to the source code of this file.
|
int | main (int argc, char **argv) |
|
- Author
- mark sutton
- Date
- Fri 11 Jan 2019 07:41:26 CET
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
Definition in file Trigger/TrigAnalysis/TrigInDetAnalysisUser/Readcards/src/main.cxx.
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 20 of file Trigger/TrigAnalysis/TrigInDetAnalysisUser/Readcards/src/main.cxx.
22 if (
argc<3)
return -1;
26 double buffer =
r.GetValue(
"buffer");
27 double buffer2 =
r.GetValue(
"buffer2");
28 double buffer3 =
r.GetValue(
"buffer3");
29 string s =
r.GetString(
"s");
31 vector<double> dvec =
r.GetVector(
"dvec");
32 vector<string> svec =
r.GetStringVector(
"svec");
35 cout <<
"buffer=" <<
buffer << endl;
36 cout <<
"buffer2=" << buffer2 << endl;
37 cout <<
"buffer3=" << buffer3 << endl;
38 cout <<
"s=" <<
s << endl;
40 for (
int i=0 ;
i<dvec.size() ;
i++ ) cout <<
"dvec[" <<
i <<
"]=" << dvec[
i] << endl;
41 for (
int i=0 ;
i<svec.size() ;
i++ ) cout <<
"svec[" <<
i <<
"]=" << svec[
i] << endl;