ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerAODMCParticles.h
Revision: 1.2
Committed: Fri Mar 6 14:41:42 2009 UTC (16 years, 2 months ago) by bendavid
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
State: FILE REMOVED
Error occurred while calculating annotation data.
Log Message:
Removed obsolte FillerAODMCParticles (was merged into FillerMCParticles)

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: FillerAODMCParticles.h,v 1.1 2009/02/23 20:53:34 bendavid Exp $
3 //
4 // FillerAODMCParticles
5 //
6 // Imlementation of a filler to fill HepMC particles (gen) AND TrackingParticles (sim)
7 // into mithep::MCParticles. Gen and Sim particle information is thus merged into a single
8 // collection.
9 //
10 // Authors: C.Loizides, J.Bendavid
11 //--------------------------------------------------------------------------------------------------
12
13 #ifndef MITPROD_TREEFILLER_FILLERAODMCPARTICLES_H
14 #define MITPROD_TREEFILLER_FILLERAODMCPARTICLES_H
15
16 #include <map>
17 #include "FWCore/ParameterSet/interface/ParameterSet.h"
18 #include "MitAna/DataUtil/interface/TreeWriter.h"
19 #include "MitAna/DataTree/interface/Collections.h"
20 #include "MitProd/TreeFiller/interface/BaseFiller.h"
21 #include "MitProd/TreeFiller/interface/AssociationMaps.h"
22
23 namespace mithep
24 {
25 class FillerAODMCParticles : public BaseFiller
26 {
27 public:
28 FillerAODMCParticles(const edm::ParameterSet &cfg, const char *name, bool active=1);
29 ~FillerAODMCParticles();
30
31 void BookDataBlock(TreeWriter &tws);
32 void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
33 void ResolveLinks (const edm::Event &e, const edm::EventSetup &es);
34
35 private:
36 std::string genEdmName_; //edm name of generated particles
37 std::string genMapName_; //name of exported map wrt generated particles
38 std::string mitName_; //name of MCParticles branch in OAK
39 mithep::MCParticleArr *mcParticles_; //array of MCParticles
40 mithep::AODGenParticleMap *genMap_; //map wrt generated particles
41 };
42 }
43 #endif