ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerConversionsDecay.h
Revision: 1.2
Committed: Fri Dec 28 17:27:20 2012 UTC (12 years, 4 months ago) by pharris
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_032, Mit_031, Mit_030, Mit_029c, Mit_029b, Mit_030_pre1, Mit_029a, HEAD
Changes since 1.1: +3 -2 lines
Log Message:
Added Embedded and PFAOD functionality

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: FillerConversionsDecay.h,v 1.1 2010/11/22 16:53:31 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 bool checkTrackRef_; //Check to see if track collection is there
40 std::string stableDataName_; //= mitName_ + "_StableDatas"
41 std::string convElectronMapName_; //name of imported electrons map
42 std::vector<std::string> stablePartMapNames_; //name imp maps wrt stable parts
43 std::string conversionMapName_; //name of exported conv map
44 std::vector<const mithep::TrackPartMap*> stablePartMaps_; //maps wrt stable parts
45 mithep::DecayParticleArr *decays_; //array of DecayParticles
46 mithep::StableDataArr *stableData_; //array of StableDatas
47 mithep::ConversionDecayMap *conversionMap_; //exported map wrt Conversions
48 };
49 }
50 #endif