SUSYBSMAnalysis
HSCP
interface
BetaCalculatorRPC.h
Go to the documentation of this file.
1
// system include files
2
#include <memory>
3
4
// user include files
5
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
6
#include "
FWCore/Framework/interface/EDProducer.h
"
7
8
#include "
FWCore/Framework/interface/Event.h
"
9
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
10
#include "
FWCore/Framework/interface/MakerMacros.h
"
11
12
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
13
14
#include "
DataFormats/Common/interface/Handle.h
"
15
#include "
FWCore/Framework/interface/ESHandle.h
"
16
17
#include <
DataFormats/MuonDetId/interface/RPCDetId.h
>
18
#include <
DataFormats/MuonDetId/interface/MuonSubdetId.h
>
19
#include <
DataFormats/RPCRecHit/interface/RPCRecHit.h
>
20
21
#include <
Geometry/Records/interface/MuonGeometryRecord.h
>
22
#include <
Geometry/RPCGeometry/interface/RPCGeometry.h
>
23
#include <
Geometry/RPCGeometry/interface/RPCGeomServ.h
>
24
#include <
Geometry/RPCGeometry/interface/RPCRoll.h
>
25
#include <
DataFormats/RPCRecHit/interface/RPCRecHitCollection.h
>
26
27
#include "
AnalysisDataFormats/SUSYBSMObjects/interface/HSCParticle.h
"
28
29
class
BetaCalculatorRPC
{
30
public
:
31
BetaCalculatorRPC
(
const
edm::ParameterSet
& iConfig,
edm::ConsumesCollector
&& iC);
32
void
algo
(
const
std::vector<susybsm::RPCHit4D>& HSCPRPCRecHits);
33
void
addInfoToCandidate
(
susybsm::HSCParticle
& candidate,
const
edm::Event
&
iEvent
,
const
edm::EventSetup
& iSetup);
34
float
beta
() {
return
betavalue
; }
35
36
private
:
37
bool
foundvalue
;
38
float
phivalue
;
39
float
etavalue
;
40
float
betavalue
;
41
42
float
etarange
(
float
eta1
,
float
eta2
,
float
eta3
);
43
float
dist
(
float
phi1,
float
phi2);
44
float
dist3
(
float
phi1,
float
phi2,
float
phi3);
45
46
edm::EDGetTokenT<RPCRecHitCollection>
rpcRecHitsToken
;
47
};
susybsm::HSCParticle
Definition:
HSCParticle.h:42
Handle.h
BetaCalculatorRPC::phivalue
float phivalue
Definition:
BetaCalculatorRPC.h:38
EDProducer.h
ESHandle.h
edm::EDGetTokenT< RPCRecHitCollection >
BetaCalculatorRPC::addInfoToCandidate
void addInfoToCandidate(susybsm::HSCParticle &candidate, const edm::Event &iEvent, const edm::EventSetup &iSetup)
Definition:
BetaCalculatorRPC.cc:112
RPCRoll.h
BetaCalculatorRPC::foundvalue
bool foundvalue
Definition:
BetaCalculatorRPC.h:37
HLT_FULL_cff.eta3
eta3
Definition:
HLT_FULL_cff.py:9609
RPCGeomServ.h
MakerMacros.h
HSCParticle.h
HLT_FULL_cff.eta2
eta2
Definition:
HLT_FULL_cff.py:9608
BetaCalculatorRPC::BetaCalculatorRPC
BetaCalculatorRPC(const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC)
Definition:
BetaCalculatorRPC.cc:5
BetaCalculatorRPC::etavalue
float etavalue
Definition:
BetaCalculatorRPC.h:39
BetaCalculatorRPC::dist
float dist(float phi1, float phi2)
RPCDetId.h
HLT_FULL_cff.eta1
eta1
Definition:
HLT_FULL_cff.py:9607
RPCRecHitCollection.h
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
BetaCalculatorRPC::etarange
float etarange(float eta1, float eta2, float eta3)
iEvent
int iEvent
Definition:
GenABIO.cc:224
BetaCalculatorRPC::dist3
float dist3(float phi1, float phi2, float phi3)
edm::EventSetup
Definition:
EventSetup.h:57
BetaCalculatorRPC::betavalue
float betavalue
Definition:
BetaCalculatorRPC.h:40
MuonSubdetId.h
BetaCalculatorRPC::beta
float beta()
Definition:
BetaCalculatorRPC.h:34
BetaCalculatorRPC::rpcRecHitsToken
edm::EDGetTokenT< RPCRecHitCollection > rpcRecHitsToken
Definition:
BetaCalculatorRPC.h:46
Frameworkfwd.h
RPCRecHit.h
ConsumesCollector.h
ParameterSet.h
BetaCalculatorRPC
Definition:
BetaCalculatorRPC.h:29
BetaCalculatorRPC::algo
void algo(const std::vector< susybsm::RPCHit4D > &HSCPRPCRecHits)
Definition:
BetaCalculatorRPC.cc:9
MuonGeometryRecord.h
edm::Event
Definition:
Event.h:73
RPCGeometry.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.16