ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillTracks.h
Revision: 1.3
Committed: Tue Jun 17 13:31:38 2008 UTC (16 years, 10 months ago) by loizides
Content type: text/plain
Branch: MAIN
Changes since 1.2: +3 -3 lines
Log Message:
Use Array instead of Vector.

File Contents

# User Rev Content
1 loizides 1.3 // $Id: FillTracks.h,v 1.2 2008/06/11 12:50:17 loizides Exp $
2 bendavid 1.1
3     #ifndef TREEFILLER_FILLTRACKS_H
4     #define TREEFILLER_FILLTRACKS_H
5    
6     #include "FWCore/Framework/interface/EDAnalyzer.h"
7     #include "FWCore/Framework/interface/Event.h"
8     #include "FWCore/ParameterSet/interface/ParameterSet.h"
9     #include "FWCore/Framework/interface/Frameworkfwd.h"
10     #include "MitProd/TreeService/interface/TreeService.h"
11     #include "MitAna/DataUtil/interface/TreeWriter.h"
12     #include "MitAna/DataTree/interface/Track.h"
13 loizides 1.3 #include "MitAna/DataTree/interface/Array.h"
14 bendavid 1.1
15     //--------------------------------------------------------------------------------------------------
16     //
17     // FillTracks
18     //
19 loizides 1.2 // Module copying general EDM tracks into mithep::Tracks.
20 bendavid 1.1 //
21     // Authors: C.Loizides, J.Bendavid
22     //
23     //--------------------------------------------------------------------------------------------------
24    
25     namespace mithep
26     {
27     class FillTracks : public edm::EDAnalyzer
28     {
29     public:
30     FillTracks(const edm::ParameterSet&);
31     ~FillTracks();
32    
33     void analyze(const edm::Event&, const edm::EventSetup&);
34     void beginJob(edm::EventSetup const&);
35     void endJob ();
36    
37     private:
38 loizides 1.3 mithep::Array<mithep::Track> *tracks_;
39 bendavid 1.1 std::string trackSource_;
40     std::string trackBranch_;
41     };
42 loizides 1.2 }
43 bendavid 1.1 #endif