File indexing completed on 2024-09-07 04:37:01
0001 #ifndef __L1Analysis_L1AnalysisGeneratorDataFormat_H__
0002 #define __L1Analysis_L1AnalysisGeneratorDataFormat_H__
0003
0004
0005
0006
0007
0008
0009
0010 #include <TROOT.h>
0011 #include <vector>
0012
0013
0014 namespace L1Analysis {
0015 struct L1AnalysisGeneratorDataFormat {
0016 L1AnalysisGeneratorDataFormat() { Reset(); };
0017 ~L1AnalysisGeneratorDataFormat() {}
0018
0019 void Reset() {
0020 weight = -999.;
0021 pthat = -999.;
0022 nVtx = 0;
0023 nMeanPU = 0;
0024
0025 nPart = 0;
0026 partId.resize(0);
0027 partStat.resize(0);
0028 partParent.resize(0);
0029 partPt.resize(0);
0030 partEta.resize(0);
0031 partPhi.resize(0);
0032 partE.resize(0);
0033 partCh.resize(0);
0034
0035 nJet = 0;
0036 jetPt.resize(0);
0037 jetEta.resize(0);
0038 jetPhi.resize(0);
0039 jetM.resize(0);
0040 }
0041
0042
0043
0044 float weight;
0045 float pthat;
0046 int nVtx;
0047 int nMeanPU;
0048
0049 int nPart;
0050 std::vector<int> partId;
0051 std::vector<int> partStat;
0052 std::vector<int> partParent;
0053 std::vector<float> partPt;
0054 std::vector<float> partEta;
0055 std::vector<float> partPhi;
0056 std::vector<float> partE;
0057 std::vector<int> partCh;
0058
0059 int nJet;
0060 std::vector<float> jetPt;
0061 std::vector<float> jetEta;
0062 std::vector<float> jetPhi;
0063 std::vector<float> jetM;
0064 };
0065 }
0066 #endif