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.14 by konec, Fri Feb 17 19:49:25 2012 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 35 | Line 40 | public:
40  
41    void checkEfficiency(const reco::TrackCollection & tracks);
42    void checkEfficiency(const OrderedSeedingHits& candidates);
43 <  void checkAlgoEfficiency1(const ctfseeding::SeedingLayerSets&, const OrderedSeedingHits& );
44 <  void checkAlgoEfficiency2(const ctfseeding::SeedingLayerSets&, const OrderedSeedingHits& );
43 > //  void checkAlgoEfficiency1(const ctfseeding::SeedingLayerSets&, const OrderedSeedingHits& );
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 SimVertex& vertex);
48 >  static void print(const reco::Track & track, const math::XYZPoint & bs=math::XYZPoint(0,0,0));
49   private:
50    unsigned int matchedHits(unsigned int trackId, const SeedingHitSet& hits);
51    bool select(const SimTrack & track) const;
# Line 55 | Line 61 | private:
61    std::vector<SimTrack> theSimTracks;
62    std::vector<SimVertex> theSimVertices;
63  
64 <  TH1D *hEffPt_N, *hEffPt_D, *hEffAlgoPt_N, *hEffAlgoPt_D;
64 >  TH1D *hEffPt_N, *hEffPt_D, *hEffLPt_N, *hEffLPt_D, *hEffAlgoPt_N, *hEffAlgoPt_D;
65    TH1D *hEffEta_N, *hEffEta_D, *hEffAlgoEta_N, *hEffAlgoEta_D;
66    TH1D *hEffPhi_N, *hEffPhi_D;
67    TH1D *hPurePt_N, *hPurePt_D;
68  
69 <  TFile * rootFile;
69 >  typedef std::map<std::string, TH1D* > HMap;
70 >  HMap hMap;
71  
72  
73   };
74  
75 + #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines