ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerStableParts.h
Revision: 1.2
Committed: Tue Jul 29 22:54:36 2008 UTC (16 years, 9 months ago) by bendavid
Content type: text/plain
Branch: MAIN
Changes since 1.1: +9 -3 lines
Log Message:
Added full TRef based linking to Decay and Stable Particle Fillers

File Contents

# User Rev Content
1 paus 1.1 //--------------------------------------------------------------------------------------------------
2 bendavid 1.2 // $Id: FillerStableParts.h,v 1.1 2008/07/28 23:13:43 paus Exp $
3 paus 1.1 //
4     // FillerStableParts
5     //
6     // Imlementation of a filler to fill an mitedm::PartColl into our mithep::PartColl data structure.
7     //
8     // Authors: Ch.Paus
9     //--------------------------------------------------------------------------------------------------
10    
11     #ifndef TREEFILLER_FILLERSTABLEPARTS_H
12     #define TREEFILLER_FILLERSTABLEPARTS_H
13    
14     #include "MitProd/TreeFiller/interface/BaseFiller.h"
15 bendavid 1.2 #include "MitProd/TreeFiller/interface/AssociationMaps.h"
16 paus 1.1 #include "MitAna/DataTree/interface/Collections.h"
17    
18     namespace mithep
19     {
20     class FillerStableParts : public BaseFiller
21     {
22     public:
23 bendavid 1.2 FillerStableParts(const edm::ParameterSet &cfg, const char *name, bool active=1,
24     const TrackMap *trackMap=0);
25 paus 1.1 ~FillerStableParts();
26    
27     void BookDataBlock(TreeWriter &tws);
28     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
29    
30 bendavid 1.2 const BasePartMap *GetParticleMap() const { return particleMap_; }
31    
32 paus 1.1 private:
33     std::string edmName_;
34     std::string mitName_;
35 bendavid 1.2 mithep::BasePartMap *particleMap_;
36     const mithep::TrackMap *trackMap_;
37     mithep::StableParticleArr *stables_;
38 paus 1.1 };
39     }
40     #endif