ROOTPWA
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
tools
reflect.cc
Go to the documentation of this file.
1
3
//
4
// Copyright 2009 Sebastian Neubert
5
//
6
// This file is part of rootpwa
7
//
8
// rootpwa is free software: you can redistribute it and/or modify
9
// it under the terms of the GNU General Public License as published by
10
// the Free Software Foundation, either version 3 of the License, or
11
// (at your option) any later version.
12
//
13
// rootpwa is distributed in the hope that it will be useful,
14
// but WITHOUT ANY WARRANTY; without even the implied warranty of
15
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
// GNU General Public License for more details.
17
//
18
// You should have received a copy of the GNU General Public License
19
// along with rootpwa. If not, see <http://www.gnu.org/licenses/>.
20
//
22
23
24
//
25
// reads PWA2000 events from stdin, performs reflection through
26
// production plane, and writes event to stdout
27
//
28
29
30
#include <iostream>
31
32
#include "
event.h
"
33
34
#include "
Tgamp.h
"
35
36
37
using namespace
std;
38
39
40
int
41
main
(
int
argc,
char
** argv)
42
{
43
event
ev;
44
while
(!(cin >> ev).eof()) {
45
event
evRefl =
Tgamp::reflectEvent
(ev);
46
cout << evRefl << endl;
47
}
48
return
0;
49
}
Generated by
1.8.1.2