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

Comparing UserCode/LJMet/MultivariateAnalysis/interface/TtLJetsAnalyzer.h (file contents):
Revision 1.12 by kukartse, Tue May 12 19:35:58 2009 UTC vs.
Revision 1.13 by kukartse, Thu May 14 00:12:39 2009 UTC

# Line 32 | Line 32
32  
33   #include "FWCore/ServiceRegistry/interface/Service.h"
34   #include "PhysicsTools/UtilAlgos/interface/TFileService.h"
35 + #include "DataFormats/Math/interface/LorentzVector.h"
36 + #include "DataFormats/Common/interface/View.h"
37 + #include "DataFormats/PatCandidates/interface/Electron.h"
38 + #include "DataFormats/TrackReco/interface/Track.h"
39  
40   class TtLJetsAnalyzer : public edm::EDAnalyzer {
41   public:
# Line 45 | Line 49 | private:
49    virtual void analyze(const edm::Event&, const edm::EventSetup&);
50    virtual void endJob(void);
51  
52 +  // returns pair<dist,dcot>
53 +  pair<float, float> getConversionInfo(const pat::Electron & el,
54 +                                       const reco::Track & track,
55 +                                       const reco::BeamSpot::Point _bs,
56 +                                       float bField);
57 +
58 +  bool ConversionAlgo(const pat::Electron& e, edm::Handle<edm::View<reco::Track> > track_h);
59 +  double DelRTrackEle(const pat::Electron& e,const reco::Track& tk);
60 +
61    edm::Service<TFileService> fs;
62  
63    bool first_event;
64  
65    // _____ quantities read from the config file _________________________
66    std::string _jetSource, _electronSource, _muonSource, _METSource,
67 <    _beamSpotSource, _trigger_source;
67 >    _beamSpotSource, _trigger_source, _track_source;
68    bool _lepton_flavor_is_muon;
69    std::string _outFile;
70    bool _is_mc;
# Line 69 | Line 82 | private:
82    double electron_caloIso_max  ;
83    double met_et_min            ;
84    double min_dr_jet_lepton     ;
85 +  double _bfield;
86 +  double _dist_min;
87 +  double _dist_max;
88 +  double _abs_dcot_max;
89 +  double _e_track_dr;
90  
91    RooGKCounter eventCounter;
92    RooGKCounter selectedEvents;
# Line 87 | Line 105 | private:
105    Int_t _n_electrons;
106    Int_t _lepton_is_muon;
107    //
108 +  //_____ photon conversion _____________________________________________
109 +  //
110 +  vector<double> * _e_dist;
111 +  vector<double> * _e_dcot;
112 +  bool     _is_conv;
113 +  //
114    //_____ trigger _______________________________________________________
115    //
116    std::map<std::string,bool> _hlt;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines