ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerDecayParts.h
Revision: 1.8
Committed: Mon Oct 13 10:41:59 2008 UTC (16 years, 6 months ago) by bendavid
Content type: text/plain
Branch: MAIN
Changes since 1.7: +3 -1 lines
Log Message:
Added filling of crossed layer map for StableData

File Contents

# User Rev Content
1 paus 1.1 //--------------------------------------------------------------------------------------------------
2 bendavid 1.8 // $Id: FillerDecayParts.h,v 1.7 2008/09/30 13:03: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.8 #include "MitProd/TreeFiller/interface/FillerTracks.h"
17 bendavid 1.2 #include "MitProd/TreeFiller/interface/AssociationMaps.h"
18 bendavid 1.7 #include "MitAna/DataTree/interface/Particle.h"
19 paus 1.1 #include "MitAna/DataTree/interface/Collections.h"
20 bendavid 1.7 #include "MitEdm/DataFormats/interface/BasePartFwd.h"
21 paus 1.1
22     namespace mithep
23     {
24     class FillerDecayParts : public BaseFiller
25     {
26 loizides 1.3 public:
27     FillerDecayParts(const edm::ParameterSet &cfg, const char *name, bool active=1);
28     ~FillerDecayParts();
29 paus 1.1
30 loizides 1.3 void BookDataBlock(TreeWriter &tws);
31     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
32 paus 1.1
33 loizides 1.3 private:
34 bendavid 1.7 mithep::Particle *getMitParticle(mitedm::BasePartPtr ptr) const;
35    
36     std::string edmName_; //edm name of decay parts collection
37     std::string mitName_; //name of DecayParticles in OAK
38     std::string vertexMapName_; //name of imported map wrt primary vertexes
39     std::vector<std::string> basePartMapNames_; //name of imported maps wrt stable parts
40     std::vector<const mithep::BasePartMap*> basePartMaps_; //maps wrt stable parts
41     const mithep::VertexMap *vertexMap_; //map wrt primary vertexes
42     mithep::DecayParticleArr *decays_; //array of DecayParticles
43     mithep::StableDataArr *stableData_; //array of StableDatas
44     mithep::DecayDataArr *decayData_; //array of DecayDatas
45 bendavid 1.8 std::map<uint32_t,mithep::Track::EHitLayer> layerMap_; //hitlayer bitmap map
46 paus 1.1 };
47     }
48     #endif