CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
BeamHaloAnalyzer Class Reference

#include <BeamHaloAnalyzer.h>

Inheritance diagram for BeamHaloAnalyzer:
DQMEDAnalyzer edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >

Public Member Functions

 BeamHaloAnalyzer (const edm::ParameterSet &)
 
 ~BeamHaloAnalyzer () override
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
void beginStream (edm::StreamID id) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer ()
 
void endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 

Private Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 

Private Attributes

edm::ESGetToken< CSCGeometry, MuonGeometryRecordcscGeomToken_
 
double DumpMET
 
std::string FolderName
 
MonitorElementhBeamHaloSummary_BXN
 
MonitorElementhBeamHaloSummary_Id
 
MonitorElementhCSCHaloData_FreeInverseBeta
 
MonitorElementhCSCHaloData_FreeInverseBetaVsSegmentdT
 
MonitorElementhCSCHaloData_HLHaloTriggers
 
MonitorElementhCSCHaloData_InnerMostTrackHitiPhi
 
MonitorElementhCSCHaloData_InnerMostTrackHitPhi
 
MonitorElementhCSCHaloData_InnerMostTrackHitR
 
MonitorElementhCSCHaloData_InnerMostTrackHitRMinusZ
 
MonitorElementhCSCHaloData_InnerMostTrackHitRPlusZ
 
MonitorElementhCSCHaloData_InnerMostTrackHitXY
 
MonitorElementhCSCHaloData_L1HaloTriggers
 
MonitorElementhCSCHaloData_L1HaloTriggersMEMinus
 
MonitorElementhCSCHaloData_L1HaloTriggersMEPlus
 
MonitorElementhCSCHaloData_NFlatHaloSegments
 
MonitorElementhCSCHaloData_NFlatSegmentsInBothEndcaps
 
MonitorElementhCSCHaloData_NOutOfTimeHits
 
MonitorElementhCSCHaloData_NOutOfTimeTriggers
 
MonitorElementhCSCHaloData_NOutOfTimeTriggersMEMinus
 
MonitorElementhCSCHaloData_NOutOfTimeTriggersMEPlus
 
MonitorElementhCSCHaloData_NOutOfTimeTriggersvsL1HaloExists
 
MonitorElementhCSCHaloData_NTracksSmallBeta
 
MonitorElementhCSCHaloData_NTracksSmallBetaAndSmalldT
 
MonitorElementhCSCHaloData_NTracksSmalldT
 
MonitorElementhCSCHaloData_NTracksSmalldTvsNHaloTracks
 
MonitorElementhCSCHaloData_SegmentdT
 
MonitorElementhCSCHaloData_SegmentsInBothEndcaps
 
MonitorElementhCSCHaloData_TrackMultiplicity
 
MonitorElementhCSCHaloData_TrackMultiplicityMEMinus
 
MonitorElementhCSCHaloData_TrackMultiplicityMEPlus
 
MonitorElementhEcalHaloData_PhiWedgeConstituents
 
MonitorElementhEcalHaloData_PhiWedgeEnergy
 
MonitorElementhEcalHaloData_PhiWedgeiPhi
 
MonitorElementhEcalHaloData_PhiWedgeMaxTime
 
MonitorElementhEcalHaloData_PhiWedgeMinTime
 
MonitorElementhEcalHaloData_PhiWedgeMinVsMaxTime
 
MonitorElementhEcalHaloData_PhiWedgeMultiplicity
 
MonitorElementhEcalHaloData_PhiWedgePlusZDirectionConfidence
 
MonitorElementhEcalHaloData_PhiWedgeZDirectionConfidence
 
MonitorElementhEcalHaloData_SuperClusterEnergy
 
MonitorElementhEcalHaloData_SuperClusterNHits
 
MonitorElementhEcalHaloData_SuperClusterPhiVsEta
 
MonitorElementhEcalHaloData_SuperClusterShowerShapes
 
MonitorElementhExtra_BXN
 
MonitorElementhExtra_CSCActivityWithMET
 
MonitorElementhExtra_CSCTrackChi2Ndof
 
MonitorElementhExtra_CSCTrackInnerOuterDEta
 
MonitorElementhExtra_CSCTrackInnerOuterDPhi
 
MonitorElementhExtra_CSCTrackNHits
 
MonitorElementhExtra_EcalToF
 
MonitorElementhExtra_EcalToF_HaloId
 
MonitorElementhExtra_HcalToF
 
MonitorElementhExtra_HcalToF_HaloId
 
MonitorElementhExtra_InnerMostTrackHitiPhi
 
MonitorElementhExtra_InnerMostTrackHitPhi
 
MonitorElementhExtra_InnerMostTrackHitR
 
MonitorElementhExtra_InnerMostTrackHitRMinusZ
 
MonitorElementhExtra_InnerMostTrackHitRPlusZ
 
MonitorElementhExtra_InnerMostTrackHitXY
 
MonitorElementhGlobalHaloData_HaloCorrectedMET
 
MonitorElementhGlobalHaloData_MatchedEcalPhiWedgeConstituents
 
MonitorElementhGlobalHaloData_MatchedEcalPhiWedgeEnergy
 
MonitorElementhGlobalHaloData_MatchedEcalPhiWedgeiPhi
 
MonitorElementhGlobalHaloData_MatchedEcalPhiWedgeMaxTime
 
MonitorElementhGlobalHaloData_MatchedEcalPhiWedgeMinTime
 
MonitorElementhGlobalHaloData_MatchedEcalPhiWedgeMultiplicity
 
MonitorElementhGlobalHaloData_MatchedEcalPhiWedgeZDirectionConfidence
 
MonitorElementhGlobalHaloData_MatchedHcalPhiWedgeConstituents
 
MonitorElementhGlobalHaloData_MatchedHcalPhiWedgeEnergy
 
MonitorElementhGlobalHaloData_MatchedHcalPhiWedgeiPhi
 
MonitorElementhGlobalHaloData_MatchedHcalPhiWedgeMaxTime
 
MonitorElementhGlobalHaloData_MatchedHcalPhiWedgeMinTime
 
MonitorElementhGlobalHaloData_MatchedHcalPhiWedgeMultiplicity
 
MonitorElementhGlobalHaloData_MatchedHcalPhiWedgeZDirectionConfidence
 
MonitorElementhGlobalHaloData_MExCorrection
 
MonitorElementhGlobalHaloData_MEyCorrection
 
MonitorElementhGlobalHaloData_RawMETMinusHaloCorrectedMET
 
MonitorElementhGlobalHaloData_RawMETOverSumEt
 
MonitorElementhGlobalHaloData_SumEtCorrection
 
MonitorElementhHcalHaloData_PhiWedgeConstituents
 
MonitorElementhHcalHaloData_PhiWedgeEnergy
 
MonitorElementhHcalHaloData_PhiWedgeiPhi
 
MonitorElementhHcalHaloData_PhiWedgeMaxTime
 
MonitorElementhHcalHaloData_PhiWedgeMinTime
 
MonitorElementhHcalHaloData_PhiWedgeMinVsMaxTime
 
MonitorElementhHcalHaloData_PhiWedgeMultiplicity
 
MonitorElementhHcalHaloData_PhiWedgePlusZDirectionConfidence
 
MonitorElementhHcalHaloData_PhiWedgeZDirectionConfidence
 
edm::EDGetTokenT< reco::MuonCollectionIT_BeamHaloMuon
 
edm::EDGetTokenT< reco::BeamHaloSummaryIT_BeamHaloSummary
 
edm::EDGetTokenT< edm::View< reco::Candidate > > IT_CaloTower
 
edm::EDGetTokenT< reco::MuonCollectionIT_CollisionMuon
 
edm::EDGetTokenT< reco::MuonCollectionIT_CollisionStandAloneMuon
 
edm::EDGetTokenT< reco::MuonCollectionIT_CosmicStandAloneMuon
 
edm::EDGetTokenT< reco::CSCHaloDataIT_CSCHaloData
 
edm::EDGetTokenT< CSCRecHit2DCollectionIT_CSCRecHit
 
edm::EDGetTokenT< CSCSegmentCollectionIT_CSCSegment
 
edm::EDGetTokenT< reco::MuonTimeExtraMapIT_CSCTimeMapToken
 
edm::EDGetTokenT< EBRecHitCollectionIT_EBRecHit
 
edm::EDGetTokenT< reco::EcalHaloDataIT_EcalHaloData
 
edm::EDGetTokenT< EERecHitCollectionIT_EERecHit
 
edm::EDGetTokenT< ESRecHitCollectionIT_ESRecHit
 
edm::EDGetTokenT< reco::GlobalHaloDataIT_GlobalHaloData
 
edm::EDGetTokenT< HBHERecHitCollectionIT_HBHERecHit
 
edm::EDGetTokenT< reco::HcalHaloDataIT_HcalHaloData
 
edm::EDGetTokenT< HFRecHitCollectionIT_HFRecHit
 
edm::EDGetTokenT< HORecHitCollectionIT_HORecHit
 
edm::InputTag IT_L1MuGMTReadout
 
edm::EDGetTokenT< reco::CaloMETCollectionIT_met
 
edm::EDGetTokenT< reco::PhotonCollectionIT_Photon
 
edm::EDGetTokenT< reco::SuperClusterCollectionIT_SuperCluster
 
std::ofstream * out
 
std::string OutputFileName
 
bool StandardDQM
 
std::string TextFileName
 
MuonSegmentMatcherTheMatcher
 
MuonServiceProxyTheService
 

Additional Inherited Members

- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
using CacheTypes = CacheContexts< T... >
 
using GlobalCache = typename CacheTypes::GlobalCache
 
using HasAbility = AbilityChecker< T... >
 
using InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache
 
using LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache
 
using LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache >
 
using LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache
 
using RunCache = typename CacheTypes::RunCache
 
using RunContext = RunContextT< RunCache, GlobalCache >
 
using RunSummaryCache = typename CacheTypes::RunSummaryCache
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static void globalEndJob (DQMEDAnalyzerGlobalCache const *)
 
static void globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context)
 
static void globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context)
 
static std::unique_ptr< DQMEDAnalyzerGlobalCacheinitializeGlobalCache (edm::ParameterSet const &)
 
- Protected Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

Definition at line 148 of file BeamHaloAnalyzer.h.

Constructor & Destructor Documentation

◆ BeamHaloAnalyzer()

BeamHaloAnalyzer::BeamHaloAnalyzer ( const edm::ParameterSet iConfig)
explicit

Definition at line 16 of file BeamHaloAnalyzer.cc.

References BeamHaloAnalyzer_cfi::DumpMET, deDxTools::esConsumes(), edm::ParameterSet::exists(), PixelVTXMonitor_cfi::FolderName, edm::ParameterSet::getParameter(), ProducerED_cfi::InputTag, edm::InputTag::label(), MuonSegmentMatcher_cff::MuonSegmentMatcher, MillePedeFileConverter_cfg::out, AlcaBeamMonitor_cfi::OutputFileName, BeamHaloAnalyzer_cfi::StandardDQM, AlCaHLTBitMon_QueryRunRegistry::string, and l1GtTextToRaw_cfi::TextFileName.

16  {
17  OutputFileName = iConfig.getParameter<std::string>("OutputFile");
18  TextFileName = iConfig.getParameter<std::string>("TextFile");
19 
20  if (!TextFileName.empty())
21  out = new std::ofstream(TextFileName.c_str());
22 
23  if (iConfig.exists(
24  "StandardDQM")) // If StandardDQM == true , coarse binning is used on selected (important) histograms
25  StandardDQM = iConfig.getParameter<bool>("StandardDQM");
26  else
27  StandardDQM = false;
28 
29  //Get Input Tags
30  //Digi Level
31  IT_L1MuGMTReadout = iConfig.getParameter<edm::InputTag>("L1MuGMTReadoutLabel");
32 
33  //RecHit Level
34  IT_CSCRecHit = consumes<CSCRecHit2DCollection>(iConfig.getParameter<edm::InputTag>("CSCRecHitLabel"));
35  IT_EBRecHit = consumes<EBRecHitCollection>(iConfig.getParameter<edm::InputTag>("EBRecHitLabel"));
36  IT_EERecHit = consumes<EERecHitCollection>(iConfig.getParameter<edm::InputTag>("EERecHitLabel"));
37  IT_ESRecHit = consumes<ESRecHitCollection>(iConfig.getParameter<edm::InputTag>("ESRecHitLabel"));
38  IT_HBHERecHit = consumes<HBHERecHitCollection>(iConfig.getParameter<edm::InputTag>("HBHERecHitLabel"));
39  IT_HFRecHit = consumes<HFRecHitCollection>(iConfig.getParameter<edm::InputTag>("HFRecHitLabel"));
40  IT_HORecHit = consumes<HORecHitCollection>(iConfig.getParameter<edm::InputTag>("HORecHitLabel"));
41 
42  //Higher Level Reco
43  IT_CSCSegment = consumes<CSCSegmentCollection>(iConfig.getParameter<edm::InputTag>("CSCSegmentLabel"));
45  consumes<reco::MuonCollection>(iConfig.getParameter<edm::InputTag>("CosmicStandAloneMuonLabel"));
46  IT_BeamHaloMuon = consumes<reco::MuonCollection>(iConfig.getParameter<edm::InputTag>("BeamHaloMuonLabel"));
47  IT_CollisionMuon = consumes<reco::MuonCollection>(iConfig.getParameter<edm::InputTag>("CollisionMuonLabel"));
49  consumes<reco::MuonCollection>(iConfig.getParameter<edm::InputTag>("CollisionStandAloneMuonLabel"));
50  IT_met = consumes<reco::CaloMETCollection>(iConfig.getParameter<edm::InputTag>("metLabel"));
51  IT_CaloTower = consumes<edm::View<reco::Candidate> >(iConfig.getParameter<edm::InputTag>("CaloTowerLabel"));
52  IT_SuperCluster = consumes<SuperClusterCollection>(iConfig.getParameter<edm::InputTag>("SuperClusterLabel"));
53  IT_Photon = consumes<reco::PhotonCollection>(iConfig.getParameter<edm::InputTag>("PhotonLabel"));
54 
55  //Halo Data
56  IT_CSCHaloData = consumes<reco::CSCHaloData>(iConfig.getParameter<edm::InputTag>("CSCHaloDataLabel"));
57  IT_EcalHaloData = consumes<reco::EcalHaloData>(iConfig.getParameter<edm::InputTag>("EcalHaloDataLabel"));
58  IT_HcalHaloData = consumes<reco::HcalHaloData>(iConfig.getParameter<edm::InputTag>("HcalHaloDataLabel"));
59  IT_GlobalHaloData = consumes<reco::GlobalHaloData>(iConfig.getParameter<edm::InputTag>("GlobalHaloDataLabel"));
60  IT_BeamHaloSummary = consumes<BeamHaloSummary>(iConfig.getParameter<edm::InputTag>("BeamHaloSummaryLabel"));
61 
63 
64  edm::InputTag CosmicSAMuonLabel = iConfig.getParameter<edm::InputTag>("CosmicStandAloneMuonLabel");
65  IT_CSCTimeMapToken = consumes<reco::MuonTimeExtraMap>(edm::InputTag(CosmicSAMuonLabel.label(), std::string("csc")));
66  FolderName = iConfig.getParameter<std::string>("folderName");
67  DumpMET = iConfig.getParameter<double>("DumpMET");
68 
69  //Muon to Segment Matching
70  edm::ParameterSet matchParameters = iConfig.getParameter<edm::ParameterSet>("MatchParameters");
71  edm::ConsumesCollector iC = consumesCollector();
72  TheMatcher = new MuonSegmentMatcher(matchParameters, iC);
73 }
std::string FolderName
edm::EDGetTokenT< reco::PhotonCollection > IT_Photon
ESGetTokenH3DDVariant esConsumes(std::string const &Record, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
edm::EDGetTokenT< edm::View< reco::Candidate > > IT_CaloTower
std::string TextFileName
edm::EDGetTokenT< HBHERecHitCollection > IT_HBHERecHit
edm::ESGetToken< CSCGeometry, MuonGeometryRecord > cscGeomToken_
std::ofstream * out
edm::EDGetTokenT< reco::GlobalHaloData > IT_GlobalHaloData
bool exists(std::string const &parameterName) const
checks if a parameter exists
edm::EDGetTokenT< reco::BeamHaloSummary > IT_BeamHaloSummary
edm::EDGetTokenT< reco::CSCHaloData > IT_CSCHaloData
edm::EDGetTokenT< EERecHitCollection > IT_EERecHit
std::string const & label() const
Definition: InputTag.h:36
edm::EDGetTokenT< CSCSegmentCollection > IT_CSCSegment
edm::EDGetTokenT< ESRecHitCollection > IT_ESRecHit
edm::EDGetTokenT< reco::MuonCollection > IT_BeamHaloMuon
edm::EDGetTokenT< HORecHitCollection > IT_HORecHit
edm::InputTag IT_L1MuGMTReadout
edm::EDGetTokenT< CSCRecHit2DCollection > IT_CSCRecHit
MuonSegmentMatcher * TheMatcher
edm::EDGetTokenT< reco::MuonTimeExtraMap > IT_CSCTimeMapToken
edm::EDGetTokenT< reco::EcalHaloData > IT_EcalHaloData
edm::EDGetTokenT< reco::CaloMETCollection > IT_met
edm::EDGetTokenT< reco::MuonCollection > IT_CollisionMuon
edm::EDGetTokenT< reco::SuperClusterCollection > IT_SuperCluster
edm::EDGetTokenT< HFRecHitCollection > IT_HFRecHit
edm::EDGetTokenT< reco::MuonCollection > IT_CollisionStandAloneMuon
std::string OutputFileName
edm::EDGetTokenT< EBRecHitCollection > IT_EBRecHit
edm::EDGetTokenT< reco::HcalHaloData > IT_HcalHaloData
edm::EDGetTokenT< reco::MuonCollection > IT_CosmicStandAloneMuon

◆ ~BeamHaloAnalyzer()

BeamHaloAnalyzer::~BeamHaloAnalyzer ( )
override

Definition at line 879 of file BeamHaloAnalyzer.cc.

879 {}

Member Function Documentation

◆ analyze()

void BeamHaloAnalyzer::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 320 of file BeamHaloAnalyzer.cc.

References angle(), edm::SortedCollection< T, SORT >::begin(), reco::HaloData::both, MuonSubdetId::CSC, reco::BeamHaloSummary::CSCLooseHaloId(), reco::BeamHaloSummary::CSCTightHaloId(), reco::GlobalHaloData::DeltaMEx(), reco::GlobalHaloData::DeltaMEy(), BeamHaloAnalyzer_cfi::DumpMET, reco::BeamHaloSummary::EcalLooseHaloId(), reco::BeamHaloSummary::EcalTightHaloId(), edm::SortedCollection< T, SORT >::end(), CSCDetId::endcap(), PV3DBase< T, PVType, FrameType >::eta(), reco::TrackBase::eta(), edm::EventID::event(), reco::Track::extra(), reco::MuonTimeExtra::freeInverseBeta(), reco::GlobalHaloData::GetCorrectedCaloMET(), edm::EventSetup::getHandle(), reco::GlobalHaloData::GetMatchedEcalPhiWedges(), reco::GlobalHaloData::GetMatchedHcalPhiWedges(), reco::EcalHaloData::GetPhiWedges(), reco::HcalHaloData::GetPhiWedges(), reco::EcalHaloData::GetShowerShapesAngle(), reco::EcalHaloData::GetShowerShapesRoundness(), reco::EcalHaloData::GetSuperClusters(), reco::BeamHaloSummary::GlobalLooseHaloId(), reco::BeamHaloSummary::GlobalTightHaloId(), reco::BeamHaloSummary::HcalLooseHaloId(), reco::BeamHaloSummary::HcalTightHaloId(), mps_fire::i, LEDCalibrationChannels::ieta, iEvent, reco::Track::innerPosition(), LEDCalibrationChannels::iphi, edm::HandleBase::isValid(), dqmiolumiharvest::j, reco::BeamHaloSummary::LooseId(), mix_E10TeV_L13E31_BX432_cfi::Lumi, reco::HaloData::minus, DetId::Muon, dqmiodumpmetadata::n, reco::TrackBase::normalizedChi2(), reco::TrackBase::numberOfValidHits(), MillePedeFileConverter_cfg::out, reco::Track::outerPosition(), PV3DBase< T, PVType, FrameType >::phi(), Phi_To_iPhi(), reco::HaloData::plus, edm::Handle< T >::product(), reco::LeafCandidate::pt(), nanoDQM_cfi::RawMET, edm::RefVector< C, T, F >::size(), BeamHaloAnalyzer_cfi::StandardDQM, GeomDet::surface(), l1GtTextToRaw_cfi::TextFileName, reco::BeamHaloSummary::TightId(), protons_cff::time, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

320  {
321  EventID TheEvent = iEvent.id();
322  int BXN = iEvent.bunchCrossing();
323  bool Dump = !TextFileName.empty();
324  edm::EventNumber_t TheEventNumber = TheEvent.event();
325  edm::LuminosityBlockNumber_t Lumi = iEvent.luminosityBlock();
326  edm::RunNumber_t Run = iEvent.run();
327 
328  //Get CSC Geometry
329  const auto& TheCSCGeometry = iSetup.getHandle(cscGeomToken_);
330  //Note - removed getting calogeometry since it was unused
331  //Get Stand-alone Muons from Cosmic Muon Reconstruction
333  iEvent.getByToken(IT_CosmicStandAloneMuon, TheCosmics);
335  iEvent.getByToken(IT_CSCTimeMapToken, TheCSCTimeMap);
336  bool CSCTrackPlus = false;
337  bool CSCTrackMinus = false;
338  int imucount = 0;
339  if (TheCosmics.isValid()) {
340  for (reco::MuonCollection::const_iterator iMuon = TheCosmics->begin(); iMuon != TheCosmics->end();
341  iMuon++, imucount++) {
342  reco::TrackRef Track = iMuon->outerTrack();
343  if (!Track)
344  continue;
345 
346  if (!CSCTrackPlus || !CSCTrackMinus) {
347  if (Track->eta() > 0 || Track->outerPosition().z() > 0 || Track->innerPosition().z() > 0)
348  CSCTrackPlus = true;
349  else if (Track->eta() < 0 || Track->outerPosition().z() < 0 || Track->innerPosition().z() < 0)
350  CSCTrackMinus = true;
351  }
352 
353  float innermost_phi = 0.;
354  float outermost_phi = 0.;
355  float innermost_z = 99999.;
356  float outermost_z = 0.;
357  float innermost_eta = 0.;
358  float outermost_eta = 0.;
359  float innermost_x = 0.;
360  float innermost_y = 0.;
361  float innermost_r = 0.;
362  for (unsigned int j = 0; j < Track->extra()->recHitsSize(); j++) {
363  auto hit = Track->extra()->recHitRef(j);
364  DetId TheDetUnitId(hit->geographicalId());
365  if (TheDetUnitId.det() != DetId::Muon)
366  continue;
367  if (TheDetUnitId.subdetId() != MuonSubdetId::CSC)
368  continue;
369 
370  const GeomDetUnit* TheUnit = TheCSCGeometry->idToDetUnit(TheDetUnitId);
371  LocalPoint TheLocalPosition = hit->localPosition();
372  const BoundPlane& TheSurface = TheUnit->surface();
373  const GlobalPoint TheGlobalPosition = TheSurface.toGlobal(TheLocalPosition);
374 
375  float z = TheGlobalPosition.z();
376  if (TMath::Abs(z) < innermost_z) {
377  innermost_phi = TheGlobalPosition.phi();
378  innermost_eta = TheGlobalPosition.eta();
379  innermost_z = TheGlobalPosition.z();
380  innermost_x = TheGlobalPosition.x();
381  innermost_y = TheGlobalPosition.y();
382  innermost_r = TMath::Sqrt(innermost_x * innermost_x + innermost_y * innermost_y);
383  }
384  if (TMath::Abs(z) > outermost_z) {
385  outermost_phi = TheGlobalPosition.phi();
386  outermost_eta = TheGlobalPosition.eta();
387  outermost_z = TheGlobalPosition.z();
388  }
389  }
390  float dphi = TMath::Abs(outermost_phi - innermost_phi);
391  float deta = TMath::Abs(outermost_eta - innermost_eta);
396  hExtra_InnerMostTrackHitR->Fill(innermost_r);
397  hExtra_InnerMostTrackHitPhi->Fill(innermost_phi);
398  if (!StandardDQM) {
399  hExtra_InnerMostTrackHitXY->Fill(innermost_x, innermost_y);
401  if (innermost_z > 0)
402  hExtra_InnerMostTrackHitRPlusZ->Fill(innermost_z, innermost_r);
403  else
404  hExtra_InnerMostTrackHitRMinusZ->Fill(innermost_z, innermost_r);
405  }
406 
407  std::vector<const CSCSegment*> MatchedSegments = TheMatcher->matchCSC(*Track, iEvent);
408  // Find the inner and outer segments separately in case they don't agree completely with recHits
409  // Plan for the possibility segments in both endcaps
410  float InnerSegmentTime[2] = {0, 0};
411  float OuterSegmentTime[2] = {0, 0};
412  float innermost_seg_z[2] = {1500, 1500};
413  float outermost_seg_z[2] = {0, 0};
414  for (std::vector<const CSCSegment*>::const_iterator segment = MatchedSegments.begin();
415  segment != MatchedSegments.end();
416  ++segment) {
417  CSCDetId TheCSCDetId((*segment)->cscDetId());
418  const CSCChamber* TheCSCChamber = TheCSCGeometry->chamber(TheCSCDetId);
419  LocalPoint TheLocalPosition = (*segment)->localPosition();
420  const GlobalPoint TheGlobalPosition = TheCSCChamber->toGlobal(TheLocalPosition);
421  float z = TheGlobalPosition.z();
422  int TheEndcap = TheCSCDetId.endcap();
423  if (TMath::Abs(z) < innermost_seg_z[TheEndcap - 1]) {
424  innermost_seg_z[TheEndcap - 1] = TMath::Abs(z);
425  InnerSegmentTime[TheEndcap - 1] = (*segment)->time();
426  }
427  if (TMath::Abs(z) > outermost_seg_z[TheEndcap - 1]) {
428  outermost_seg_z[TheEndcap - 1] = TMath::Abs(z);
429  OuterSegmentTime[TheEndcap - 1] = (*segment)->time();
430  }
431  }
432 
433  float dT_Segment = 0; // default safe value, looks like collision muon
434  if (innermost_seg_z[0] < outermost_seg_z[0]) // two segments in ME+
435  dT_Segment = OuterSegmentTime[0] - InnerSegmentTime[0];
436  if (innermost_seg_z[1] < outermost_seg_z[1]) // two segments in ME-
437  {
438  // replace the measurement if there weren't segments in ME+ or
439  // if the track in ME- has timing more consistent with an incoming particle
440  if (dT_Segment == 0.0 || OuterSegmentTime[1] - InnerSegmentTime[1] < dT_Segment)
441  dT_Segment = OuterSegmentTime[1] - InnerSegmentTime[1];
442  }
443  hCSCHaloData_SegmentdT->Fill(dT_Segment);
444 
445  // Analyze the MuonTimeExtra information
446  reco::MuonRef muonR(TheCosmics, imucount);
447  if (TheCSCTimeMap.isValid()) {
448  const reco::MuonTimeExtraMap& timeMapCSC = *TheCSCTimeMap;
449  reco::MuonTimeExtra timecsc = timeMapCSC[muonR];
450  float freeInverseBeta = timecsc.freeInverseBeta();
451  hCSCHaloData_FreeInverseBeta->Fill(freeInverseBeta);
452  hCSCHaloData_FreeInverseBetaVsSegmentdT->Fill(dT_Segment, freeInverseBeta);
453  }
454  }
455  }
456 
457  //Get CSC Segments
458  edm::Handle<CSCSegmentCollection> TheCSCSegments;
459  iEvent.getByToken(IT_CSCSegment, TheCSCSegments);
460 
461  // Group segments according to endcaps
462  std::vector<CSCSegment> vCSCSegments_Plus;
463  std::vector<CSCSegment> vCSCSegments_Minus;
464 
465  bool CSCSegmentPlus = false;
466  bool CSCSegmentMinus = false;
467  if (TheCSCSegments.isValid()) {
468  for (CSCSegmentCollection::const_iterator iSegment = TheCSCSegments->begin(); iSegment != TheCSCSegments->end();
469  iSegment++) {
470  const std::vector<CSCRecHit2D> vCSCRecHits = iSegment->specificRecHits();
471  CSCDetId iDetId = (CSCDetId)(*iSegment).cscDetId();
472 
473  if (iDetId.endcap() == 1)
474  vCSCSegments_Plus.push_back(*iSegment);
475  else
476  vCSCSegments_Minus.push_back(*iSegment);
477  }
478  }
479 
480  // Are there segments on the plus/minus side?
481  if (!vCSCSegments_Plus.empty())
482  CSCSegmentPlus = true;
483  if (!vCSCSegments_Minus.empty())
484  CSCSegmentMinus = true;
485 
486  //Get CSC RecHits
487  Handle<CSCRecHit2DCollection> TheCSCRecHits;
488  iEvent.getByToken(IT_CSCRecHit, TheCSCRecHits);
489  bool CSCRecHitPlus = false;
490  bool CSCRecHitMinus = false;
491  if (TheCSCRecHits.isValid()) {
492  for (CSCRecHit2DCollection::const_iterator iCSCRecHit = TheCSCRecHits->begin(); iCSCRecHit != TheCSCRecHits->end();
493  iCSCRecHit++) {
494  DetId TheDetUnitId(iCSCRecHit->geographicalId());
495  const GeomDetUnit* TheUnit = (*TheCSCGeometry).idToDetUnit(TheDetUnitId);
496  LocalPoint TheLocalPosition = iCSCRecHit->localPosition();
497  const BoundPlane& TheSurface = TheUnit->surface();
498  GlobalPoint TheGlobalPosition = TheSurface.toGlobal(TheLocalPosition);
499 
500  //Are there hits on the plus/minus side?
501  if (TheGlobalPosition.z() > 0)
502  CSCRecHitPlus = true;
503  else
504  CSCRecHitMinus = true;
505  }
506  }
507 
508  //Get EB RecHits
509  edm::Handle<EBRecHitCollection> TheEBRecHits;
510  iEvent.getByToken(IT_EBRecHit, TheEBRecHits);
511  int EBHits = 0;
512  if (TheEBRecHits.isValid()) {
513  for (EBRecHitCollection::const_iterator iEBRecHit = TheEBRecHits->begin(); iEBRecHit != TheEBRecHits->end();
514  iEBRecHit++) {
515  if (iEBRecHit->energy() < 0.5)
516  continue;
517  DetId id = DetId(iEBRecHit->id());
518  EBDetId EcalId(id.rawId());
519  int ieta = EcalId.ieta();
520  if (!StandardDQM)
521  hExtra_EcalToF->Fill(ieta, iEBRecHit->time());
522  EBHits++;
523  }
524  }
525 
526  //Get HB/HE RecHits
527  edm::Handle<HBHERecHitCollection> TheHBHERecHits;
528  iEvent.getByToken(IT_HBHERecHit, TheHBHERecHits);
529  if (TheHBHERecHits.isValid()) {
530  for (HBHERecHitCollection::const_iterator iHBHERecHit = TheHBHERecHits->begin();
531  iHBHERecHit != TheHBHERecHits->end();
532  iHBHERecHit++) {
533  if (iHBHERecHit->energy() < 1.)
534  continue;
535  HcalDetId id = HcalDetId(iHBHERecHit->id());
536  if (!StandardDQM)
537  hExtra_HcalToF->Fill(id.ieta(), iHBHERecHit->time());
538  }
539  }
540 
541  //Get MET
543  iEvent.getByToken(IT_met, TheCaloMET);
544 
545  //Get CSCHaloData
546  edm::Handle<reco::CSCHaloData> TheCSCDataHandle;
547  iEvent.getByToken(IT_CSCHaloData, TheCSCDataHandle);
548  int TheHaloOrigin = 0;
549  if (TheCSCDataHandle.isValid()) {
550  const CSCHaloData CSCData = (*TheCSCDataHandle.product());
551  if (CSCData.NumberOfOutOfTimeTriggers(HaloData::plus) && !CSCData.NumberOfOutOfTimeTriggers(HaloData::minus))
552  TheHaloOrigin = 1;
553  else if (CSCData.NumberOfOutOfTimeTriggers(HaloData::minus) && !CSCData.NumberOfOutOfTimeTriggers(HaloData::plus))
554  TheHaloOrigin = -1;
555 
556  for (std::vector<GlobalPoint>::const_iterator i = CSCData.GetCSCTrackImpactPositions().begin();
557  i != CSCData.GetCSCTrackImpactPositions().end();
558  i++) {
559  float r = TMath::Sqrt(i->x() * i->x() + i->y() * i->y());
560  if (!StandardDQM) {
563  if (i->z() > 0)
565  else
567  }
570  }
573  hCSCHaloData_L1HaloTriggers->Fill(CSCData.NumberOfHaloTriggers(HaloData::both));
574  hCSCHaloData_HLHaloTriggers->Fill(CSCData.CSCHaloHLTAccept());
577  hCSCHaloData_TrackMultiplicity->Fill(CSCData.GetTracks().size());
581  hCSCHaloData_NOutOfTimeHits->Fill(CSCData.NOutOfTimeHits());
583  CSCData.NumberOfHaloTriggers(HaloData::both) > 0);
584  hCSCHaloData_NTracksSmalldT->Fill(CSCData.NTracksSmalldT());
585  hCSCHaloData_NTracksSmallBeta->Fill(CSCData.NTracksSmallBeta());
586  hCSCHaloData_NTracksSmallBetaAndSmalldT->Fill(CSCData.NTracksSmallBetaAndSmalldT());
587  hCSCHaloData_NTracksSmalldTvsNHaloTracks->Fill(CSCData.GetTracks().size(), CSCData.NTracksSmalldT());
588  // MLR
589  hCSCHaloData_NFlatHaloSegments->Fill(CSCData.NFlatHaloSegments());
590  hCSCHaloData_SegmentsInBothEndcaps->Fill(CSCData.GetSegmentsInBothEndcaps());
591  if (CSCData.GetSegmentsInBothEndcaps())
593  // End MLR
594  }
595 
596  //Get EcalHaloData
597  edm::Handle<reco::EcalHaloData> TheEcalHaloData;
598  iEvent.getByToken(IT_EcalHaloData, TheEcalHaloData);
599  if (TheEcalHaloData.isValid()) {
600  const EcalHaloData EcalData = (*TheEcalHaloData.product());
601  std::vector<PhiWedge> EcalWedges = EcalData.GetPhiWedges();
602  for (std::vector<PhiWedge>::const_iterator iWedge = EcalWedges.begin(); iWedge != EcalWedges.end(); iWedge++) {
603  if (!StandardDQM) {
604  hEcalHaloData_PhiWedgeEnergy->Fill(iWedge->Energy());
605  hEcalHaloData_PhiWedgeMinTime->Fill(iWedge->MinTime());
606  hEcalHaloData_PhiWedgeMaxTime->Fill(iWedge->MaxTime());
607  hEcalHaloData_PhiWedgeMinVsMaxTime->Fill(iWedge->MinTime(), iWedge->MaxTime());
608  hEcalHaloData_PhiWedgePlusZDirectionConfidence->Fill(iWedge->PlusZDirectionConfidence());
609  hEcalHaloData_PhiWedgeiPhi->Fill(iWedge->iPhi());
610  }
611  hEcalHaloData_PhiWedgeZDirectionConfidence->Fill(iWedge->ZDirectionConfidence());
612  hEcalHaloData_PhiWedgeConstituents->Fill(iWedge->NumberOfConstituents());
613  }
614 
615  hEcalHaloData_PhiWedgeMultiplicity->Fill(EcalWedges.size());
616 
617  edm::ValueMap<float> vm_Angle = EcalData.GetShowerShapesAngle();
618  edm::ValueMap<float> vm_Roundness = EcalData.GetShowerShapesRoundness();
619  //Access selected SuperClusters
620  for (unsigned int n = 0; n < EcalData.GetSuperClusters().size(); n++) {
622  float angle = vm_Angle[cluster];
623  float roundness = vm_Roundness[cluster];
625  hEcalHaloData_SuperClusterNHits->Fill(cluster->size());
626  hEcalHaloData_SuperClusterEnergy->Fill(cluster->energy());
627 
628  if (!StandardDQM) {
629  hEcalHaloData_SuperClusterPhiVsEta->Fill(cluster->eta(), cluster->phi());
630  }
631  }
632  }
633 
634  //Get HcalHaloData
635  edm::Handle<reco::HcalHaloData> TheHcalHaloData;
636  iEvent.getByToken(IT_HcalHaloData, TheHcalHaloData);
637  if (TheHcalHaloData.isValid()) {
638  const HcalHaloData HcalData = (*TheHcalHaloData.product());
639  std::vector<PhiWedge> HcalWedges = HcalData.GetPhiWedges();
640  hHcalHaloData_PhiWedgeMultiplicity->Fill(HcalWedges.size());
641  for (std::vector<PhiWedge>::const_iterator iWedge = HcalWedges.begin(); iWedge != HcalWedges.end(); iWedge++) {
642  if (!StandardDQM) {
643  hHcalHaloData_PhiWedgeEnergy->Fill(iWedge->Energy());
644  hHcalHaloData_PhiWedgeMinTime->Fill(iWedge->MinTime());
645  hHcalHaloData_PhiWedgeMaxTime->Fill(iWedge->MaxTime());
646  hHcalHaloData_PhiWedgePlusZDirectionConfidence->Fill(iWedge->PlusZDirectionConfidence());
647  hHcalHaloData_PhiWedgeMinVsMaxTime->Fill(iWedge->MinTime(), iWedge->MaxTime());
648  hHcalHaloData_PhiWedgeiPhi->Fill(iWedge->iPhi());
649  }
650 
651  hHcalHaloData_PhiWedgeConstituents->Fill(iWedge->NumberOfConstituents());
652  hHcalHaloData_PhiWedgeZDirectionConfidence->Fill(iWedge->ZDirectionConfidence());
653  }
654  }
655 
656  if (!StandardDQM) {
657  //Get GlobalHaloData
658  edm::Handle<reco::GlobalHaloData> TheGlobalHaloData;
659  iEvent.getByToken(IT_GlobalHaloData, TheGlobalHaloData);
660  if (TheGlobalHaloData.isValid()) {
661  const GlobalHaloData GlobalData = (*TheGlobalHaloData.product());
662  if (TheCaloMET.isValid()) {
663  // Get Raw Uncorrected CaloMET
664  const CaloMETCollection* calometcol = TheCaloMET.product();
665  const CaloMET* RawMET = &(calometcol->front());
666 
667  // Get BeamHalo Corrected CaloMET
668  const CaloMET CorrectedMET = GlobalData.GetCorrectedCaloMET(*RawMET);
671  hGlobalHaloData_HaloCorrectedMET->Fill(CorrectedMET.pt());
673  if (RawMET->sumEt())
675  }
676 
677  // Get Matched Hcal Phi Wedges
678  std::vector<PhiWedge> HcalWedges = GlobalData.GetMatchedHcalPhiWedges();
680  // Loop over Matched Hcal Phi Wedges
681  for (std::vector<PhiWedge>::const_iterator iWedge = HcalWedges.begin(); iWedge != HcalWedges.end(); iWedge++) {
683  hGlobalHaloData_MatchedHcalPhiWedgeConstituents->Fill(iWedge->NumberOfConstituents());
687  hGlobalHaloData_MatchedHcalPhiWedgeZDirectionConfidence->Fill(iWedge->ZDirectionConfidence());
688  if (TheHBHERecHits.isValid()) {
689  for (HBHERecHitCollection::const_iterator iHBHERecHit = TheHBHERecHits->begin();
690  iHBHERecHit != TheHBHERecHits->end();
691  iHBHERecHit++) {
692  HcalDetId id = HcalDetId(iHBHERecHit->id());
693  int iphi = id.iphi();
694  if (iphi != iWedge->iPhi())
695  continue;
696  if (iHBHERecHit->energy() < 1.0)
697  continue; // Otherwise there are thousands of hits per event (even with negative energies)
698 
699  float time = iHBHERecHit->time();
700  int ieta = id.ieta();
702  }
703  }
704  }
705 
706  // Get Matched Hcal Phi Wedges
707  std::vector<PhiWedge> EcalWedges = GlobalData.GetMatchedEcalPhiWedges();
709  for (std::vector<PhiWedge>::const_iterator iWedge = EcalWedges.begin(); iWedge != EcalWedges.end(); iWedge++) {
711  hGlobalHaloData_MatchedEcalPhiWedgeConstituents->Fill(iWedge->NumberOfConstituents());
715  hGlobalHaloData_MatchedEcalPhiWedgeZDirectionConfidence->Fill(iWedge->ZDirectionConfidence());
716  if (TheEBRecHits.isValid()) {
717  for (EBRecHitCollection::const_iterator iEBRecHit = TheEBRecHits->begin(); iEBRecHit != TheEBRecHits->end();
718  iEBRecHit++) {
719  if (iEBRecHit->energy() < 0.5)
720  continue;
721  DetId id = DetId(iEBRecHit->id());
722  EBDetId EcalId(id.rawId());
723  int iPhi = EcalId.iphi();
724  iPhi = (iPhi - 1) / 5 + 1;
725  if (iPhi != iWedge->iPhi())
726  continue;
727  hExtra_EcalToF_HaloId->Fill(EcalId.ieta(), iEBRecHit->time());
728  }
729  }
730  }
731  }
732  }
733 
734  // Get BeamHaloSummary
735  edm::Handle<BeamHaloSummary> TheBeamHaloSummary;
736  iEvent.getByToken(IT_BeamHaloSummary, TheBeamHaloSummary);
737  if (TheBeamHaloSummary.isValid()) {
738  const BeamHaloSummary TheSummary = (*TheBeamHaloSummary.product());
739  if (TheSummary.CSCLooseHaloId()) {
741  if (!StandardDQM)
742  hBeamHaloSummary_BXN->Fill(1, BXN);
743  if (Dump)
744  *out << std::setw(15) << "CSCLoose" << std::setw(15) << Run << std::setw(15) << Lumi << std::setw(15)
745  << TheEventNumber << std::endl;
746  }
747  if (TheSummary.CSCTightHaloId()) {
749  if (!StandardDQM)
750  hBeamHaloSummary_BXN->Fill(2, BXN);
751  }
752  if (TheSummary.EcalLooseHaloId()) {
754  if (!StandardDQM)
755  hBeamHaloSummary_BXN->Fill(3, BXN);
756  if (Dump)
757  *out << std::setw(15) << "EcalLoose" << std::setw(15) << Run << std::setw(15) << Lumi << std::setw(15)
758  << TheEventNumber << std::endl;
759  }
760  if (TheSummary.EcalTightHaloId()) {
762  if (!StandardDQM)
763  hBeamHaloSummary_BXN->Fill(4, BXN);
764  }
765  if (TheSummary.HcalLooseHaloId()) {
767  if (!StandardDQM)
768  hBeamHaloSummary_BXN->Fill(5, BXN);
769  if (Dump)
770  *out << std::setw(15) << "HcalLoose" << std::setw(15) << Run << std::setw(15) << Lumi << std::setw(15)
771  << TheEventNumber << std::endl;
772  }
773  if (TheSummary.HcalTightHaloId()) {
775  if (!StandardDQM)
776  hBeamHaloSummary_BXN->Fill(6, BXN);
777  }
778  if (TheSummary.GlobalLooseHaloId()) {
780  if (!StandardDQM)
781  hBeamHaloSummary_BXN->Fill(7, BXN);
782  if (Dump)
783  *out << std::setw(15) << "GlobalLoose" << std::setw(15) << Run << std::setw(15) << Lumi << std::setw(15)
784  << TheEventNumber << std::endl;
785  }
786  if (TheSummary.GlobalTightHaloId()) {
788  if (!StandardDQM)
789  hBeamHaloSummary_BXN->Fill(8, BXN);
790  }
791  if (TheSummary.LooseId()) {
793  if (!StandardDQM)
794  hBeamHaloSummary_BXN->Fill(9, BXN);
795  }
796  if (TheSummary.TightId()) {
798  if (!StandardDQM)
799  hBeamHaloSummary_BXN->Fill(10, BXN);
800  }
801  if (!TheSummary.EcalLooseHaloId() && !TheSummary.HcalLooseHaloId() && !TheSummary.CSCLooseHaloId() &&
802  !TheSummary.GlobalLooseHaloId()) {
804  if (!StandardDQM)
805  hBeamHaloSummary_BXN->Fill(11, BXN);
806  }
807  }
808 
809  if (TheCaloMET.isValid()) {
810  const CaloMETCollection* calometcol = TheCaloMET.product();
811  const CaloMET* calomet = &(calometcol->front());
812 
813  if (calomet->pt() > DumpMET)
814  if (Dump)
815  *out << std::setw(15) << "HighMET" << std::setw(15) << Run << std::setw(15) << Lumi << std::setw(15)
816  << TheEventNumber << std::endl;
817 
818  //Fill CSC Activity Plot
819  if (calomet->pt() > 15.0) {
820  if (TheHaloOrigin > 0) {
821  if (CSCTrackPlus && CSCTrackMinus)
823  else if (CSCTrackPlus && CSCSegmentMinus)
825  else if (CSCTrackPlus && CSCRecHitMinus)
827  else if (CSCTrackPlus)
829  else if (CSCSegmentPlus && CSCTrackMinus)
831  else if (CSCSegmentPlus && CSCSegmentMinus)
833  else if (CSCSegmentPlus && CSCRecHitMinus)
835  else if (CSCSegmentPlus)
837  else if (CSCRecHitPlus && CSCTrackMinus)
839  else if (CSCRecHitPlus && CSCSegmentMinus)
841  else if (CSCRecHitPlus && CSCRecHitMinus)
843  else if (CSCRecHitPlus)
845  else
847  } else if (TheHaloOrigin < 0) {
848  if (CSCTrackMinus && CSCTrackPlus)
850  else if (CSCTrackMinus && CSCSegmentPlus)
852  else if (CSCTrackMinus && CSCRecHitPlus)
854  else if (CSCTrackMinus)
856  else if (CSCSegmentMinus && CSCTrackPlus)
858  else if (CSCSegmentMinus && CSCSegmentPlus)
860  else if (CSCSegmentMinus && CSCRecHitPlus)
862  else if (CSCSegmentMinus)
864  else if (CSCRecHitMinus && CSCTrackPlus)
866  else if (CSCRecHitMinus && CSCSegmentPlus)
868  else if (CSCRecHitMinus && CSCRecHitPlus)
870  else if (CSCRecHitMinus)
872  else
874  }
875  }
876  }
877 }
MonitorElement * hEcalHaloData_SuperClusterShowerShapes
MonitorElement * hCSCHaloData_NOutOfTimeTriggersMEMinus
edm::ValueMap< float > & GetShowerShapesRoundness()
Definition: EcalHaloData.h:41
MonitorElement * hHcalHaloData_PhiWedgeConstituents
MonitorElement * hExtra_HcalToF_HaloId
MonitorElement * hExtra_CSCTrackInnerOuterDPhi
std::string TextFileName
edm::EDGetTokenT< HBHERecHitCollection > IT_HBHERecHit
MonitorElement * hExtra_InnerMostTrackHitXY
double pt() const final
transverse momentum
MonitorElement * hExtra_CSCTrackNHits
MonitorElement * hEcalHaloData_SuperClusterNHits
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeMaxTime
edm::ESGetToken< CSCGeometry, MuonGeometryRecord > cscGeomToken_
unsigned short numberOfValidHits() const
number of valid hits found
Definition: TrackBase.h:798
const math::XYZPoint & outerPosition() const
position of the outermost hit
Definition: Track.h:62
MonitorElement * hCSCHaloData_SegmentdT
std::ofstream * out
MonitorElement * hEcalHaloData_PhiWedgeiPhi
T z() const
Definition: PV3DBase.h:61
edm::EDGetTokenT< reco::GlobalHaloData > IT_GlobalHaloData
edm::RefVector< reco::SuperClusterCollection > & GetSuperClusters()
Definition: EcalHaloData.h:37
Geom::Phi< T > phi() const
Definition: PV3DBase.h:66
edm::ValueMap< float > & GetShowerShapesAngle()
Definition: EcalHaloData.h:44
MonitorElement * hHcalHaloData_PhiWedgePlusZDirectionConfidence
MonitorElement * hEcalHaloData_PhiWedgeMultiplicity
T eta() const
Definition: PV3DBase.h:73
MonitorElement * hHcalHaloData_PhiWedgeMaxTime
T const * product() const
Definition: Handle.h:70
const bool GlobalTightHaloId() const
edm::EDGetTokenT< reco::BeamHaloSummary > IT_BeamHaloSummary
edm::EDGetTokenT< reco::CSCHaloData > IT_CSCHaloData
std::vector< EcalRecHit >::const_iterator const_iterator
MonitorElement * hHcalHaloData_PhiWedgeZDirectionConfidence
MonitorElement * hCSCHaloData_FreeInverseBetaVsSegmentdT
float freeInverseBeta() const
Definition: MuonTimeExtra.h:36
unsigned long long EventNumber_t
MonitorElement * hCSCHaloData_TrackMultiplicityMEMinus
MonitorElement * hCSCHaloData_NTracksSmallBetaAndSmalldT
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeMultiplicity
std::vector< const CSCSegment * > matchCSC(const reco::Track &muon, const edm::Event &event)
MonitorElement * hExtra_CSCTrackChi2Ndof
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeConstituents
const bool EcalLooseHaloId() const
edm::EDGetTokenT< CSCSegmentCollection > IT_CSCSegment
MonitorElement * hCSCHaloData_NFlatSegmentsInBothEndcaps
std::vector< PhiWedge > & GetMatchedEcalPhiWedges()
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeEnergy
MonitorElement * hEcalHaloData_PhiWedgeMinTime
MonitorElement * hCSCHaloData_InnerMostTrackHitRPlusZ
unsigned int LuminosityBlockNumber_t
MonitorElement * hEcalHaloData_PhiWedgeEnergy
MonitorElement * hBeamHaloSummary_Id
MonitorElement * hHcalHaloData_PhiWedgeMinVsMaxTime
MonitorElement * hHcalHaloData_PhiWedgeEnergy
MonitorElement * hCSCHaloData_InnerMostTrackHitRMinusZ
MonitorElement * hCSCHaloData_L1HaloTriggersMEMinus
void Fill(long long x)
Collection of Calo MET.
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeConstituents
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeMinTime
int Phi_To_iPhi(float phi)
C::const_iterator const_iterator
constant access iterator type
Definition: RangeMap.h:43
MonitorElement * hEcalHaloData_PhiWedgeMinVsMaxTime
MonitorElement * hExtra_InnerMostTrackHitRPlusZ
MonitorElement * hCSCHaloData_TrackMultiplicityMEPlus
MonitorElement * hGlobalHaloData_MExCorrection
T x() const
Definition: PV3DBase.h:59
MonitorElement * hExtra_InnerMostTrackHitPhi
T y() const
Definition: PV3DBase.h:60
MonitorElement * hCSCHaloData_NTracksSmallBeta
MonitorElement * hExtra_HcalToF
MonitorElement * hCSCHaloData_InnerMostTrackHitR
int iEvent
Definition: GenABIO.cc:224
MonitorElement * hExtra_InnerMostTrackHitR
MonitorElement * hBeamHaloSummary_BXN
MonitorElement * hCSCHaloData_NOutOfTimeTriggersMEPlus
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeiPhi
const bool LooseId() const
MonitorElement * hExtra_EcalToF
MonitorElement * hCSCHaloData_NOutOfTimeTriggersvsL1HaloExists
MonitorElement * hGlobalHaloData_HaloCorrectedMET
MonitorElement * hEcalHaloData_PhiWedgeMaxTime
MonitorElement * hCSCHaloData_SegmentsInBothEndcaps
MonitorElement * hCSCHaloData_NFlatHaloSegments
MonitorElement * hCSCHaloData_L1HaloTriggersMEPlus
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeZDirectionConfidence
reco::CaloMET GetCorrectedCaloMET(const reco::CaloMET &RawMET) const
MonitorElement * hCSCHaloData_NOutOfTimeTriggers
edm::EDGetTokenT< CSCRecHit2DCollection > IT_CSCRecHit
MonitorElement * hEcalHaloData_SuperClusterPhiVsEta
MonitorElement * hCSCHaloData_NTracksSmalldT
const_iterator begin() const
MuonSegmentMatcher * TheMatcher
MonitorElement * hHcalHaloData_PhiWedgeiPhi
const bool EcalTightHaloId() const
float DeltaMEx() const
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Definition: EventSetup.h:130
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeMaxTime
edm::EDGetTokenT< reco::MuonTimeExtraMap > IT_CSCTimeMapToken
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeEnergy
edm::EDGetTokenT< reco::EcalHaloData > IT_EcalHaloData
const bool HcalLooseHaloId() const
const_iterator end() const
double eta() const
pseudorapidity of momentum vector
Definition: TrackBase.h:652
Definition: DetId.h:17
edm::EDGetTokenT< reco::CaloMETCollection > IT_met
MonitorElement * hCSCHaloData_TrackMultiplicity
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37
size_type size() const
Size of the RefVector.
Definition: RefVector.h:102
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeMultiplicity
MonitorElement * hHcalHaloData_PhiWedgeMinTime
double normalizedChi2() const
chi-squared divided by n.d.o.f. (or chi-squared * 1e6 if n.d.o.f. is zero)
Definition: TrackBase.h:593
const bool CSCLooseHaloId() const
int endcap() const
Definition: CSCDetId.h:85
MonitorElement * hHcalHaloData_PhiWedgeMultiplicity
bool isValid() const
Definition: HandleBase.h:70
MonitorElement * hExtra_InnerMostTrackHitRMinusZ
const bool CSCTightHaloId() const
MonitorElement * hCSCHaloData_HLHaloTriggers
float DeltaMEy() const
MonitorElement * hEcalHaloData_SuperClusterEnergy
MonitorElement * hCSCHaloData_NTracksSmalldTvsNHaloTracks
MonitorElement * hEcalHaloData_PhiWedgeZDirectionConfidence
MonitorElement * hGlobalHaloData_RawMETOverSumEt
std::vector< PhiWedge > & GetMatchedHcalPhiWedges()
const bool TightId() const
MonitorElement * hCSCHaloData_FreeInverseBeta
MonitorElement * hCSCHaloData_InnerMostTrackHitPhi
MonitorElement * hCSCHaloData_InnerMostTrackHitXY
MonitorElement * hExtra_CSCTrackInnerOuterDEta
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeMinTime
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeZDirectionConfidence
MonitorElement * hExtra_InnerMostTrackHitiPhi
unsigned int RunNumber_t
MonitorElement * hGlobalHaloData_MEyCorrection
MonitorElement * hEcalHaloData_PhiWedgeConstituents
MonitorElement * hCSCHaloData_NOutOfTimeHits
MonitorElement * hEcalHaloData_PhiWedgePlusZDirectionConfidence
static constexpr int CSC
Definition: MuonSubdetId.h:12
MonitorElement * hCSCHaloData_InnerMostTrackHitiPhi
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeiPhi
const math::XYZPoint & innerPosition() const
position of the innermost hit
Definition: Track.h:56
MonitorElement * hGlobalHaloData_RawMETMinusHaloCorrectedMET
const std::vector< PhiWedge > & GetPhiWedges() const
Definition: HcalHaloData.h:45
MonitorElement * hExtra_CSCActivityWithMET
MonitorElement * hExtra_EcalToF_HaloId
MonitorElement * hCSCHaloData_L1HaloTriggers
EventNumber_t event() const
Definition: EventID.h:40
Definition: Run.h:45
edm::EDGetTokenT< EBRecHitCollection > IT_EBRecHit
const std::vector< PhiWedge > & GetPhiWedges() const
Definition: EcalHaloData.h:33
const TrackExtraRef & extra() const
reference to "extra" object
Definition: Track.h:139
const bool HcalTightHaloId() const
edm::EDGetTokenT< reco::HcalHaloData > IT_HcalHaloData
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11
const bool GlobalLooseHaloId() const
edm::EDGetTokenT< reco::MuonCollection > IT_CosmicStandAloneMuon

◆ bookHistograms()

void BeamHaloAnalyzer::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  iRun,
edm::EventSetup const &   
)
overrideprivatevirtual

Implements DQMEDAnalyzer.

Definition at line 75 of file BeamHaloAnalyzer.cc.

References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), PixelVTXMonitor_cfi::FolderName, dqm::impl::MonitorElement::setBinLabel(), dqm::implementation::NavigatorBase::setCurrentFolder(), and BeamHaloAnalyzer_cfi::StandardDQM.

75  {
76  // EcalHaloData
77  ibooker.setCurrentFolder(FolderName + "/EcalHaloData");
78  if (StandardDQM) {
79  hEcalHaloData_PhiWedgeMultiplicity = ibooker.book1D("EcalHaloData_PhiWedgeMultiplicity", "", 20, -0.5, 19.5);
80  hEcalHaloData_PhiWedgeConstituents = ibooker.book1D("EcalHaloData_PhiWedgeConstituents", "", 20, -0.5, 19.5);
81  // hEcalHaloData_PhiWedgeiPhi = ibooker.book1D("EcalHaloData_PhiWedgeiPhi","", 360, 0.5, 360.5) ;
83  ibooker.book1D("EcalHaloData_ZDirectionConfidence", "", 120, -1.2, 1.2);
85  ibooker.book2D("EcalHaloData_SuperClusterShowerShapes", "", 30, 0, 3.2, 25, 0.0, 2.0);
86  hEcalHaloData_SuperClusterEnergy = ibooker.book1D("EcalHaloData_SuperClusterEnergy", "", 50, -0.5, 99.5);
87  hEcalHaloData_SuperClusterNHits = ibooker.book1D("EcalHaloData_SuperClusterNHits", "", 20, -0.5, 19.5);
88  } else {
89  hEcalHaloData_PhiWedgeMultiplicity = ibooker.book1D("EcalHaloData_PhiWedgeMultiplicity", "", 20, -0.5, 19.5);
90  hEcalHaloData_PhiWedgeEnergy = ibooker.book1D("EcalHaloData_PhiWedgeEnergy", "", 50, -0.5, 199.5);
91  hEcalHaloData_PhiWedgeConstituents = ibooker.book1D("EcalHaloData_PhiWedgeConstituents", "", 20, -0.5, 19.5);
92  hEcalHaloData_PhiWedgeMinTime = ibooker.book1D("EcalHaloData_PhiWedgeMinTime", "", 100, -225.0, 225.0);
93  hEcalHaloData_PhiWedgeMaxTime = ibooker.book1D("EcalHaloData_PhiWedgeMaxTime", "", 100, -225.0, 225.0);
94  hEcalHaloData_PhiWedgeiPhi = ibooker.book1D("EcalHaloData_PhiWedgeiPhi", "", 360, 0.5, 360.5);
96  ibooker.book1D("EcalHaloData_PlusZDirectionConfidence", "", 50, 0., 1.0);
98  ibooker.book1D("EcalHaloData_ZDirectionConfidence", "", 120, -1.2, 1.2);
100  ibooker.book2D("EcalHaloData_PhiWedgeMinVsMaxTime", "", 50, -100.0, 100.0, 50, -100.0, 100.0);
102  ibooker.book2D("EcalHaloData_SuperClusterShowerShapes", "", 30, 0, 3.2, 25, 0.0, 2.0);
103  hEcalHaloData_SuperClusterEnergy = ibooker.book1D("EcalHaloData_SuperClusterEnergy", "", 100, -0.5, 99.5);
104  hEcalHaloData_SuperClusterNHits = ibooker.book1D("EcalHaloData_SuperClusterNHits", "", 20, -0.5, 19.5);
106  ibooker.book2D("EcalHaloData_SuperClusterPhiVsEta", "", 60, -3.0, 3.0, 60, -3.2, 3.2);
107  }
108 
109  // HcalHaloData
110  ibooker.setCurrentFolder(FolderName + "/HcalHaloData");
111  if (StandardDQM) {
112  hHcalHaloData_PhiWedgeMultiplicity = ibooker.book1D("HcalHaloData_PhiWedgeMultiplicity", "", 20, -0.5, 19.5);
113  hHcalHaloData_PhiWedgeConstituents = ibooker.book1D("HcalHaloData_PhiWedgeConstituents", "", 20, -0.5, 19.5);
114  //hHcalHaloData_PhiWedgeiPhi = ibooker.book1D("HcalHaloData_PhiWedgeiPhi","", 72, 0.5,72.5);
116  ibooker.book1D("HcalHaloData_ZDirectionConfidence", "", 120, -1.2, 1.2);
117  } else {
118  hHcalHaloData_PhiWedgeMultiplicity = ibooker.book1D("HcalHaloData_PhiWedgeMultiplicity", "", 20, -0.5, 19.5);
119  hHcalHaloData_PhiWedgeEnergy = ibooker.book1D("HcalHaloData_PhiWedgeEnergy", "", 50, -0.5, 199.5);
120  hHcalHaloData_PhiWedgeConstituents = ibooker.book1D("HcalHaloData_PhiWedgeConstituents", "", 20, -0.5, 19.5);
121  hHcalHaloData_PhiWedgeiPhi = ibooker.book1D("HcalHaloData_PhiWedgeiPhi", "", 72, 0.5, 72.5);
122  hHcalHaloData_PhiWedgeMinTime = ibooker.book1D("HcalHaloData_PhiWedgeMinTime", "", 50, -100.0, 100.0);
123  hHcalHaloData_PhiWedgeMaxTime = ibooker.book1D("HcalHaloData_PhiWedgeMaxTime", "", 50, -100.0, 100.0);
125  ibooker.book1D("HcalHaloData_PlusZDirectionConfidence", "", 50, 0., 1.0);
127  ibooker.book1D("HcalHaloData_ZDirectionConfidence", "", 120, -1.2, 1.2);
129  ibooker.book2D("HcalHaloData_PhiWedgeMinVsMaxTime", "", 50, -100.0, 100.0, 50, -100.0, 100.0);
130  }
131 
132  // CSCHaloData
133  ibooker.setCurrentFolder(FolderName + "/CSCHaloData");
134  if (StandardDQM) {
135  hCSCHaloData_TrackMultiplicity = ibooker.book1D("CSCHaloData_TrackMultiplicity", "", 15, -0.5, 14.5);
136  hCSCHaloData_TrackMultiplicityMEPlus = ibooker.book1D("CSCHaloData_TrackMultiplicityMEPlus", "", 15, -0.5, 14.5);
137  hCSCHaloData_TrackMultiplicityMEMinus = ibooker.book1D("CSCHaloData_TrackMultiplicityMEMinus", "", 15, -0.5, 14.5);
138  hCSCHaloData_InnerMostTrackHitR = ibooker.book1D("CSCHaloData_InnerMostTrackHitR", "", 70, 99.5, 799.5);
139  hCSCHaloData_InnerMostTrackHitPhi = ibooker.book1D("CSCHaloData_InnerMostTrackHitPhi", "", 60, -3.2, 3.2);
140  hCSCHaloData_L1HaloTriggersMEPlus = ibooker.book1D("CSCHaloData_L1HaloTriggersMEPlus", "", 10, -0.5, 9.5);
141  hCSCHaloData_L1HaloTriggersMEMinus = ibooker.book1D("CSCHaloData_L1HaloTriggersMEMinus", "", 10, -0.5, 9.5);
142  hCSCHaloData_L1HaloTriggers = ibooker.book1D("CSCHaloData_L1HaloTriggers", "", 10, -0.5, 9.5);
143  hCSCHaloData_HLHaloTriggers = ibooker.book1D("CSCHaloData_HLHaloTriggers", "", 2, -0.5, 1.5);
145  ibooker.book2D("CSCHaloData_NOutOfTimeTriggersvsL1HaloExists", "", 20, -0.5, 19.5, 2, -0.5, 1.5);
146  hCSCHaloData_NOutOfTimeTriggersMEPlus = ibooker.book1D("CSCHaloData_NOutOfTimeTriggersMEPlus", "", 20, -0.5, 19.5);
148  ibooker.book1D("CSCHaloData_NOutOfTimeTriggersMEMinus", "", 20, -0.5, 19.5);
149  hCSCHaloData_NOutOfTimeTriggers = ibooker.book1D("CSCHaloData_NOutOfTimeTriggers", "", 20, -0.5, 19.5);
150  hCSCHaloData_NOutOfTimeHits = ibooker.book1D("CSCHaloData_NOutOfTimeHits", "", 60, -0.5, 59.5);
151  hCSCHaloData_NTracksSmalldT = ibooker.book1D("CSCHaloData_NTracksSmalldT", "", 15, -0.5, 14.5);
152  hCSCHaloData_NTracksSmallBeta = ibooker.book1D("CSCHaloData_NTracksSmallBeta", "", 15, -0.5, 14.5);
154  ibooker.book1D("CSCHaloData_NTracksSmallBetaAndSmalldT", "", 15, -0.5, 14.5);
156  ibooker.book2D("CSCHaloData_NTracksSmalldTvsNHaloTracks", "", 15, -0.5, 14.5, 15, -0.5, 14.5);
157  hCSCHaloData_SegmentdT = ibooker.book1D("CSCHaloData_SegmentdT", "", 100, -100, 100);
158  hCSCHaloData_FreeInverseBeta = ibooker.book1D("CSCHaloData_FreeInverseBeta", "", 80, -4, 4);
160  ibooker.book2D("CSCHaloData_FreeInverseBetaVsSegmentdT", "", 100, -100, 100, 80, -4, 4);
161  // MLR
162  hCSCHaloData_NFlatHaloSegments = ibooker.book1D("CSCHaloData_NFlatHaloSegments", "", 20, 0, 20);
163  hCSCHaloData_SegmentsInBothEndcaps = ibooker.book1D("CSCHaloData_SegmentsInBothEndcaps", "", 2, 0, 2);
164  hCSCHaloData_NFlatSegmentsInBothEndcaps = ibooker.book1D("CSCHaloData_NFlatSegmentsInBothEndcaps", "", 20, 0, 20);
165  // End MLR
166  } else {
167  hCSCHaloData_TrackMultiplicity = ibooker.book1D("CSCHaloData_TrackMultiplicity", "", 15, -0.5, 14.5);
168  hCSCHaloData_TrackMultiplicityMEPlus = ibooker.book1D("CSCHaloData_TrackMultiplicityMEPlus", "", 15, -0.5, 14.5);
169  hCSCHaloData_TrackMultiplicityMEMinus = ibooker.book1D("CSCHaloData_TrackMultiplicityMEMinus", "", 15, -0.5, 14.5);
171  ibooker.book2D("CSCHaloData_InnerMostTrackHitXY", "", 100, -700, 700, 100, -700, 700);
172  hCSCHaloData_InnerMostTrackHitR = ibooker.book1D("CSCHaloData_InnerMostTrackHitR", "", 400, -0.5, 799.5);
174  ibooker.book2D("CSCHaloData_InnerMostTrackHitRPlusZ", "", 400, 400, 1200, 400, -0.5, 799.5);
176  ibooker.book2D("CSCHaloData_InnerMostTrackHitRMinusZ", "", 400, -1200, -400, 400, -0.5, 799.5);
177  hCSCHaloData_InnerMostTrackHitiPhi = ibooker.book1D("CSCHaloData_InnerMostTrackHitiPhi", "", 72, 0.5, 72.5);
178  hCSCHaloData_InnerMostTrackHitPhi = ibooker.book1D("CSCHaloData_InnerMostTrackHitPhi", "", 60, -3.2, 3.2);
179  hCSCHaloData_L1HaloTriggersMEPlus = ibooker.book1D("CSCHaloData_L1HaloTriggersMEPlus", "", 10, -0.5, 9.5);
180  hCSCHaloData_L1HaloTriggersMEMinus = ibooker.book1D("CSCHaloData_L1HaloTriggersMEMinus", "", 10, -0.5, 9.5);
181  hCSCHaloData_L1HaloTriggers = ibooker.book1D("CSCHaloData_L1HaloTriggers", "", 10, -0.5, 9.5);
182  hCSCHaloData_HLHaloTriggers = ibooker.book1D("CSCHaloData_HLHaloTriggers", "", 2, -0.5, 1.5);
184  ibooker.book2D("CSCHaloData_NOutOfTimeTriggersvsL1HaloExists", "", 20, -0.5, 19.5, 2, -0.5, 1.5);
185  hCSCHaloData_NOutOfTimeTriggers = ibooker.book1D("CSCHaloData_NOutOfTimeTriggers", "", 20, -0.5, 19.5);
186  hCSCHaloData_NOutOfTimeHits = ibooker.book1D("CSCHaloData_NOutOfTimeHits", "", 60, -0.5, 59.5);
187  hCSCHaloData_NTracksSmalldT = ibooker.book1D("CSCHaloData_NTracksSmalldT", "", 15, -0.5, 14.5);
188  hCSCHaloData_NTracksSmallBeta = ibooker.book1D("CSCHaloData_NTracksSmallBeta", "", 15, -0.5, 14.5);
190  ibooker.book1D("CSCHaloData_NTracksSmallBetaAndSmalldT", "", 15, -0.5, 14.5);
192  ibooker.book2D("CSCHaloData_NTracksSmalldTvsNHaloTracks", "", 15, -0.5, 14.5, 15, -0.5, 14.5);
193  hCSCHaloData_SegmentdT = ibooker.book1D("CSCHaloData_SegmentdT", "", 100, -100, 100);
194  hCSCHaloData_FreeInverseBeta = ibooker.book1D("CSCHaloData_FreeInverseBeta", "", 80, -4, 4);
196  ibooker.book2D("CSCHaloData_FreeInverseBetaVsSegmentdT", "", 100, -100, 100, 80, -4, 4);
197  // MLR
198  hCSCHaloData_NFlatHaloSegments = ibooker.book1D("CSCHaloData_NFlatHaloSegments", "", 20, 0, 20);
199  hCSCHaloData_SegmentsInBothEndcaps = ibooker.book1D("CSCHaloData_SegmentsInBothEndcaps", "", 2, 0, 2);
200  hCSCHaloData_NFlatSegmentsInBothEndcaps = ibooker.book1D("CSCHaloData_NFlatSegmentsInBothEndcaps", "", 20, 0, 20);
201  // End MLR
202  }
203 
204  // GlobalHaloData
205  ibooker.setCurrentFolder(FolderName + "/GlobalHaloData");
206  if (!StandardDQM) {
207  hGlobalHaloData_MExCorrection = ibooker.book1D("GlobalHaloData_MExCorrection", "", 200, -200., 200.);
208  hGlobalHaloData_MEyCorrection = ibooker.book1D("GlobalHaloData_MEyCorrection", "", 200, -200., 200.);
209  hGlobalHaloData_SumEtCorrection = ibooker.book1D("GlobalHaloData_SumEtCorrection", "", 200, -0.5, 399.5);
210  hGlobalHaloData_HaloCorrectedMET = ibooker.book1D("GlobalHaloData_HaloCorrectedMET", "", 500, -0.5, 1999.5);
212  ibooker.book1D("GlobalHaloData_RawMETMinusHaloCorrectedMET", "", 250, -500., 500.);
213  hGlobalHaloData_RawMETOverSumEt = ibooker.book1D("GlobalHaloData_RawMETOverSumEt", "", 100, 0.0, 1.0);
215  ibooker.book1D("GlobalHaloData_MatchedHcalPhiWedgeMultiplicity", "", 15, -0.5, 14.5);
217  ibooker.book1D("GlobalHaloData_MatchedHcalPhiWedgeEnergy", "", 50, -0.5, 199.5);
219  ibooker.book1D("GlobalHaloData_MatchedHcalPhiWedgeConstituents", "", 20, -0.5, 19.5);
221  ibooker.book1D("GlobalHaloData_MatchedHcalPhiWedgeiPhi", "", 1, 0.5, 72.5);
223  ibooker.book1D("GlobalHaloData_MatchedHcalPhiWedgeMinTime", "", 50, -100.0, 100.0);
225  ibooker.book1D("GlobalHaloData_MatchedHcalPhiWedgeMaxTime", "", 50, -100.0, 100.0);
227  ibooker.book1D("GlobalHaloData_MatchedHcalPhiWedgeZDirectionConfidence", "", 120, -1.2, 1.2);
229  ibooker.book1D("GlobalHaloData_MatchedEcalPhiWedgeMultiplicity", "", 15, -0.5, 14.5);
231  ibooker.book1D("GlobalHaloData_MatchedEcalPhiWedgeEnergy", "", 50, -0.5, 199.5);
233  ibooker.book1D("GlobalHaloData_MatchedEcalPhiWedgeConstituents", "", 20, -0.5, 19.5);
235  ibooker.book1D("GlobalHaloData_MatchedEcalPhiWedgeiPhi", "", 360, 0.5, 360.5);
237  ibooker.book1D("GlobalHaloData_MatchedEcalPhiWedgeMinTime", "", 50, -100.0, 100.0);
239  ibooker.book1D("GlobalHaloData_MatchedEcalPhiWedgeMaxTime", "", 50, -100.0, 100.0);
241  ibooker.book1D("GlobalHaloData_MatchedEcalPhiWedgeZDirectionConfidence", "", 120, 1.2, 1.2);
242  }
243  // BeamHaloSummary
244  ibooker.setCurrentFolder(FolderName + "/BeamHaloSummary");
245 
246  hBeamHaloSummary_Id = ibooker.book1D("BeamHaloSumamry_Id", "", 11, 0.5, 11.5);
247  hBeamHaloSummary_Id->setBinLabel(1, "CSC Loose");
248  hBeamHaloSummary_Id->setBinLabel(2, "CSC Tight");
249  hBeamHaloSummary_Id->setBinLabel(3, "Ecal Loose");
250  hBeamHaloSummary_Id->setBinLabel(4, "Ecal Tight");
251  hBeamHaloSummary_Id->setBinLabel(5, "Hcal Loose");
252  hBeamHaloSummary_Id->setBinLabel(6, "Hcal Tight");
253  hBeamHaloSummary_Id->setBinLabel(7, "Global Loose");
254  hBeamHaloSummary_Id->setBinLabel(8, "Global Tight");
255  hBeamHaloSummary_Id->setBinLabel(9, "Event Loose");
256  hBeamHaloSummary_Id->setBinLabel(10, "Event Tight");
257  hBeamHaloSummary_Id->setBinLabel(11, "Nothing");
258  if (!StandardDQM) {
259  hBeamHaloSummary_BXN = ibooker.book2D("BeamHaloSummary_BXN", "", 11, 0.5, 11.5, 4000, -0.5, 3999.5);
260  hBeamHaloSummary_BXN->setBinLabel(1, "CSC Loose");
261  hBeamHaloSummary_BXN->setBinLabel(2, "CSC Tight");
262  hBeamHaloSummary_BXN->setBinLabel(3, "Ecal Loose");
263  hBeamHaloSummary_BXN->setBinLabel(4, "Ecal Tight");
264  hBeamHaloSummary_BXN->setBinLabel(5, "Hcal Loose");
265  hBeamHaloSummary_BXN->setBinLabel(6, "Hcal Tight");
266  hBeamHaloSummary_BXN->setBinLabel(7, "Global Loose");
267  hBeamHaloSummary_BXN->setBinLabel(8, "Global Tight");
268  hBeamHaloSummary_BXN->setBinLabel(9, "Event Loose");
269  hBeamHaloSummary_BXN->setBinLabel(10, "Event Tight");
270  hBeamHaloSummary_BXN->setBinLabel(11, "Nothing");
271  }
272  // Extra
273  ibooker.setCurrentFolder(FolderName + "/ExtraHaloData");
274  if (StandardDQM) {
275  hExtra_CSCTrackInnerOuterDPhi = ibooker.book1D("Extra_CSCTrackInnerOuterDPhi", "", 30, 0, 3.2);
276  hExtra_CSCTrackInnerOuterDEta = ibooker.book1D("Extra_CSCTrackInnerOuterDEta", "", 100, 0, 3.0);
277  hExtra_CSCTrackChi2Ndof = ibooker.book1D("Extra_CSCTrackChi2Ndof", "", 25, 0, 10);
278  hExtra_CSCTrackNHits = ibooker.book1D("Extra_CSCTrackNHits", "", 75, 0, 75);
279  hExtra_CSCActivityWithMET = ibooker.book2D("Extra_CSCActivityWithMET", "", 4, 0.5, 4.5, 4, 0.5, 4.5);
280  hExtra_CSCActivityWithMET->setBinLabel(1, "Track", 1);
281  hExtra_CSCActivityWithMET->setBinLabel(1, "Track", 2);
282  hExtra_CSCActivityWithMET->setBinLabel(2, "Segments", 1);
283  hExtra_CSCActivityWithMET->setBinLabel(2, "Segments", 2);
284  hExtra_CSCActivityWithMET->setBinLabel(3, "RecHits", 1);
285  hExtra_CSCActivityWithMET->setBinLabel(3, "RecHits", 2);
286  hExtra_CSCActivityWithMET->setBinLabel(4, "Nothing", 1);
287  hExtra_CSCActivityWithMET->setBinLabel(4, "Nothing", 2);
288  hExtra_InnerMostTrackHitR = ibooker.book1D("Extra_InnerMostTrackHitR", "", 70, 99.5, 799.5);
289  hExtra_InnerMostTrackHitPhi = ibooker.book1D("Extra_InnerMostTrackHitPhi", "", 60, -3.2, 3.2);
290  } else {
291  hExtra_CSCActivityWithMET = ibooker.book2D("Extra_CSCActivityWithMET", "", 4, 0.5, 4.5, 4, 0.5, 4.5);
292  hExtra_CSCActivityWithMET->setBinLabel(1, "Track", 1);
293  hExtra_CSCActivityWithMET->setBinLabel(1, "Track", 2);
294  hExtra_CSCActivityWithMET->setBinLabel(2, "Segments", 1);
295  hExtra_CSCActivityWithMET->setBinLabel(2, "Segments", 2);
296  hExtra_CSCActivityWithMET->setBinLabel(3, "RecHits", 1);
297  hExtra_CSCActivityWithMET->setBinLabel(3, "RecHits", 2);
298  hExtra_CSCActivityWithMET->setBinLabel(4, "Nothing", 1);
299  hExtra_CSCActivityWithMET->setBinLabel(4, "Nothing", 2);
300  hExtra_HcalToF = ibooker.book2D("Extra_HcalToF", "", 83, -41.5, 41.5, 1000, -125., 125.);
301  hExtra_HcalToF_HaloId = ibooker.book2D("Extra_HcalToF_HaloId", "", 83, -41.5, 41.5, 1000, -125., 125.);
302  hExtra_EcalToF = ibooker.book2D("Extra_EcalToF", "", 171, -85.5, 85.5, 2000, -225., 225.);
303  hExtra_EcalToF_HaloId = ibooker.book2D("Extra_EcalToF_HaloId", "", 171, -85.5, 85.5, 2000, -225., 225.);
304  hExtra_CSCTrackInnerOuterDPhi = ibooker.book1D("Extra_CSCTrackInnerOuterDPhi", "", 30, 0, 3.2);
305  hExtra_CSCTrackInnerOuterDEta = ibooker.book1D("Extra_CSCTrackInnerOuterDEta", "", 30, 0, 3.2);
306  hExtra_CSCTrackChi2Ndof = ibooker.book1D("Extra_CSCTrackChi2Ndof", "", 100, 0, 10);
307  hExtra_CSCTrackNHits = ibooker.book1D("Extra_CSCTrackNHits", "", 75, 0, 75);
308  hExtra_InnerMostTrackHitXY = ibooker.book2D("Extra_InnerMostTrackHitXY", "", 100, -700, 700, 100, -700, 700);
309  hExtra_InnerMostTrackHitR = ibooker.book1D("Extra_InnerMostTrackHitR", "", 400, -0.5, 799.5);
311  ibooker.book2D("Extra_InnerMostTrackHitRPlusZ", "", 400, 400, 1200, 400, -0.5, 799.5);
313  ibooker.book2D("Extra_InnerMostTrackHitRMinusZ", "", 400, -1200, -400, 400, -0.5, 799.5);
314  hExtra_InnerMostTrackHitiPhi = ibooker.book1D("Extra_InnerMostTrackHitiPhi", "", 72, 0.5, 72.5);
315  hExtra_InnerMostTrackHitPhi = ibooker.book1D("Extra_InnerMostTrackHitPhi", "", 60, -3.2, 3.2);
316  hExtra_BXN = ibooker.book1D("Extra_BXN", "BXN Occupancy", 4000, 0.5, 4000.5);
317  }
318 }
std::string FolderName
MonitorElement * hEcalHaloData_SuperClusterShowerShapes
MonitorElement * hCSCHaloData_NOutOfTimeTriggersMEMinus
MonitorElement * hHcalHaloData_PhiWedgeConstituents
MonitorElement * hExtra_HcalToF_HaloId
MonitorElement * hExtra_CSCTrackInnerOuterDPhi
MonitorElement * hExtra_InnerMostTrackHitXY
MonitorElement * hExtra_CSCTrackNHits
MonitorElement * hEcalHaloData_SuperClusterNHits
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeMaxTime
MonitorElement * hCSCHaloData_SegmentdT
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:36
MonitorElement * hEcalHaloData_PhiWedgeiPhi
MonitorElement * hHcalHaloData_PhiWedgePlusZDirectionConfidence
MonitorElement * hEcalHaloData_PhiWedgeMultiplicity
MonitorElement * hHcalHaloData_PhiWedgeMaxTime
MonitorElement * hHcalHaloData_PhiWedgeZDirectionConfidence
MonitorElement * hCSCHaloData_FreeInverseBetaVsSegmentdT
MonitorElement * hCSCHaloData_TrackMultiplicityMEMinus
MonitorElement * hCSCHaloData_NTracksSmallBetaAndSmalldT
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeMultiplicity
MonitorElement * hExtra_CSCTrackChi2Ndof
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeConstituents
MonitorElement * hExtra_BXN
MonitorElement * hCSCHaloData_NFlatSegmentsInBothEndcaps
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeEnergy
MonitorElement * hEcalHaloData_PhiWedgeMinTime
MonitorElement * hCSCHaloData_InnerMostTrackHitRPlusZ
MonitorElement * hEcalHaloData_PhiWedgeEnergy
MonitorElement * hBeamHaloSummary_Id
MonitorElement * hHcalHaloData_PhiWedgeMinVsMaxTime
MonitorElement * hHcalHaloData_PhiWedgeEnergy
MonitorElement * hCSCHaloData_InnerMostTrackHitRMinusZ
MonitorElement * hCSCHaloData_L1HaloTriggersMEMinus
MonitorElement * hGlobalHaloData_SumEtCorrection
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeConstituents
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeMinTime
MonitorElement * hEcalHaloData_PhiWedgeMinVsMaxTime
MonitorElement * hExtra_InnerMostTrackHitRPlusZ
MonitorElement * hCSCHaloData_TrackMultiplicityMEPlus
MonitorElement * hGlobalHaloData_MExCorrection
MonitorElement * hExtra_InnerMostTrackHitPhi
MonitorElement * hCSCHaloData_NTracksSmallBeta
MonitorElement * hExtra_HcalToF
MonitorElement * hCSCHaloData_InnerMostTrackHitR
MonitorElement * hExtra_InnerMostTrackHitR
MonitorElement * hBeamHaloSummary_BXN
MonitorElement * hCSCHaloData_NOutOfTimeTriggersMEPlus
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeiPhi
MonitorElement * hExtra_EcalToF
MonitorElement * hCSCHaloData_NOutOfTimeTriggersvsL1HaloExists
MonitorElement * hGlobalHaloData_HaloCorrectedMET
MonitorElement * hEcalHaloData_PhiWedgeMaxTime
MonitorElement * hCSCHaloData_SegmentsInBothEndcaps
MonitorElement * hCSCHaloData_NFlatHaloSegments
MonitorElement * hCSCHaloData_L1HaloTriggersMEPlus
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeZDirectionConfidence
MonitorElement * hCSCHaloData_NOutOfTimeTriggers
MonitorElement * hEcalHaloData_SuperClusterPhiVsEta
MonitorElement * hCSCHaloData_NTracksSmalldT
MonitorElement * hHcalHaloData_PhiWedgeiPhi
virtual void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeMaxTime
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeEnergy
MonitorElement * hCSCHaloData_TrackMultiplicity
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeMultiplicity
MonitorElement * hHcalHaloData_PhiWedgeMinTime
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
Definition: DQMStore.h:212
MonitorElement * hHcalHaloData_PhiWedgeMultiplicity
MonitorElement * hExtra_InnerMostTrackHitRMinusZ
MonitorElement * hCSCHaloData_HLHaloTriggers
MonitorElement * hEcalHaloData_SuperClusterEnergy
MonitorElement * hCSCHaloData_NTracksSmalldTvsNHaloTracks
MonitorElement * hEcalHaloData_PhiWedgeZDirectionConfidence
MonitorElement * hGlobalHaloData_RawMETOverSumEt
MonitorElement * hCSCHaloData_FreeInverseBeta
MonitorElement * hCSCHaloData_InnerMostTrackHitPhi
MonitorElement * hCSCHaloData_InnerMostTrackHitXY
MonitorElement * hExtra_CSCTrackInnerOuterDEta
MonitorElement * hGlobalHaloData_MatchedEcalPhiWedgeMinTime
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeZDirectionConfidence
MonitorElement * hExtra_InnerMostTrackHitiPhi
MonitorElement * hGlobalHaloData_MEyCorrection
MonitorElement * hEcalHaloData_PhiWedgeConstituents
MonitorElement * hCSCHaloData_NOutOfTimeHits
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
MonitorElement * hEcalHaloData_PhiWedgePlusZDirectionConfidence
MonitorElement * hCSCHaloData_InnerMostTrackHitiPhi
MonitorElement * hGlobalHaloData_MatchedHcalPhiWedgeiPhi
MonitorElement * hGlobalHaloData_RawMETMinusHaloCorrectedMET
MonitorElement * hExtra_CSCActivityWithMET
MonitorElement * hExtra_EcalToF_HaloId
MonitorElement * hCSCHaloData_L1HaloTriggers

Member Data Documentation

◆ cscGeomToken_

edm::ESGetToken<CSCGeometry, MuonGeometryRecord> BeamHaloAnalyzer::cscGeomToken_
private

Definition at line 187 of file BeamHaloAnalyzer.h.

◆ DumpMET

double BeamHaloAnalyzer::DumpMET
private

Definition at line 196 of file BeamHaloAnalyzer.h.

◆ FolderName

std::string BeamHaloAnalyzer::FolderName
private

Definition at line 192 of file BeamHaloAnalyzer.h.

◆ hBeamHaloSummary_BXN

MonitorElement* BeamHaloAnalyzer::hBeamHaloSummary_BXN
private

Definition at line 287 of file BeamHaloAnalyzer.h.

◆ hBeamHaloSummary_Id

MonitorElement* BeamHaloAnalyzer::hBeamHaloSummary_Id
private

Definition at line 285 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_FreeInverseBeta

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_FreeInverseBeta
private

Definition at line 255 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_FreeInverseBetaVsSegmentdT

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_FreeInverseBetaVsSegmentdT
private

Definition at line 256 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_HLHaloTriggers

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_HLHaloTriggers
private

Definition at line 238 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_InnerMostTrackHitiPhi

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_InnerMostTrackHitiPhi
private

Definition at line 252 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_InnerMostTrackHitPhi

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_InnerMostTrackHitPhi
private

Definition at line 234 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_InnerMostTrackHitR

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_InnerMostTrackHitR
private

Definition at line 233 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_InnerMostTrackHitRMinusZ

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_InnerMostTrackHitRMinusZ
private

Definition at line 251 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_InnerMostTrackHitRPlusZ

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_InnerMostTrackHitRPlusZ
private

Definition at line 250 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_InnerMostTrackHitXY

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_InnerMostTrackHitXY
private

Definition at line 249 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_L1HaloTriggers

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_L1HaloTriggers
private

Definition at line 237 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_L1HaloTriggersMEMinus

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_L1HaloTriggersMEMinus
private

Definition at line 236 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_L1HaloTriggersMEPlus

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_L1HaloTriggersMEPlus
private

Definition at line 235 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_NFlatHaloSegments

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_NFlatHaloSegments
private

Definition at line 259 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_NFlatSegmentsInBothEndcaps

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_NFlatSegmentsInBothEndcaps
private

Definition at line 261 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_NOutOfTimeHits

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_NOutOfTimeHits
private

Definition at line 243 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_NOutOfTimeTriggers

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_NOutOfTimeTriggers
private

Definition at line 242 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_NOutOfTimeTriggersMEMinus

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_NOutOfTimeTriggersMEMinus
private

Definition at line 241 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_NOutOfTimeTriggersMEPlus

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_NOutOfTimeTriggersMEPlus
private

Definition at line 240 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_NOutOfTimeTriggersvsL1HaloExists

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_NOutOfTimeTriggersvsL1HaloExists
private

Definition at line 239 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_NTracksSmallBeta

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_NTracksSmallBeta
private

Definition at line 245 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_NTracksSmallBetaAndSmalldT

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_NTracksSmallBetaAndSmalldT
private

Definition at line 246 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_NTracksSmalldT

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_NTracksSmalldT
private

Definition at line 244 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_NTracksSmalldTvsNHaloTracks

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_NTracksSmalldTvsNHaloTracks
private

Definition at line 247 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_SegmentdT

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_SegmentdT
private

Definition at line 254 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_SegmentsInBothEndcaps

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_SegmentsInBothEndcaps
private

Definition at line 260 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_TrackMultiplicity

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_TrackMultiplicity
private

Definition at line 230 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_TrackMultiplicityMEMinus

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_TrackMultiplicityMEMinus
private

Definition at line 232 of file BeamHaloAnalyzer.h.

◆ hCSCHaloData_TrackMultiplicityMEPlus

MonitorElement* BeamHaloAnalyzer::hCSCHaloData_TrackMultiplicityMEPlus
private

Definition at line 231 of file BeamHaloAnalyzer.h.

◆ hEcalHaloData_PhiWedgeConstituents

MonitorElement* BeamHaloAnalyzer::hEcalHaloData_PhiWedgeConstituents
private

Definition at line 205 of file BeamHaloAnalyzer.h.

◆ hEcalHaloData_PhiWedgeEnergy

MonitorElement* BeamHaloAnalyzer::hEcalHaloData_PhiWedgeEnergy
private

Definition at line 211 of file BeamHaloAnalyzer.h.

◆ hEcalHaloData_PhiWedgeiPhi

MonitorElement* BeamHaloAnalyzer::hEcalHaloData_PhiWedgeiPhi
private

Definition at line 214 of file BeamHaloAnalyzer.h.

◆ hEcalHaloData_PhiWedgeMaxTime

MonitorElement* BeamHaloAnalyzer::hEcalHaloData_PhiWedgeMaxTime
private

Definition at line 213 of file BeamHaloAnalyzer.h.

◆ hEcalHaloData_PhiWedgeMinTime

MonitorElement* BeamHaloAnalyzer::hEcalHaloData_PhiWedgeMinTime
private

Definition at line 212 of file BeamHaloAnalyzer.h.

◆ hEcalHaloData_PhiWedgeMinVsMaxTime

MonitorElement* BeamHaloAnalyzer::hEcalHaloData_PhiWedgeMinVsMaxTime
private

Definition at line 216 of file BeamHaloAnalyzer.h.

◆ hEcalHaloData_PhiWedgeMultiplicity

MonitorElement* BeamHaloAnalyzer::hEcalHaloData_PhiWedgeMultiplicity
private

Definition at line 204 of file BeamHaloAnalyzer.h.

◆ hEcalHaloData_PhiWedgePlusZDirectionConfidence

MonitorElement* BeamHaloAnalyzer::hEcalHaloData_PhiWedgePlusZDirectionConfidence
private

Definition at line 215 of file BeamHaloAnalyzer.h.

◆ hEcalHaloData_PhiWedgeZDirectionConfidence

MonitorElement* BeamHaloAnalyzer::hEcalHaloData_PhiWedgeZDirectionConfidence
private

Definition at line 206 of file BeamHaloAnalyzer.h.

◆ hEcalHaloData_SuperClusterEnergy

MonitorElement* BeamHaloAnalyzer::hEcalHaloData_SuperClusterEnergy
private

Definition at line 208 of file BeamHaloAnalyzer.h.

◆ hEcalHaloData_SuperClusterNHits

MonitorElement* BeamHaloAnalyzer::hEcalHaloData_SuperClusterNHits
private

Definition at line 209 of file BeamHaloAnalyzer.h.

◆ hEcalHaloData_SuperClusterPhiVsEta

MonitorElement* BeamHaloAnalyzer::hEcalHaloData_SuperClusterPhiVsEta
private

Definition at line 217 of file BeamHaloAnalyzer.h.

◆ hEcalHaloData_SuperClusterShowerShapes

MonitorElement* BeamHaloAnalyzer::hEcalHaloData_SuperClusterShowerShapes
private

Definition at line 207 of file BeamHaloAnalyzer.h.

◆ hExtra_BXN

MonitorElement* BeamHaloAnalyzer::hExtra_BXN
private

Definition at line 303 of file BeamHaloAnalyzer.h.

◆ hExtra_CSCActivityWithMET

MonitorElement* BeamHaloAnalyzer::hExtra_CSCActivityWithMET
private

Definition at line 289 of file BeamHaloAnalyzer.h.

◆ hExtra_CSCTrackChi2Ndof

MonitorElement* BeamHaloAnalyzer::hExtra_CSCTrackChi2Ndof
private

Definition at line 296 of file BeamHaloAnalyzer.h.

◆ hExtra_CSCTrackInnerOuterDEta

MonitorElement* BeamHaloAnalyzer::hExtra_CSCTrackInnerOuterDEta
private

Definition at line 295 of file BeamHaloAnalyzer.h.

◆ hExtra_CSCTrackInnerOuterDPhi

MonitorElement* BeamHaloAnalyzer::hExtra_CSCTrackInnerOuterDPhi
private

Definition at line 294 of file BeamHaloAnalyzer.h.

◆ hExtra_CSCTrackNHits

MonitorElement* BeamHaloAnalyzer::hExtra_CSCTrackNHits
private

Definition at line 297 of file BeamHaloAnalyzer.h.

◆ hExtra_EcalToF

MonitorElement* BeamHaloAnalyzer::hExtra_EcalToF
private

Definition at line 292 of file BeamHaloAnalyzer.h.

◆ hExtra_EcalToF_HaloId

MonitorElement* BeamHaloAnalyzer::hExtra_EcalToF_HaloId
private

Definition at line 293 of file BeamHaloAnalyzer.h.

◆ hExtra_HcalToF

MonitorElement* BeamHaloAnalyzer::hExtra_HcalToF
private

Definition at line 290 of file BeamHaloAnalyzer.h.

◆ hExtra_HcalToF_HaloId

MonitorElement* BeamHaloAnalyzer::hExtra_HcalToF_HaloId
private

Definition at line 291 of file BeamHaloAnalyzer.h.

◆ hExtra_InnerMostTrackHitiPhi

MonitorElement* BeamHaloAnalyzer::hExtra_InnerMostTrackHitiPhi
private

Definition at line 301 of file BeamHaloAnalyzer.h.

◆ hExtra_InnerMostTrackHitPhi

MonitorElement* BeamHaloAnalyzer::hExtra_InnerMostTrackHitPhi
private

Definition at line 302 of file BeamHaloAnalyzer.h.

◆ hExtra_InnerMostTrackHitR

MonitorElement* BeamHaloAnalyzer::hExtra_InnerMostTrackHitR
private

Definition at line 288 of file BeamHaloAnalyzer.h.

◆ hExtra_InnerMostTrackHitRMinusZ

MonitorElement* BeamHaloAnalyzer::hExtra_InnerMostTrackHitRMinusZ
private

Definition at line 300 of file BeamHaloAnalyzer.h.

◆ hExtra_InnerMostTrackHitRPlusZ

MonitorElement* BeamHaloAnalyzer::hExtra_InnerMostTrackHitRPlusZ
private

Definition at line 299 of file BeamHaloAnalyzer.h.

◆ hExtra_InnerMostTrackHitXY

MonitorElement* BeamHaloAnalyzer::hExtra_InnerMostTrackHitXY
private

Definition at line 298 of file BeamHaloAnalyzer.h.

◆ hGlobalHaloData_HaloCorrectedMET

MonitorElement* BeamHaloAnalyzer::hGlobalHaloData_HaloCorrectedMET
private

Definition at line 267 of file BeamHaloAnalyzer.h.

◆ hGlobalHaloData_MatchedEcalPhiWedgeConstituents

MonitorElement* BeamHaloAnalyzer::hGlobalHaloData_MatchedEcalPhiWedgeConstituents
private

Definition at line 279 of file BeamHaloAnalyzer.h.

◆ hGlobalHaloData_MatchedEcalPhiWedgeEnergy

MonitorElement* BeamHaloAnalyzer::hGlobalHaloData_MatchedEcalPhiWedgeEnergy
private

Definition at line 278 of file BeamHaloAnalyzer.h.

◆ hGlobalHaloData_MatchedEcalPhiWedgeiPhi

MonitorElement* BeamHaloAnalyzer::hGlobalHaloData_MatchedEcalPhiWedgeiPhi
private

Definition at line 280 of file BeamHaloAnalyzer.h.

◆ hGlobalHaloData_MatchedEcalPhiWedgeMaxTime

MonitorElement* BeamHaloAnalyzer::hGlobalHaloData_MatchedEcalPhiWedgeMaxTime
private

Definition at line 282 of file BeamHaloAnalyzer.h.

◆ hGlobalHaloData_MatchedEcalPhiWedgeMinTime

MonitorElement* BeamHaloAnalyzer::hGlobalHaloData_MatchedEcalPhiWedgeMinTime
private

Definition at line 281 of file BeamHaloAnalyzer.h.

◆ hGlobalHaloData_MatchedEcalPhiWedgeMultiplicity

MonitorElement* BeamHaloAnalyzer::hGlobalHaloData_MatchedEcalPhiWedgeMultiplicity
private

Definition at line 277 of file BeamHaloAnalyzer.h.

◆ hGlobalHaloData_MatchedEcalPhiWedgeZDirectionConfidence

MonitorElement* BeamHaloAnalyzer::hGlobalHaloData_MatchedEcalPhiWedgeZDirectionConfidence
private

Definition at line 283 of file BeamHaloAnalyzer.h.

◆ hGlobalHaloData_MatchedHcalPhiWedgeConstituents

MonitorElement* BeamHaloAnalyzer::hGlobalHaloData_MatchedHcalPhiWedgeConstituents
private

Definition at line 272 of file BeamHaloAnalyzer.h.

◆ hGlobalHaloData_MatchedHcalPhiWedgeEnergy

MonitorElement* BeamHaloAnalyzer::hGlobalHaloData_MatchedHcalPhiWedgeEnergy
private

Definition at line 271 of file BeamHaloAnalyzer.h.

◆ hGlobalHaloData_MatchedHcalPhiWedgeiPhi

MonitorElement* BeamHaloAnalyzer::hGlobalHaloData_MatchedHcalPhiWedgeiPhi
private

Definition at line 273 of file BeamHaloAnalyzer.h.

◆ hGlobalHaloData_MatchedHcalPhiWedgeMaxTime

MonitorElement* BeamHaloAnalyzer::hGlobalHaloData_MatchedHcalPhiWedgeMaxTime
private

Definition at line 275 of file BeamHaloAnalyzer.h.

◆ hGlobalHaloData_MatchedHcalPhiWedgeMinTime

MonitorElement* BeamHaloAnalyzer::hGlobalHaloData_MatchedHcalPhiWedgeMinTime
private

Definition at line 274 of file BeamHaloAnalyzer.h.

◆ hGlobalHaloData_MatchedHcalPhiWedgeMultiplicity

MonitorElement* BeamHaloAnalyzer::hGlobalHaloData_MatchedHcalPhiWedgeMultiplicity
private

Definition at line 270 of file BeamHaloAnalyzer.h.

◆ hGlobalHaloData_MatchedHcalPhiWedgeZDirectionConfidence

MonitorElement* BeamHaloAnalyzer::hGlobalHaloData_MatchedHcalPhiWedgeZDirectionConfidence
private

Definition at line 276 of file BeamHaloAnalyzer.h.

◆ hGlobalHaloData_MExCorrection

MonitorElement* BeamHaloAnalyzer::hGlobalHaloData_MExCorrection
private

Definition at line 264 of file BeamHaloAnalyzer.h.

◆ hGlobalHaloData_MEyCorrection

MonitorElement* BeamHaloAnalyzer::hGlobalHaloData_MEyCorrection
private

Definition at line 265 of file BeamHaloAnalyzer.h.

◆ hGlobalHaloData_RawMETMinusHaloCorrectedMET

MonitorElement* BeamHaloAnalyzer::hGlobalHaloData_RawMETMinusHaloCorrectedMET
private

Definition at line 268 of file BeamHaloAnalyzer.h.

◆ hGlobalHaloData_RawMETOverSumEt

MonitorElement* BeamHaloAnalyzer::hGlobalHaloData_RawMETOverSumEt
private

Definition at line 269 of file BeamHaloAnalyzer.h.

◆ hGlobalHaloData_SumEtCorrection

MonitorElement* BeamHaloAnalyzer::hGlobalHaloData_SumEtCorrection
private

Definition at line 266 of file BeamHaloAnalyzer.h.

◆ hHcalHaloData_PhiWedgeConstituents

MonitorElement* BeamHaloAnalyzer::hHcalHaloData_PhiWedgeConstituents
private

Definition at line 220 of file BeamHaloAnalyzer.h.

◆ hHcalHaloData_PhiWedgeEnergy

MonitorElement* BeamHaloAnalyzer::hHcalHaloData_PhiWedgeEnergy
private

Definition at line 223 of file BeamHaloAnalyzer.h.

◆ hHcalHaloData_PhiWedgeiPhi

MonitorElement* BeamHaloAnalyzer::hHcalHaloData_PhiWedgeiPhi
private

Definition at line 224 of file BeamHaloAnalyzer.h.

◆ hHcalHaloData_PhiWedgeMaxTime

MonitorElement* BeamHaloAnalyzer::hHcalHaloData_PhiWedgeMaxTime
private

Definition at line 226 of file BeamHaloAnalyzer.h.

◆ hHcalHaloData_PhiWedgeMinTime

MonitorElement* BeamHaloAnalyzer::hHcalHaloData_PhiWedgeMinTime
private

Definition at line 225 of file BeamHaloAnalyzer.h.

◆ hHcalHaloData_PhiWedgeMinVsMaxTime

MonitorElement* BeamHaloAnalyzer::hHcalHaloData_PhiWedgeMinVsMaxTime
private

Definition at line 228 of file BeamHaloAnalyzer.h.

◆ hHcalHaloData_PhiWedgeMultiplicity

MonitorElement* BeamHaloAnalyzer::hHcalHaloData_PhiWedgeMultiplicity
private

Definition at line 219 of file BeamHaloAnalyzer.h.

◆ hHcalHaloData_PhiWedgePlusZDirectionConfidence

MonitorElement* BeamHaloAnalyzer::hHcalHaloData_PhiWedgePlusZDirectionConfidence
private

Definition at line 227 of file BeamHaloAnalyzer.h.

◆ hHcalHaloData_PhiWedgeZDirectionConfidence

MonitorElement* BeamHaloAnalyzer::hHcalHaloData_PhiWedgeZDirectionConfidence
private

Definition at line 221 of file BeamHaloAnalyzer.h.

◆ IT_BeamHaloMuon

edm::EDGetTokenT<reco::MuonCollection> BeamHaloAnalyzer::IT_BeamHaloMuon
private

Definition at line 172 of file BeamHaloAnalyzer.h.

◆ IT_BeamHaloSummary

edm::EDGetTokenT<reco::BeamHaloSummary> BeamHaloAnalyzer::IT_BeamHaloSummary
private

Definition at line 184 of file BeamHaloAnalyzer.h.

◆ IT_CaloTower

edm::EDGetTokenT<edm::View<reco::Candidate> > BeamHaloAnalyzer::IT_CaloTower
private

Definition at line 175 of file BeamHaloAnalyzer.h.

◆ IT_CollisionMuon

edm::EDGetTokenT<reco::MuonCollection> BeamHaloAnalyzer::IT_CollisionMuon
private

Definition at line 170 of file BeamHaloAnalyzer.h.

◆ IT_CollisionStandAloneMuon

edm::EDGetTokenT<reco::MuonCollection> BeamHaloAnalyzer::IT_CollisionStandAloneMuon
private

Definition at line 171 of file BeamHaloAnalyzer.h.

◆ IT_CosmicStandAloneMuon

edm::EDGetTokenT<reco::MuonCollection> BeamHaloAnalyzer::IT_CosmicStandAloneMuon
private

Definition at line 173 of file BeamHaloAnalyzer.h.

◆ IT_CSCHaloData

edm::EDGetTokenT<reco::CSCHaloData> BeamHaloAnalyzer::IT_CSCHaloData
private

Definition at line 180 of file BeamHaloAnalyzer.h.

◆ IT_CSCRecHit

edm::EDGetTokenT<CSCRecHit2DCollection> BeamHaloAnalyzer::IT_CSCRecHit
private

Definition at line 160 of file BeamHaloAnalyzer.h.

◆ IT_CSCSegment

edm::EDGetTokenT<CSCSegmentCollection> BeamHaloAnalyzer::IT_CSCSegment
private

Definition at line 169 of file BeamHaloAnalyzer.h.

◆ IT_CSCTimeMapToken

edm::EDGetTokenT<reco::MuonTimeExtraMap> BeamHaloAnalyzer::IT_CSCTimeMapToken
private

Definition at line 185 of file BeamHaloAnalyzer.h.

◆ IT_EBRecHit

edm::EDGetTokenT<EBRecHitCollection> BeamHaloAnalyzer::IT_EBRecHit
private

Definition at line 161 of file BeamHaloAnalyzer.h.

◆ IT_EcalHaloData

edm::EDGetTokenT<reco::EcalHaloData> BeamHaloAnalyzer::IT_EcalHaloData
private

Definition at line 181 of file BeamHaloAnalyzer.h.

◆ IT_EERecHit

edm::EDGetTokenT<EERecHitCollection> BeamHaloAnalyzer::IT_EERecHit
private

Definition at line 162 of file BeamHaloAnalyzer.h.

◆ IT_ESRecHit

edm::EDGetTokenT<ESRecHitCollection> BeamHaloAnalyzer::IT_ESRecHit
private

Definition at line 163 of file BeamHaloAnalyzer.h.

◆ IT_GlobalHaloData

edm::EDGetTokenT<reco::GlobalHaloData> BeamHaloAnalyzer::IT_GlobalHaloData
private

Definition at line 183 of file BeamHaloAnalyzer.h.

◆ IT_HBHERecHit

edm::EDGetTokenT<HBHERecHitCollection> BeamHaloAnalyzer::IT_HBHERecHit
private

Definition at line 164 of file BeamHaloAnalyzer.h.

◆ IT_HcalHaloData

edm::EDGetTokenT<reco::HcalHaloData> BeamHaloAnalyzer::IT_HcalHaloData
private

Definition at line 182 of file BeamHaloAnalyzer.h.

◆ IT_HFRecHit

edm::EDGetTokenT<HFRecHitCollection> BeamHaloAnalyzer::IT_HFRecHit
private

Definition at line 166 of file BeamHaloAnalyzer.h.

◆ IT_HORecHit

edm::EDGetTokenT<HORecHitCollection> BeamHaloAnalyzer::IT_HORecHit
private

Definition at line 165 of file BeamHaloAnalyzer.h.

◆ IT_L1MuGMTReadout

edm::InputTag BeamHaloAnalyzer::IT_L1MuGMTReadout
private

Definition at line 157 of file BeamHaloAnalyzer.h.

◆ IT_met

edm::EDGetTokenT<reco::CaloMETCollection> BeamHaloAnalyzer::IT_met
private

Definition at line 174 of file BeamHaloAnalyzer.h.

◆ IT_Photon

edm::EDGetTokenT<reco::PhotonCollection> BeamHaloAnalyzer::IT_Photon
private

Definition at line 177 of file BeamHaloAnalyzer.h.

◆ IT_SuperCluster

edm::EDGetTokenT<reco::SuperClusterCollection> BeamHaloAnalyzer::IT_SuperCluster
private

Definition at line 176 of file BeamHaloAnalyzer.h.

◆ out

std::ofstream* BeamHaloAnalyzer::out
private

Definition at line 194 of file BeamHaloAnalyzer.h.

◆ OutputFileName

std::string BeamHaloAnalyzer::OutputFileName
private

Definition at line 190 of file BeamHaloAnalyzer.h.

◆ StandardDQM

bool BeamHaloAnalyzer::StandardDQM
private

Definition at line 202 of file BeamHaloAnalyzer.h.

◆ TextFileName

std::string BeamHaloAnalyzer::TextFileName
private

Definition at line 191 of file BeamHaloAnalyzer.h.

◆ TheMatcher

MuonSegmentMatcher* BeamHaloAnalyzer::TheMatcher
private

Definition at line 200 of file BeamHaloAnalyzer.h.

◆ TheService

MuonServiceProxy* BeamHaloAnalyzer::TheService
private

Definition at line 199 of file BeamHaloAnalyzer.h.