ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerDecayParts.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: +5 -4 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: FillerDecayParts.h,v 1.1 2008/07/28 23:13:43 paus Exp $
3 paus 1.1 //
4     // FillerDecayParts
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_FILLERDECAYPARTS_H
12     #define TREEFILLER_FILLERDECAYPARTS_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 FillerDecayParts : public BaseFiller
21     {
22     public:
23     FillerDecayParts(const edm::ParameterSet &cfg, const char *name,
24 bendavid 1.2 bool active=1, const mithep::BasePartMap* partMap=0);
25 paus 1.1 ~FillerDecayParts();
26    
27     void BookDataBlock(TreeWriter &tws);
28     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
29    
30     private:
31     std::string edmName_;
32     std::string mitName_;
33 bendavid 1.2 const mithep::BasePartMap *partMap_;
34     mithep::DecayParticleArr *decays_;
35 paus 1.1 };
36     }
37     #endif