CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/RecoJets/JetProducers/interface/JetMuonHitsIDHelper.h

Go to the documentation of this file.
00001 #ifndef RecoJets_JetProducers_interface_JetMuonHitsIDHelper_h
00002 #define RecoJets_JetProducers_interface_JetMuonHitsIDHelper_h
00003 
00004 
00005 #include "FWCore/Framework/interface/Frameworkfwd.h"
00006 #include "FWCore/Framework/interface/Event.h"
00007 #include "FWCore/Framework/interface/EventSetup.h"
00008 #include "DataFormats/JetReco/interface/Jet.h"
00009 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00010 #include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
00011 
00012 
00013 namespace reco {
00014 
00015   namespace helper {
00016 
00017     class JetMuonHitsIDHelper {
00018 
00019     public : 
00020       // construction
00021       JetMuonHitsIDHelper() {}
00022       JetMuonHitsIDHelper( edm::ParameterSet const & pset );
00023       ~JetMuonHitsIDHelper() {} 
00024 
00025       void fillDescription(edm::ParameterSetDescription& iDesc);
00026 
00027       void initValues ();
00028 
00029       // interface
00030       void calculate( const edm::Event& event, const edm::EventSetup & isetup, 
00031                       const reco::Jet &jet, const int iDbg = 0 );
00032 
00033       // access
00034       int numberOfHits1RPC() const { return numberOfHits1RPC_;}
00035       int numberOfHits2RPC() const { return numberOfHits2RPC_;}
00036       int numberOfHits3RPC() const { return numberOfHits3RPC_;}
00037       int numberOfHits4RPC() const { return numberOfHits4RPC_;}
00038       int numberOfHitsRPC () const { return numberOfHitsRPC_ ;}
00039   
00040     private:
00041 
00042       edm::InputTag rpcRecHits_; // collection of rpc rechits
00043       bool          isRECO_;     // if this is RECO this will run, else nothing will be added
00044 
00045       int numberOfHits1RPC_;
00046       int numberOfHits2RPC_;
00047       int numberOfHits3RPC_;
00048       int numberOfHits4RPC_;
00049       int numberOfHitsRPC_;
00050 
00051     };
00052   }
00053 }
00054 #endif