Go to the documentation of this file.00001 #ifndef HLTTRACK_H
00002 #define HLTTRACK_H
00003
00004 #include "TH1.h"
00005 #include "TH2.h"
00006 #include "TFile.h"
00007 #include "TNamed.h"
00008 #include <vector>
00009 #include <map>
00010 #include "TROOT.h"
00011 #include "TChain.h"
00012
00013 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00014 #include "DataFormats/Candidate/interface/Candidate.h"
00015 #include "Geometry/CaloGeometry/interface/CaloGeometry.h"
00016
00017 #include "DataFormats/TrackReco/interface/Track.h"
00018 #include "DataFormats/TrackReco/interface/TrackFwd.h"
00019 #include "DataFormats/HcalIsolatedTrack/interface/IsolatedPixelTrackCandidate.h"
00020 #include "DataFormats/RecoCandidate/interface/RecoChargedCandidate.h"
00021 #include "DataFormats/RecoCandidate/interface/RecoChargedCandidateFwd.h"
00022 #include "DataFormats/VertexReco/interface/Vertex.h"
00023 #include "DataFormats/VertexReco/interface/VertexFwd.h"
00024 #include "DataFormats/FEDRawData/interface/FEDRawDataCollection.h"
00025 #include "DataFormats/SiPixelCluster/interface/SiPixelCluster.h"
00026
00027 typedef std::vector<std::string> MyStrings;
00028
00035 class HLTTrack {
00036 public:
00037 HLTTrack();
00038
00039 void setup(const edm::ParameterSet& pSet, TTree* tree);
00040
00042 void analyze(const edm::Handle<reco::IsolatedPixelTrackCandidateCollection> & IsoPixelTrackL3,
00043 const edm::Handle<reco::IsolatedPixelTrackCandidateCollection> & IsoPixelTrackL2,
00044 const edm::Handle<reco::VertexCollection> & pixelVertices,
00045 const edm::Handle<reco::RecoChargedCandidateCollection> & PixelTracksL3,
00046 const edm::Handle<FEDRawDataCollection> hfedraw,
00047 const edm::Handle<edmNew::DetSetVector<SiPixelCluster> > & pixelClusters,
00048 TTree* tree);
00049
00050
00051 private:
00052
00053
00054
00055 float *isopixeltrackL3pt, *isopixeltrackL3eta, *isopixeltrackL3phi, *isopixeltrackL3maxptpxl, *isopixeltrackL3energy, *isopixeltrackL2pt, *isopixeltrackL2eta, *isopixeltrackL2dXY ;
00056 int nisopixeltrackL3;
00057
00058 float *pixeltracksL3pt, *pixeltracksL3eta, *pixeltracksL3phi, *pixeltracksL3vz;
00059 int npixeltracksL3;
00060 int pixelfedsize;
00061 int npixelclusters;
00062
00063
00064 bool _Monte,_Debug;
00065
00066 int evtCounter;
00067
00068 };
00069
00070 #endif