Go to the documentation of this file.00001
00002 #include <memory>
00003
00004
00005 #include "FWCore/Framework/interface/Frameworkfwd.h"
00006 #include "FWCore/Framework/interface/EDProducer.h"
00007
00008 #include "FWCore/Framework/interface/Event.h"
00009 #include "FWCore/Framework/interface/MakerMacros.h"
00010
00011 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00012
00013 #include "DataFormats/Common/interface/Handle.h"
00014 #include "FWCore/Framework/interface/ESHandle.h"
00015
00016 #include <DataFormats/MuonDetId/interface/RPCDetId.h>
00017 #include <DataFormats/MuonDetId/interface/MuonSubdetId.h>
00018 #include <DataFormats/RPCRecHit/interface/RPCRecHit.h>
00019
00020 #include <Geometry/Records/interface/MuonGeometryRecord.h>
00021 #include <Geometry/RPCGeometry/interface/RPCGeometry.h>
00022 #include <Geometry/RPCGeometry/interface/RPCGeomServ.h>
00023 #include <Geometry/RPCGeometry/interface/RPCRoll.h>
00024 #include <DataFormats/RPCRecHit/interface/RPCRecHitCollection.h>
00025
00026 #include "AnalysisDataFormats/SUSYBSMObjects/interface/HSCParticle.h"
00027
00028 using namespace susybsm;
00029
00030 class BetaCalculatorRPC{
00031 public:
00032 BetaCalculatorRPC(const edm::ParameterSet& iConfig);
00033 void algo(std::vector<susybsm::RPCHit4D> HSCPRPCRecHits);
00034 void addInfoToCandidate(HSCParticle& candidate, const edm::Event& iEvent, const edm::EventSetup& iSetup);
00035 float beta(){return betavalue;}
00036
00037 private:
00038 bool foundvalue;
00039 float phivalue;
00040 float etavalue;
00041 float betavalue;
00042
00043 float etarange(float eta1,float eta2,float eta3);
00044 float dist(float phi1,float phi2);
00045 float dist3(float phi1,float phi2,float phi3);
00046
00047 edm::InputTag rpcRecHitsLabel;
00048 };
00049
00050