ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerStableParts.h
Revision: 1.12
Committed: Fri Sep 25 08:42:50 2009 UTC (15 years, 7 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_013pre1, Mit_012i, Mit_012h, Mit_012g, Mit_012f, Mit_012e, Mit_012d, Mit_012c, Mit_012b, Mit_012a, Mit_012, Mit_011a
Changes since 1.11: +3 -2 lines
Log Message:
Extended interface of BookDataBlock to contain event setup.

File Contents

# User Rev Content
1 paus 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.12 // $Id: FillerStableParts.h,v 1.11 2009/07/20 03:19:24 loizides Exp $
3 paus 1.1 //
4     // FillerStableParts
5     //
6 loizides 1.5 // Implementation of a filler to copy the mitedm::StablePart collection into the
7 loizides 1.3 // mithep::StableParticle collection.
8 paus 1.1 //
9 loizides 1.3 // Authors: C.Paus
10 paus 1.1 //--------------------------------------------------------------------------------------------------
11    
12 loizides 1.4 #ifndef MITPROD_TREEFILLER_FILLERSTABLEPARTS_H
13     #define MITPROD_TREEFILLER_FILLERSTABLEPARTS_H
14 paus 1.1
15 loizides 1.8 #include "MitAna/DataTree/interface/StableParticleFwd.h"
16     #include "MitProd/TreeFiller/interface/AssociationMaps.h"
17 paus 1.1 #include "MitProd/TreeFiller/interface/BaseFiller.h"
18    
19     namespace mithep
20     {
21     class FillerStableParts : public BaseFiller
22     {
23 loizides 1.3 public:
24     FillerStableParts(const edm::ParameterSet &cfg, const char *name, bool active=1);
25     ~FillerStableParts();
26 paus 1.1
27 loizides 1.12 void BookDataBlock(TreeWriter &tws,
28     const edm::EventSetup &es);
29 loizides 1.11 void FillDataBlock(const edm::Event &e,
30     const edm::EventSetup &es);
31 loizides 1.3 private:
32 loizides 1.11 mithep::Track *GetMitTrack(const mitedm::TrackPtr &ptr) const;
33 bendavid 1.10
34 loizides 1.11 std::string edmName_; //edm name of stable parts collection
35     std::string mitName_; //mit name of StableParticles
36     std::vector<std::string> trackMapNames_; //name of import maps wrt tracks
37     std::string basePartMapName_; //name of export map wrt stable parts
38     std::string trackPartMapName_; //name of export map wrt track-stable
39     std::vector<const mithep::TrackMap*> trackMaps_; //imported maps wrt tracks
40     mithep::StableParticleArr *stables_; //array of StableParticles
41     mithep::BasePartMap *basePartMap_; //map wrt stable parts
42     mithep::TrackPartMap *trackPartMap_; //track map wrt stable parts
43 paus 1.1 };
44     }
45     #endif