CMS 3D CMS Logo

CaloExtractor.h
Go to the documentation of this file.
1 #ifndef MuonIsolation_CaloExtractor_H
2 #define MuonIsolation_CaloExtractor_H
3 
4 #include <string>
5 
7 
9 
13 
15 
17 
18 namespace muonisolation {
19 
21  public:
24 
25  ~CaloExtractor() override {}
26 
27  void fillVetos(const edm::Event& ev, const edm::EventSetup& evSetup, const reco::TrackCollection& tracks) override;
29  const edm::EventSetup& evSetup,
30  const reco::Track& track) const override;
31 
34  const reco::Track& muon, const double bz, const GlobalPoint& endpos, bool fixVxy = false, bool fixVz = false);
35 
36  private:
37  // CaloTower Collection Label
39 
40  // Label of deposit
42 
43  // Cone cuts and thresholds
44  double theWeight_E;
45  double theWeight_H;
48  double theDR_Veto_E;
49  double theDR_Veto_H;
50  double theDR_Max;
53 
54  // Vector of calo Ids to veto
55  std::vector<DetId> theVetoCollection;
56 
57  // Determine noise for HCAL and ECAL (take some defaults for the time being)
58  double noiseEcal(const CaloTower& tower) const;
59  double noiseHcal(const CaloTower& tower) const;
60  };
61 
62 } // namespace muonisolation
63 
64 #endif
muonisolation::CaloExtractor::noiseEcal
double noiseEcal(const CaloTower &tower) const
Definition: CaloExtractor.cc:272
muonisolation::CaloExtractor::theDepositLabel
std::string theDepositLabel
Definition: CaloExtractor.h:41
HLT_FULL_cff.track
track
Definition: HLT_FULL_cff.py:11713
muon
Definition: MuonCocktails.h:17
edm::EDGetTokenT
Definition: EDGetToken.h:33
muonisolation::CaloExtractor::theThreshold_H
double theThreshold_H
Definition: CaloExtractor.h:47
hgcalTowerProducer_cfi.tower
tower
Definition: hgcalTowerProducer_cfi.py:4
muonisolation::CaloExtractor::CaloExtractor
CaloExtractor()
Definition: CaloExtractor.h:22
Track.h
TrackFwd.h
muonisolation::CaloExtractor::theThreshold_E
double theThreshold_E
Definition: CaloExtractor.h:46
muonisolation::CaloExtractor::theDR_Max
double theDR_Max
Definition: CaloExtractor.h:50
muonisolation::CaloExtractor::theVetoCollection
std::vector< DetId > theVetoCollection
Definition: CaloExtractor.h:55
muonisolation::CaloExtractor::theDR_Veto_E
double theDR_Veto_E
Definition: CaloExtractor.h:48
reco::Track
Definition: Track.h:27
Point3DBase< float, GlobalTag >
IsoDeposit.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
muonisolation::CaloExtractor::theWeight_E
double theWeight_E
Definition: CaloExtractor.h:44
IsoDepositExtractor.h
edm::ParameterSet
Definition: ParameterSet.h:47
tracks
const uint32_t *__restrict__ const HitContainer *__restrict__ TkSoA *__restrict__ tracks
Definition: CAHitNtupletGeneratorKernelsImpl.h:159
muonisolation::CaloExtractor::theWeight_H
double theWeight_H
Definition: CaloExtractor.h:45
muonisolation::CaloExtractor::deposit
reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const override
Definition: CaloExtractor.cc:93
muonisolation::CaloExtractor::noiseHcal
double noiseHcal(const CaloTower &tower) const
Definition: CaloExtractor.cc:280
muonisolation::CaloExtractor::theCaloTowerCollectionToken
edm::EDGetTokenT< CaloTowerCollection > theCaloTowerCollectionToken
Definition: CaloExtractor.h:38
CaloTower
Definition: CaloTower.h:26
edm::EventSetup
Definition: EventSetup.h:58
muonisolation::CaloExtractor
Definition: CaloExtractor.h:20
muonisolation::CaloExtractor::vertexConstraintFlag_XY
bool vertexConstraintFlag_XY
Definition: CaloExtractor.h:51
muonisolation
Definition: CandViewExtractor.h:16
CaloTowerCollection.h
muonisolation::CaloExtractor::vertexConstraintFlag_Z
bool vertexConstraintFlag_Z
Definition: CaloExtractor.h:52
muonisolation::CaloExtractor::theDR_Veto_H
double theDR_Veto_H
Definition: CaloExtractor.h:49
ev
bool ev
Definition: Hydjet2Hadronizer.cc:95
muonisolation::CaloExtractor::fillVetos
void fillVetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &tracks) override
Definition: CaloExtractor.cc:36
reco::IsoDeposit
Definition: IsoDeposit.h:49
ConsumesCollector.h
reco::isodeposit::IsoDepositExtractor
Definition: IsoDepositExtractor.h:24
edm::Event
Definition: Event.h:73
muonisolation::CaloExtractor::MuonAtCaloPosition
static GlobalPoint MuonAtCaloPosition(const reco::Track &muon, const double bz, const GlobalPoint &endpos, bool fixVxy=false, bool fixVz=false)
Extrapolate muons to calorimeter-object positions.
Definition: CaloExtractor.cc:189
GlobalPoint.h
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:14
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
muonisolation::CaloExtractor::~CaloExtractor
~CaloExtractor() override
Definition: CaloExtractor.h:25