Main Page
Namespaces
Classes
Package Documentation
src
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
partCh
.resize(0);
39
40
nJet
= 0;
41
jetPt
.resize(0);
42
jetEta
.resize(0);
43
jetPhi
.resize(0);
44
jetM
.resize(0);
45
46
}
47
48
49
// ---- L1AnalysisGeneratorDataFormat information.
50
51
float
weight
;
52
float
pthat
;
53
int
nVtx
;
54
int
nMeanPU
;
55
56
int
nPart
;
57
std::vector<int>
partId
;
58
std::vector<int>
partStat
;
59
std::vector<int>
partParent
;
60
std::vector<float>
partPt
;
61
std::vector<float>
partEta
;
62
std::vector<float>
partPhi
;
63
std::vector<float>
partE
;
64
std::vector<int>
partCh
;
65
66
int
nJet
;
67
std::vector<float>
jetPt
;
68
std::vector<float>
jetEta
;
69
std::vector<float>
jetPhi
;
70
std::vector<float>
jetM
;
71
72
};
73
}
74
#endif
75
76
L1Analysis::L1AnalysisGeneratorDataFormat::partParent
std::vector< int > partParent
Definition:
L1AnalysisGeneratorDataFormat.h:59
L1Analysis::L1AnalysisGeneratorDataFormat::pthat
float pthat
Definition:
L1AnalysisGeneratorDataFormat.h:52
L1Analysis::L1AnalysisGeneratorDataFormat::weight
float weight
Definition:
L1AnalysisGeneratorDataFormat.h:51
L1Analysis::L1AnalysisGeneratorDataFormat::partStat
std::vector< int > partStat
Definition:
L1AnalysisGeneratorDataFormat.h:58
L1Analysis::L1AnalysisGeneratorDataFormat::jetEta
std::vector< float > jetEta
Definition:
L1AnalysisGeneratorDataFormat.h:68
L1Analysis::L1AnalysisGeneratorDataFormat::partE
std::vector< float > partE
Definition:
L1AnalysisGeneratorDataFormat.h:63
weight
Definition:
weight.py:1
L1Analysis::L1AnalysisGeneratorDataFormat::partId
std::vector< int > partId
Definition:
L1AnalysisGeneratorDataFormat.h:57
L1Analysis::L1AnalysisGeneratorDataFormat::jetPt
std::vector< float > jetPt
Definition:
L1AnalysisGeneratorDataFormat.h:67
L1Analysis::L1AnalysisGeneratorDataFormat::partEta
std::vector< float > partEta
Definition:
L1AnalysisGeneratorDataFormat.h:61
L1Analysis::L1AnalysisGeneratorDataFormat::Reset
void Reset()
Definition:
L1AnalysisGeneratorDataFormat.h:23
L1Analysis::L1AnalysisGeneratorDataFormat::jetPhi
std::vector< float > jetPhi
Definition:
L1AnalysisGeneratorDataFormat.h:69
L1Analysis::L1AnalysisGeneratorDataFormat::partPhi
std::vector< float > partPhi
Definition:
L1AnalysisGeneratorDataFormat.h:62
L1Analysis::L1AnalysisGeneratorDataFormat::L1AnalysisGeneratorDataFormat
L1AnalysisGeneratorDataFormat()
Definition:
L1AnalysisGeneratorDataFormat.h:20
L1Analysis::L1AnalysisGeneratorDataFormat::nMeanPU
int nMeanPU
Definition:
L1AnalysisGeneratorDataFormat.h:54
L1Analysis::L1AnalysisGeneratorDataFormat::jetM
std::vector< float > jetM
Definition:
L1AnalysisGeneratorDataFormat.h:70
L1Analysis::L1AnalysisGeneratorDataFormat::nVtx
int nVtx
Definition:
L1AnalysisGeneratorDataFormat.h:53
L1Analysis::L1AnalysisGeneratorDataFormat::partCh
std::vector< int > partCh
Definition:
L1AnalysisGeneratorDataFormat.h:64
L1Analysis::L1AnalysisGeneratorDataFormat::partPt
std::vector< float > partPt
Definition:
L1AnalysisGeneratorDataFormat.h:60
L1Analysis
Definition:
L1AnalysisBMTFInputs.h:19
L1Analysis::L1AnalysisGeneratorDataFormat
Definition:
L1AnalysisGeneratorDataFormat.h:17
L1Analysis::L1AnalysisGeneratorDataFormat::nJet
int nJet
Definition:
L1AnalysisGeneratorDataFormat.h:66
L1Analysis::L1AnalysisGeneratorDataFormat::~L1AnalysisGeneratorDataFormat
~L1AnalysisGeneratorDataFormat()
Definition:
L1AnalysisGeneratorDataFormat.h:21
L1Analysis::L1AnalysisGeneratorDataFormat::nPart
int nPart
Definition:
L1AnalysisGeneratorDataFormat.h:56
Generated for CMSSW Reference Manual by
1.8.11