ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerDecayParts.h
Revision: 1.4
Committed: Wed Sep 10 03:30:22 2008 UTC (16 years, 7 months ago) by loizides
Content type: text/plain
Branch: MAIN
Changes since 1.3: +3 -3 lines
Log Message:
Cleanup

File Contents

# User Rev Content
1 paus 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.4 // $Id: FillerDecayParts.h,v 1.3 2008/07/31 12:34:04 loizides Exp $
3 paus 1.1 //
4     // FillerDecayParts
5     //
6 loizides 1.3 // Imlementation of a filler to copy the mitedm::DecayPart collection into the
7     // mithep::DecayParticle collection.
8 paus 1.1 //
9 loizides 1.3 // Authors: C.Paus
10 paus 1.1 //--------------------------------------------------------------------------------------------------
11    
12 loizides 1.4 #ifndef MITPROD_TREEFILLER_FILLERDECAYPARTS_H
13     #define MITPROD_TREEFILLER_FILLERDECAYPARTS_H
14 paus 1.1
15     #include "MitProd/TreeFiller/interface/BaseFiller.h"
16 bendavid 1.2 #include "MitProd/TreeFiller/interface/AssociationMaps.h"
17 paus 1.1 #include "MitAna/DataTree/interface/Collections.h"
18    
19     namespace mithep
20     {
21     class FillerDecayParts : public BaseFiller
22     {
23 loizides 1.3 public:
24     FillerDecayParts(const edm::ParameterSet &cfg, const char *name, bool active=1);
25     ~FillerDecayParts();
26 paus 1.1
27 loizides 1.3 void BookDataBlock(TreeWriter &tws);
28     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
29 paus 1.1
30 loizides 1.3 private:
31     std::string edmName_; //edm name of decay parts collection
32     std::string mitName_; //name of DecayParticles in OAK
33     std::string basePartMapName_; //name of imported map wrt stable parts
34     const mithep::BasePartMap *basePartMap_; //map wrt stable parts
35     mithep::DecayParticleArr *decays_; //array of DecayParticles
36 paus 1.1 };
37     }
38     #endif