ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerConversionsDecay.h
Revision: 1.1
Committed: Mon Nov 22 16:53:31 2010 UTC (14 years, 5 months ago) by bendavid
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_025c_branch1, 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
Branch point for: Mit_025c_branch
Log Message:
New filler for conversions

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: FillerConversionsDecay.h,v 1.14 2010/03/18 20:21:00 bendavid Exp $
3 //
4 // FillerConversionsDecay
5 //
6 // Implementation of a filler creating mithep::DecayParticle objects from the reco::Conversion objects
7 //
8 // Authors: J.Bendavid
9 //--------------------------------------------------------------------------------------------------
10
11 #ifndef MITPROD_TREEFILLER_FILLERCONVERSIONSDECAY_H
12 #define MITPROD_TREEFILLER_FILLERCONVERSIONS_H
13
14 #include "MitAna/DataTree/interface/ConversionFwd.h"
15 #include "MitProd/TreeFiller/interface/AssociationMaps.h"
16 #include "MitProd/TreeFiller/interface/BaseFiller.h"
17 #include "MitEdm/DataFormats/interface/BasePartFwd.h"
18 #include "MitAna/DataTree/interface/StableDataFwd.h"
19 #include "MitAna/DataTree/interface/DecayDataFwd.h"
20 #include "MitAna/DataTree/interface/DecayParticleFwd.h"
21
22 namespace mithep
23 {
24 class FillerConversionsDecay : public BaseFiller
25 {
26 public:
27 FillerConversionsDecay(const edm::ParameterSet &cfg, const char *name, bool active=1);
28 ~FillerConversionsDecay();
29
30 void BookDataBlock(TreeWriter &tws);
31 void FillDataBlock(const edm::Event &e,
32 const edm::EventSetup &es);
33
34 private:
35 mithep::Particle *GetMitParticle(edm::Ptr<reco::Track> ptr) const;
36
37 std::string edmName_; //name of edm conversions
38 std::string mitName_; //mit name of Conversions
39 std::string stableDataName_; //= mitName_ + "_StableDatas"
40 std::string convElectronMapName_; //name of imported electrons map
41 std::vector<std::string> stablePartMapNames_; //name imp maps wrt stable parts
42 std::string conversionMapName_; //name of exported conv map
43 std::vector<const mithep::TrackPartMap*> stablePartMaps_; //maps wrt stable parts
44 mithep::DecayParticleArr *decays_; //array of DecayParticles
45 mithep::StableDataArr *stableData_; //array of StableDatas
46 mithep::ConversionDecayMap *conversionMap_; //exported map wrt Conversions
47 };
48 }
49 #endif