ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerDecayParts.h
Revision: 1.15
Committed: Thu Mar 18 20:21:00 2010 UTC (15 years, 1 month ago) by bendavid
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_032, Mit_031, Mit_025c_branch2, Mit_025c_branch1, Mit_030, Mit_029c, Mit_029b, Mit_030_pre1, Mit_029a, Mit_029, Mit_029_pre1, Mit_028a, Mit_025c_branch0, Mit_028, Mit_027a, Mit_027, Mit_026, Mit_025e, Mit_025d, Mit_025c, Mit_025b, Mit_025a, Mit_025, Mit_025pre2, Mit_024b, Mit_025pre1, Mit_024a, Mit_024, Mit_023, Mit_022a, Mit_022, Mit_020d, TMit_020d, Mit_020c, Mit_021, Mit_021pre2, Mit_021pre1, Mit_020b, Mit_020a, Mit_020, Mit_020pre1, Mit_018, Mit_017, Mit_017pre3, Mit_017pre2, Mit_017pre1, Mit_016, Mit_015b, Mit_015a, Mit_015, Mit_014e, Mit_014d, Mit_014c, Mit_014b, Mit_014a, Mit_014, Mit_014pre3, Mit_014pre2, Mit_014pre1, Mit_013d, Mit_013c, Mit_013b, Mit_013a, Mit_013, HEAD
Branch point for: Mit_025c_branch
Changes since 1.14: +2 -3 lines
Log Message:
Fix beginrun,beginjob mess

File Contents

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