ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerDecayParts.h
Revision: 1.12
Committed: Sun Mar 22 10:00:45 2009 UTC (16 years, 1 month ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_009a, Mit_009, Mit_008
Changes since 1.11: +5 -4 lines
Log Message:
Cleanup

File Contents

# User Rev Content
1 paus 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.12 // $Id: FillerDecayParts.h,v 1.11 2009/03/15 11:20:40 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.8 #include "MitProd/TreeFiller/interface/FillerTracks.h"
17 bendavid 1.2 #include "MitProd/TreeFiller/interface/AssociationMaps.h"
18 bendavid 1.9 #include "MitProd/TreeFiller/interface/HitPatternReader.h"
19 bendavid 1.7 #include "MitAna/DataTree/interface/Particle.h"
20 paus 1.1 #include "MitAna/DataTree/interface/Collections.h"
21 bendavid 1.7 #include "MitEdm/DataFormats/interface/BasePartFwd.h"
22 paus 1.1
23     namespace mithep
24     {
25     class FillerDecayParts : public BaseFiller
26     {
27 loizides 1.3 public:
28     FillerDecayParts(const edm::ParameterSet &cfg, const char *name, bool active=1);
29     ~FillerDecayParts();
30 paus 1.1
31 loizides 1.12 void BookDataBlock(TreeWriter &tws);
32     void FillDataBlock(const edm::Event &e,
33     const edm::EventSetup &es);
34 paus 1.1
35 loizides 1.3 private:
36 loizides 1.12 mithep::Particle *getMitParticle(mitedm::BasePartPtr ptr) const;
37 bendavid 1.7
38 loizides 1.11 std::string edmName_; //edm name of collection
39     std::string mitName_; //mit name of collection
40     std::string stableDataName_; //= mitName_ + "_StableDatas"
41     std::string decayDataName_; //= mitName_ + "_DecayDatas"
42     std::string vertexMapName_; //name map wrt primary vertexes
43     std::vector<std::string> basePartMapNames_; //name imp maps wrt stable parts
44 bendavid 1.7 std::vector<const mithep::BasePartMap*> basePartMaps_; //maps wrt stable parts
45     const mithep::VertexMap *vertexMap_; //map wrt primary vertexes
46 loizides 1.10 mithep::DecayParticleArr *decays_; //array of DecayParticles
47     mithep::StableDataArr *stableData_; //array of StableDatas
48     mithep::DecayDataArr *decayData_; //array of DecayDatas
49     HitPatternReader hitReader_; //hit pattern reader
50 paus 1.1 };
51     }
52     #endif