Last change
on this file was
6,
checked in by huonglan, 13 years ago
|
first full version of 2011 analysis
|
File size:
602 bytes
|
Line | |
---|
1 | #include <iostream> |
---|
2 | #include <math.h> |
---|
3 | #include <utility> |
---|
4 | #include "TLorentzVector.h" |
---|
5 | #include "TVector2.h" |
---|
6 | #include "TVector3.h" |
---|
7 | #include "Thrust_func_collection.h" |
---|
8 | |
---|
9 | using namespace std; |
---|
10 | |
---|
11 | simpletest() |
---|
12 | { |
---|
13 | TLorentzVector v1(10,0,0,0); |
---|
14 | TLorentzVector v2(-10,0,0,0); |
---|
15 | TLorentzVector v3(0,1,0,0); |
---|
16 | |
---|
17 | std::vector<TLorentzVector> vec; |
---|
18 | vec.push_back(v1); |
---|
19 | vec.push_back(v2); |
---|
20 | vec.push_back(v3); |
---|
21 | |
---|
22 | Thrust_func_collection obj; |
---|
23 | |
---|
24 | std::vector<double> result = obj.Calc_Thrust(vec); |
---|
25 | |
---|
26 | std::cout << "result1 = " << result.at(0) << std::endl; |
---|
27 | std::cout << "result2 = " << result.at(1) << std::endl; |
---|
28 | |
---|
29 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.