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

Comparing UserCode/Morgan/interface/VertexAnalyzer.h (file contents):
Revision 1.5 by lethuill, Tue Apr 21 10:42:22 2009 UTC vs.
Revision 1.6 by lethuill, Wed Jun 10 11:17:06 2009 UTC

# Line 23 | Line 23
23   #include "TClonesArray.h"
24  
25  
26 < class VertexAnalyzer{
27 <        
28 < public:
29 <        VertexAnalyzer(const edm::ParameterSet& producersNames);
30 <        VertexAnalyzer(const edm::ParameterSet& producersNames, int verbosity);
31 <        ~VertexAnalyzer();
32 <        void setVerbosity(int verbosity) {verbosity_ = verbosity; };
33 <        void getBeamSpot(const edm::Event& iEvent, TRootBeamSpot* rootBeamSpot);
34 <        void getVertices(const edm::Event& iEvent, TClonesArray* rootVertices);
35 <        void selectPrimary(TRootEvent* rootEvent, TClonesArray* rootVertices);
36 <
37 < private:
38 <        int verbosity_;
39 <        edm::InputTag primaryVertexProducer_;
40 <        edm::InputTag beamSpotProducer_;
26 > class VertexAnalyzer
27 > {
28 >
29 >   public:
30 >      VertexAnalyzer(const edm::ParameterSet& producersNames);
31 >      VertexAnalyzer(const edm::ParameterSet& producersNames, int verbosity);
32 >      ~VertexAnalyzer();
33 >      void setVerbosity(int verbosity) {verbosity_ = verbosity; };
34 >      bool getBeamSpot(const edm::Event& iEvent, TRootBeamSpot* rootBeamSpot);
35 >      bool getVertices(const edm::Event& iEvent, TClonesArray* rootVertices);
36 >      void selectPrimary(TRootEvent* rootEvent, TClonesArray* rootVertices);
37 >
38 >   private:
39 >      int verbosity_;
40 >      edm::InputTag primaryVertexProducer_;
41 >      edm::InputTag beamSpotProducer_;
42 >      bool allowMissingCollection_;
43  
44   };
45  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines