8 |
|
// Original code : UserCode/L1TriggerDPG/L1NtupleProducer |
9 |
|
//------------------------------------------------------------------------------- |
10 |
|
|
11 |
< |
|
12 |
< |
#include <vector> |
11 |
> |
#include "FWCore/Framework/interface/Event.h" |
12 |
> |
#include "L1AnalysisSimulationDataFormat.h" |
13 |
|
|
14 |
|
namespace L1Analysis |
15 |
|
{ |
16 |
< |
class L1AnalysisSimulation |
16 |
> |
class L1AnalysisSimulation |
17 |
|
{ |
18 |
|
public: |
19 |
|
L1AnalysisSimulation(); |
20 |
|
~L1AnalysisSimulation(); |
21 |
< |
|
22 |
< |
void Reset(); |
23 |
< |
//void Print(std::ostream &os = std::cout) const; |
24 |
< |
void Set(); |
25 |
< |
|
26 |
< |
// ---- L1AnalysisSimulation information. |
27 |
< |
|
28 |
< |
|
29 |
< |
int ngen; |
30 |
< |
std::vector<float> pxgen; |
31 |
< |
std::vector<float> pygen; |
32 |
< |
std::vector<float> pzgen; |
33 |
< |
std::vector<float> ptgen; |
34 |
< |
std::vector<float> etagen; |
35 |
< |
std::vector<float> phigen; |
36 |
< |
std::vector<int> chagen; |
37 |
< |
std::vector<float> vxgen; |
38 |
< |
std::vector<float> vygen; |
39 |
< |
std::vector<float> vzgen; |
40 |
< |
std::vector<int> pargen; |
41 |
< |
|
21 |
> |
void Reset() {sim_.Reset();} |
22 |
> |
void Set(const edm::Event& e); |
23 |
> |
L1AnalysisSimulationDataFormat * getData() {return &sim_;} |
24 |
> |
private : |
25 |
> |
L1AnalysisSimulationDataFormat sim_; |
26 |
> |
|
27 |
|
}; |
28 |
|
} |
29 |
|
#endif |