test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
L1Trigger
L1TNtuples
interface
L1AnalysisGeneratorDataFormat.h
Go to the documentation of this file.
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 : L1Trigger/L1TNtuples/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
nVtx
= 0;
28
nMeanPU
= 0;
29
30
nPart
= 0;
31
partId
.resize(0);
32
partStat
.resize(0);
33
partParent
.resize(0);
34
partPt
.resize(0);
35
partEta
.resize(0);
36
partPhi
.resize(0);
37
partE
.resize(0);
38
39
nJet
= 0;
40
jetPt
.resize(0);
41
jetEta
.resize(0);
42
jetPhi
.resize(0);
43
jetM
.resize(0);
44
45
}
46
47
48
// ---- L1AnalysisGeneratorDataFormat information.
49
50
float
weight
;
51
float
pthat
;
52
int
nVtx
;
53
int
nMeanPU
;
54
55
int
nPart
;
56
std::vector<int>
partId
;
57
std::vector<int>
partStat
;
58
std::vector<int>
partParent
;
59
std::vector<float>
partPt
;
60
std::vector<float>
partEta
;
61
std::vector<float>
partPhi
;
62
std::vector<float>
partE
;
63
64
int
nJet
;
65
std::vector<float>
jetPt
;
66
std::vector<float>
jetEta
;
67
std::vector<float>
jetPhi
;
68
std::vector<float>
jetM
;
69
70
};
71
}
72
#endif
73
74
L1Analysis::L1AnalysisGeneratorDataFormat::partParent
std::vector< int > partParent
Definition:
L1AnalysisGeneratorDataFormat.h:58
L1Analysis::L1AnalysisGeneratorDataFormat::pthat
float pthat
Definition:
L1AnalysisGeneratorDataFormat.h:51
L1Analysis::L1AnalysisGeneratorDataFormat::weight
float weight
Definition:
L1AnalysisGeneratorDataFormat.h:50
L1Analysis::L1AnalysisGeneratorDataFormat::partStat
std::vector< int > partStat
Definition:
L1AnalysisGeneratorDataFormat.h:57
L1Analysis::L1AnalysisGeneratorDataFormat::jetEta
std::vector< float > jetEta
Definition:
L1AnalysisGeneratorDataFormat.h:66
L1Analysis::L1AnalysisGeneratorDataFormat::partE
std::vector< float > partE
Definition:
L1AnalysisGeneratorDataFormat.h:62
L1Analysis::L1AnalysisGeneratorDataFormat::partId
std::vector< int > partId
Definition:
L1AnalysisGeneratorDataFormat.h:56
L1Analysis::L1AnalysisGeneratorDataFormat::jetPt
std::vector< float > jetPt
Definition:
L1AnalysisGeneratorDataFormat.h:65
L1Analysis::L1AnalysisGeneratorDataFormat::partEta
std::vector< float > partEta
Definition:
L1AnalysisGeneratorDataFormat.h:60
L1Analysis::L1AnalysisGeneratorDataFormat::Reset
void Reset()
Definition:
L1AnalysisGeneratorDataFormat.h:23
L1Analysis::L1AnalysisGeneratorDataFormat::jetPhi
std::vector< float > jetPhi
Definition:
L1AnalysisGeneratorDataFormat.h:67
L1Analysis::L1AnalysisGeneratorDataFormat::partPhi
std::vector< float > partPhi
Definition:
L1AnalysisGeneratorDataFormat.h:61
L1Analysis::L1AnalysisGeneratorDataFormat::L1AnalysisGeneratorDataFormat
L1AnalysisGeneratorDataFormat()
Definition:
L1AnalysisGeneratorDataFormat.h:20
L1Analysis::L1AnalysisGeneratorDataFormat::nMeanPU
int nMeanPU
Definition:
L1AnalysisGeneratorDataFormat.h:53
L1Analysis::L1AnalysisGeneratorDataFormat::jetM
std::vector< float > jetM
Definition:
L1AnalysisGeneratorDataFormat.h:68
L1Analysis::L1AnalysisGeneratorDataFormat::nVtx
int nVtx
Definition:
L1AnalysisGeneratorDataFormat.h:52
L1Analysis::L1AnalysisGeneratorDataFormat::partPt
std::vector< float > partPt
Definition:
L1AnalysisGeneratorDataFormat.h:59
L1Analysis::L1AnalysisGeneratorDataFormat
Definition:
L1AnalysisGeneratorDataFormat.h:17
L1Analysis::L1AnalysisGeneratorDataFormat::nJet
int nJet
Definition:
L1AnalysisGeneratorDataFormat.h:64
L1Analysis::L1AnalysisGeneratorDataFormat::~L1AnalysisGeneratorDataFormat
~L1AnalysisGeneratorDataFormat()
Definition:
L1AnalysisGeneratorDataFormat.h:21
L1Analysis::L1AnalysisGeneratorDataFormat::nPart
int nPart
Definition:
L1AnalysisGeneratorDataFormat.h:55
Generated for CMSSW Reference Manual by
1.8.5