ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerMuons.h
Revision: 1.15
Committed: Fri Oct 29 18:15:30 2010 UTC (14 years, 6 months ago) by pharris
Content type: text/plain
Branch: MAIN
CVS Tags: 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
Changes since 1.14: +3 -2 lines
Log Message:
Modified NSegments variable

File Contents

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