ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Morgan/interface/TrackAnalyzer.h
Revision: 1.3
Committed: Wed Jun 10 11:17:06 2009 UTC (15 years, 10 months ago) by lethuill
Content type: text/plain
Branch: MAIN
CVS Tags: all_3_3_2_01, all_3_2_5_02, all_3_2_5_01, all_2_2_9_03, all_2_2_9_02, all_2_2_9_01, HEAD
Branch point for: CMSSW_2_2_X_br
Changes since 1.2: +12 -11 lines
Log Message:
Better protection against missing collection / Cleaning data format selection / Last iteration for migration to PAT of Photons

File Contents

# Content
1 #ifndef TrackAnalyzer_h
2 #define TrackAnalyzer_h
3
4 // system include files
5 #include <iostream>
6
7 // user include files
8 #include "FWCore/Framework/interface/Event.h"
9 #include "FWCore/ParameterSet/interface/ParameterSet.h"
10 #include "FWCore/Framework/interface/ESHandle.h"
11
12 #include "DataFormats/TrackReco/interface/Track.h"
13 #include "DataFormats/TrackReco/interface/TrackFwd.h"
14 #include "DataFormats/TrackReco/interface/HitPattern.h"
15
16 #include "../interface/TRootTrack.h"
17
18 #include "TClonesArray.h"
19
20
21 class TrackAnalyzer
22 {
23
24 public:
25 TrackAnalyzer(const edm::ParameterSet& producersNames, int verbosity);
26 ~TrackAnalyzer();
27 void setVerbosity(int verbosity) {verbosity_ = verbosity; };
28 bool process(const edm::Event& iEvent, TClonesArray* rootTracks);
29
30 private:
31 int verbosity_;
32 edm::InputTag trackProducer_;
33 bool allowMissingCollection_;
34
35 };
36
37 #endif