ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerPixelHits.h
Revision: 1.1
Committed: Fri Sep 25 08:42:27 2009 UTC (15 years, 7 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_012b, Mit_012a, Mit_012, Mit_011a
Log Message:
Added pixel hit filler

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2     // $Id: FillerPixelHits.h,v 1.22 2009/06/15 15:00:25 loizides Exp $
3     //
4     // FillerPixelHits
5     //
6     // Implementation of a filler to fill pixel hits into our mithep::PixelHit data structure.
7     //
8     // Authors: C.Loizides
9     //--------------------------------------------------------------------------------------------------
10    
11     #ifndef MITPROD_TREEFILLER_FILLERPIXELHITS_H
12     #define MITPROD_TREEFILLER_FILLERPIXELHITS_H
13    
14     #include "MitAna/DataTree/interface/PixelHitFwd.h"
15     #include "MitProd/TreeFiller/interface/BaseFiller.h"
16    
17     class TrackerGeometry;
18    
19     namespace mithep
20     {
21     class FillerPixelHits : public BaseFiller
22     {
23     public:
24     FillerPixelHits(const edm::ParameterSet &cfg, const char *name, bool active=1);
25     ~FillerPixelHits();
26    
27     void BookDataBlock(TreeWriter &tws,
28     const edm::EventSetup &es);
29     void FillDataBlock(const edm::Event &e,
30     const edm::EventSetup &es);
31    
32     protected:
33    
34     std::string edmName_; //edm name of pixel hits col
35     std::string mitName_; //mit name of pixel hits col
36     mithep::PixelHitArr *phits_; //array of pixel hits
37     const TrackerGeometry *tgeo_; //tracker geometry
38     };
39     }
40     #endif