ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1TriggerDPG/interface/L1AnalysisSimulation.h
(Generate patch)

Comparing UserCode/L1TriggerDPG/interface/L1AnalysisSimulation.h (file contents):
Revision 1.1 by econte, Thu Apr 8 09:43:58 2010 UTC vs.
Revision 1.3 by gflouris, Mon Oct 29 10:16:19 2012 UTC

# Line 8 | Line 8
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines