ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/konec/interface/Analysis.h
(Generate patch)

Comparing UserCode/konec/interface/Analysis.h (file contents):
Revision 1.6 by konec, Mon Nov 26 07:57:27 2007 UTC vs.
Revision 1.12 by konec, Wed Apr 7 00:54:50 2010 UTC

# Line 1 | Line 1
1 + #ifndef Analysis_H
2 + #define Analysis_H
3 +
4   #include "FWCore/ParameterSet/interface/ParameterSet.h"
5  
6   #include "SimDataFormats/Track/interface/SimTrack.h"
# Line 10 | Line 13 | class TrackerHitAssociator;
13   class OrderedSeedingHits;
14   class TrackingRegion;
15   class TH1D;
13 class TFile;
14 class TProfile;
16  
17   #include "DataFormats/TrackReco/interface/TrackFwd.h"
18   #include "DataFormats/TrackReco/interface/Track.h"
19  
20 + #include "TObjArray.h"
21 + TObjArray gHistos;
22 +
23  
24   #include <vector>
25   #include <string>
26 + #include <map>
27  
28   namespace edm { class Event; class EventSetup; }
29  
# Line 39 | Line 44 | public:
44    void checkAlgoEfficiency2(const ctfseeding::SeedingLayerSets&, const OrderedSeedingHits& );
45  
46    static void print(const SimTrack & track) ;
47 <  static std::string print(const ctfseeding::SeedingHit & hit);
47 >  static void print(const reco::Track & track, const math::XYZPoint & bs=math::XYZPoint(0,0,0));
48   private:
49    unsigned int matchedHits(unsigned int trackId, const SeedingHitSet& hits);
50    bool select(const SimTrack & track) const;
# Line 55 | Line 60 | private:
60    std::vector<SimTrack> theSimTracks;
61    std::vector<SimVertex> theSimVertices;
62  
63 <  TH1D *hEffPt_N, *hEffPt_D, *hEffAlgoPt_N, *hEffAlgoPt_D;
63 >  TH1D *hEffPt_N, *hEffPt_D, *hEffLPt_N, *hEffLPt_D, *hEffAlgoPt_N, *hEffAlgoPt_D;
64    TH1D *hEffEta_N, *hEffEta_D, *hEffAlgoEta_N, *hEffAlgoEta_D;
65    TH1D *hEffPhi_N, *hEffPhi_D;
66    TH1D *hPurePt_N, *hPurePt_D;
67  
68 <  TFile * rootFile;
68 >  typedef std::map<std::string, TH1D* > HMap;
69 >  HMap hMap;
70  
71  
72   };
73  
74 + #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines