CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_1/src/RecoMET/METProducers/interface/CSCHaloDataProducer.h

Go to the documentation of this file.
00001 #ifndef RECOMET_METPRODUCERS_CSCHALODATAPRODUCER_H
00002 #define RECOMET_METPRODUCERS_CSCHALODATAPRODUCER_H
00003 
00004 /*
00005   [class]:  CSCHaloDataProducer
00006   [authors]: R. Remington, The University of Florida
00007   [description]: EDProducer which runs the CSCHaloAlgo and stores the CSCHaloData object in the event  
00008   [date]: October 15, 2009
00009 */  
00010 
00011 
00012 //Standard C++ classes
00013 #include <iostream>
00014 #include <string>
00015 #include <map>
00016 #include <vector>
00017 #include <utility>
00018 #include <ostream>
00019 #include <fstream>
00020 #include <algorithm>
00021 #include <cmath>
00022 #include <memory>
00023 #include <iomanip>
00024 #include <cstdlib>
00025 
00026 // user include files
00027 #include "FWCore/Framework/interface/Frameworkfwd.h"
00028 #include "FWCore/Framework/interface/EDProducer.h"
00029 #include "FWCore/Framework/interface/Event.h"
00030 #include "FWCore/Framework/interface/MakerMacros.h"
00031 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00032 
00033 #include "DataFormats/METReco/interface/CSCHaloData.h"
00034 #include "RecoMET/METAlgorithms/interface/CSCHaloAlgo.h"
00035 //Included Classes (semi-alphabetical)
00036 #include "CondFormats/CSCObjects/interface/CSCDBCrosstalk.h"
00037 #include "CondFormats/CSCObjects/interface/CSCDBGains.h"
00038 #include "CondFormats/CSCObjects/interface/CSCDBNoiseMatrix.h"
00039 #include "CondFormats/CSCObjects/interface/CSCDBPedestals.h"
00040 #include "CondFormats/DataRecord/interface/CSCDBCrosstalkRcd.h"
00041 #include "CondFormats/DataRecord/interface/CSCDBGainsRcd.h"
00042 #include "CondFormats/DataRecord/interface/CSCDBNoiseMatrixRcd.h"
00043 #include "CondFormats/DataRecord/interface/CSCDBPedestalsRcd.h"
00044 
00045 #include "DataFormats/Candidate/interface/CandidateFwd.h"
00046 #include "DataFormats/Candidate/interface/Candidate.h"
00047 #include "DataFormats/CLHEP/interface/AlgebraicObjects.h"
00048 #include "DataFormats/Common/interface/Handle.h"
00049 #include "DataFormats/Common/interface/View.h"
00050 #include "DataFormats/Common/interface/TriggerResults.h"
00051 #include "DataFormats/CSCDigi/interface/CSCCorrelatedLCTDigiCollection.h"
00052 #include "DataFormats/CSCDigi/interface/CSCWireDigi.h"
00053 #include "DataFormats/CSCDigi/interface/CSCWireDigiCollection.h"
00054 #include "DataFormats/CSCDigi/interface/CSCStripDigi.h"
00055 #include "DataFormats/CSCDigi/interface/CSCStripDigiCollection.h"
00056 #include "DataFormats/CSCDigi/interface/CSCComparatorDigi.h"
00057 #include "DataFormats/CSCDigi/interface/CSCComparatorDigiCollection.h"
00058 #include "DataFormats/CSCDigi/interface/CSCALCTDigi.h"
00059 #include "DataFormats/CSCDigi/interface/CSCALCTDigiCollection.h"
00060 #include "DataFormats/CSCRecHit/interface/CSCRecHit2D.h"
00061 #include "DataFormats/CSCRecHit/interface/CSCSegmentCollection.h"
00062 #include "DataFormats/CSCRecHit/interface/CSCRecHit2DCollection.h"
00063 #include "DataFormats/CSCRecHit/interface/CSCSegment.h"
00064 #include "DataFormats/DetId/interface/DetId.h"
00065 #include "DataFormats/GeometrySurface/interface/Cylinder.h"
00066 #include "DataFormats/GeometrySurface/interface/Plane.h"
00067 #include "DataFormats/GeometrySurface/interface/Cone.h"
00068 #include "DataFormats/GeometryVector/interface/GlobalPoint.h"
00069 #include "DataFormats/GeometryVector/interface/GlobalVector.h"
00070 #include "DataFormats/GeometryVector/interface/LocalPoint.h"
00071 #include "DataFormats/GeometryVector/interface/LocalVector.h"
00072 #include "DataFormats/L1CSCTrackFinder/interface/L1CSCTrackCollection.h"
00073 #include "DataFormats/L1CSCTrackFinder/interface/L1CSCStatusDigiCollection.h"
00074 #include "DataFormats/L1GlobalMuonTrigger/interface/L1MuRegionalCand.h"
00075 #include "DataFormats/L1GlobalMuonTrigger/interface/L1MuGMTReadoutRecord.h"
00076 #include "DataFormats/L1GlobalMuonTrigger/interface/L1MuGMTReadoutCollection.h"
00077 #include "DataFormats/MuonDetId/interface/CSCIndexer.h"
00078 #include "DataFormats/MuonDetId/interface/CSCDetId.h"
00079 #include "DataFormats/MuonReco/interface/MuonFwd.h"
00080 #include "DataFormats/MuonReco/interface/Muon.h"
00081 #include "DataFormats/RecoCandidate/interface/RecoCandidate.h"
00082 #include "DataFormats/RPCDigi/interface/RPCDigiCollection.h"
00083 #include "DataFormats/RPCRecHit/interface/RPCRecHitCollection.h"
00084 #include "DataFormats/TrackingRecHit/interface/RecSegment.h"
00085 #include "DataFormats/TrackReco/interface/TrackFwd.h"
00086 #include "DataFormats/TrackReco/interface/Track.h"
00087 #include "DataFormats/TrajectorySeed/interface/TrajectorySeedCollection.h"
00088 
00089 #include "FWCore/Framework/interface/Frameworkfwd.h"
00090 #include "FWCore/Framework/interface/Event.h"
00091 #include "FWCore/Framework/interface/MakerMacros.h"
00092 #include "FWCore/Framework/interface/EventSetup.h"
00093 #include "FWCore/Framework/interface/ESHandle.h"
00094 #include "FWCore/Framework/interface/EDProducer.h"
00095 
00096 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00097 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00098 #include "FWCore/PluginManager/interface/ModuleDef.h"
00099 
00100 #include "Geometry/CommonDetUnit/interface/GeomDet.h"
00101 #include "Geometry/CSCGeometry/interface/CSCGeometry.h"
00102 #include "Geometry/CSCGeometry/interface/CSCChamber.h"
00103 #include "Geometry/CSCGeometry/interface/CSCLayer.h"
00104 #include "Geometry/CSCGeometry/interface/CSCLayerGeometry.h"
00105 #include "Geometry/Records/interface/GlobalTrackingGeometryRecord.h"
00106 #include "Geometry/RPCGeometry/interface/RPCRoll.h"
00107 #include "Geometry/RPCGeometry/interface/RPCGeometry.h"
00108 #include "Geometry/Records/interface/MuonGeometryRecord.h"
00109 #include "Geometry/Records/interface/GlobalTrackingGeometryRecord.h"
00110 #include "L1Trigger/CSCTrackFinder/interface/CSCSectorReceiverLUT.h"
00111 #include "L1Trigger/CSCTrackFinder/interface/CSCSectorReceiverLUT.h"
00112 #include "L1Trigger/CSCCommonTrigger/interface/CSCTriggerGeometry.h"
00113 #include "MagneticField/Records/interface/IdealMagneticFieldRecord.h"
00114 #include "MagneticField/Engine/interface/MagneticField.h"
00115 
00116 #include "RecoMuon/MuonIdentification/interface/TimeMeasurementSequence.h"
00117 #include "RecoMuon/TrackingTools/interface/MuonServiceProxy.h"
00118 #include "RecoMuon/TrackingTools/interface/MuonPatternRecoDumper.h"
00119 #include "RecoMuon/TrackingTools/interface/MuonSegmentMatcher.h"
00120 #include "RecoMuon/TransientTrackingRecHit/interface/MuonTransientTrackingRecHitBuilder.h"
00121 #include "RecoMuon/TransientTrackingRecHit/interface/MuonTransientTrackingRecHit.h"
00122 
00123 #include "TrackingTools/GeomPropagators/interface/Propagator.h"
00124 #include "TrackingTools/GeomPropagators/interface/AnalyticalPropagator.h"
00125 #include "TrackPropagation/SteppingHelixPropagator/interface/SteppingHelixPropagator.h"
00126 #include "TrackingTools/TransientTrack/interface/TransientTrack.h"
00127 
00128 class MuonServiceProxy;
00129 
00130 namespace reco
00131 {
00132 class CSCHaloDataProducer : public edm::EDProducer {
00133     
00134   public:
00135     explicit CSCHaloDataProducer(const edm::ParameterSet&);
00136     ~CSCHaloDataProducer();
00137     
00138   private:
00139     
00140     virtual void beginJob() ;
00141     virtual void endJob() ;
00142     virtual void produce(edm::Event&, const edm::EventSetup&);
00143     virtual void beginRun(edm::Run&, const edm::EventSetup&);
00144     virtual void endRun(edm::Run&, const edm::EventSetup&);
00145 
00146     //CSCHaloAlgo
00147     CSCHaloAlgo CSCAlgo;
00148     
00149     //Digi Level
00150     edm::InputTag IT_L1MuGMTReadout;
00151     edm::InputTag IT_ALCT;
00152 
00153     //HLT
00154     edm::InputTag IT_HLTResult;
00155     std::vector< edm::InputTag > vIT_HLTBit  ;
00156 
00157     //Muon-Segment Matching
00158     MuonServiceProxy* TheService;
00159     MuonSegmentMatcher *TheMatcher;
00160 
00161     //RecHit Level
00162     edm::InputTag IT_CSCRecHit;
00163 
00164     //Higher Level Reco
00165     edm::InputTag IT_CosmicMuon;
00166     edm::InputTag IT_CSCSegment;
00167     edm::InputTag IT_Muon;
00168     edm::InputTag IT_SA;
00169 
00170 
00171   };
00172 }
00173 
00174 #endif
00175