ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerMuons.h
Revision: 1.17
Committed: Thu Mar 29 23:41:59 2012 UTC (13 years, 1 month ago) by paus
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_032, Mit_031, Mit_030, Mit_029c, Mit_029b, Mit_030_pre1, Mit_029a, Mit_029, Mit_029_pre1, Mit_028a, Mit_028, Mit_027a, Mit_027, Mit_026, Mit_025e, HEAD
Changes since 1.16: +5 -2 lines
Log Message:
Version with working skimming and last 4.4 tag.

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: FillerMuons.h,v 1.16 2012/01/15 23:23:34 pharris Exp $
3 //
4 // FillerMuons
5 //
6 // Implementation of a filler to fill EDM muons into our mithep::Muon data structure.
7 //
8 // Authors: J.Bendavid
9 //--------------------------------------------------------------------------------------------------
10
11 #ifndef MITPROD_TREEFILLER_FILLERMUONS_H
12 #define MITPROD_TREEFILLER_FILLERMUONS_H
13
14 #include "MitAna/DataTree/interface/MuonFwd.h"
15 #include "MitProd/TreeFiller/interface/AssociationMaps.h"
16 #include "MitProd/TreeFiller/interface/BaseFiller.h"
17 #include "DataFormats/MuonReco/interface/Muon.h"
18
19 namespace mithep
20 {
21 class FillerMuons : public BaseFiller
22 {
23 public:
24 FillerMuons(const edm::ParameterSet &cfg, const char *name, bool active=1);
25 ~FillerMuons();
26
27 void BookDataBlock(TreeWriter &tws);
28 void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
29 int NumberOfSegments(const reco::Muon *iM,
30 int station, int muonSubdetId,
31 reco::Muon::ArbitrationType arbitrationType =
32 reco::Muon::SegmentAndTrackArbitration);
33 private:
34 std::string edmName_; //edm name of muons collection
35 std::string expectedHitsName_; //edm name of corrected expected hits valuemap
36 std::string mitName_; //mit name of Muons
37 std::string globalTrackMapName_; //name of imported map wrt global muons
38 std::string staTrackMapName_; //name of imported map wrt sta muons
39 std::string staVtxTrackMapName_; //name of imported map wrt sta vtx muons
40 std::string trackerTrackMapName_; //name of imported map wrt tracker muons
41 std::string muonMapName_; //name of exported muon map
42 std::string pvEdmName_; //name of primary vertex collection
43 std::string pvBSEdmName_; //name of bs-constrained pv collection
44 bool fitUnbiasedVertex_; //recompute vertex position without muon track
45 const mithep::TrackMap *globalTrackMap_; //map wrt global muons
46 const mithep::TrackMap *standaloneTrackMap_; //map wrt standalone muons
47 const mithep::TrackMap *standaloneVtxTrackMap_; //map wrt standalone vertex muons
48 const mithep::TrackMap *trackerTrackMap_; //map wrt tracker track muons
49 mithep::MuonMap *muonMap_; //exported muon map
50 mithep::MuonArr *muons_; //array of Muons
51 };
52 }
53 #endif