1 |
#ifndef __L1Analysis_L1AnalysisGeneratorDataFormat_H__
|
2 |
#define __L1Analysis_L1AnalysisGeneratorDataFormat_H__
|
3 |
|
4 |
//-------------------------------------------------------------------------------
|
5 |
// Created 15/04/2010 - E. Conte, A.C. Le Bihan
|
6 |
//
|
7 |
//
|
8 |
// Original code : UserCode/L1TriggerDPG/L1NtupleProducer
|
9 |
//-------------------------------------------------------------------------------
|
10 |
#include <TROOT.h>
|
11 |
#include <vector>
|
12 |
//#include <TString.h>
|
13 |
|
14 |
|
15 |
namespace L1Analysis
|
16 |
{
|
17 |
struct L1AnalysisGeneratorDataFormat
|
18 |
{
|
19 |
|
20 |
L1AnalysisGeneratorDataFormat(){Reset();};
|
21 |
~L1AnalysisGeneratorDataFormat(){};
|
22 |
|
23 |
void Reset()
|
24 |
{
|
25 |
weight = -999.;
|
26 |
pthat = -999.;
|
27 |
id.resize(0);
|
28 |
status.resize(0);
|
29 |
parent_id.resize(0);
|
30 |
px.resize(0);
|
31 |
py.resize(0);
|
32 |
pz.resize(0);
|
33 |
e.resize(0);
|
34 |
|
35 |
}
|
36 |
|
37 |
|
38 |
// ---- L1AnalysisGeneratorDataFormat information.
|
39 |
|
40 |
float weight;
|
41 |
float pthat;
|
42 |
std::vector<int> id;
|
43 |
std::vector<int> status;
|
44 |
std::vector<int> parent_id;
|
45 |
std::vector<float> px;
|
46 |
std::vector<float> py;
|
47 |
std::vector<float> pz;
|
48 |
std::vector<float> e;
|
49 |
|
50 |
};
|
51 |
}
|
52 |
#endif
|
53 |
|
54 |
|