ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerDecayParts.h
Revision: 1.6
Committed: Sat Sep 27 05:50:47 2008 UTC (16 years, 7 months ago) by loizides
Content type: text/plain
Branch: MAIN
Changes since 1.5: +5 -5 lines
Log Message:
Cleanup.

File Contents

# User Rev Content
1 paus 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.6 // $Id: FillerDecayParts.h,v 1.5 2008/09/19 11:40:15 bendavid 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 loizides 1.6 std::string edmName_; //edm name of decay parts collection
32     std::string mitName_; //name of DecayParticles in OAK
33     std::vector<std::string> basePartMapNames_; //name of imported maps wrt stable parts
34 bendavid 1.5 std::vector<const mithep::BasePartMap*> basePartMaps_; //maps wrt stable parts
35 loizides 1.6 mithep::DecayParticleArr *decays_; //array of DecayParticles
36 paus 1.1 };
37     }
38     #endif