CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes | Friends
reco::BeamHaloSummary Class Reference

#include <BeamHaloSummary.h>

Public Member Functions

 BeamHaloSummary ()
 
 BeamHaloSummary (CSCHaloData &csc, EcalHaloData &ecal, HcalHaloData &hcal, GlobalHaloData &global)
 
const bool CSCLooseHaloId () const
 
const bool CSCTightHaloId () const
 
const bool CSCTightHaloId2015 () const
 
const bool CSCTightHaloIdTrkMuUnveto () const
 
const bool EcalLooseHaloId () const
 
const bool EcalTightHaloId () const
 
const bool EventSmellsLikeHalo () const
 
const bool ExtremeTightId () const
 
std::vector< char > & GetCSCHaloReport ()
 
const std::vector< char > & GetCSCHaloReport () const
 
std::vector< char > & GetEcalHaloReport ()
 
const std::vector< char > & GetEcalHaloReport () const
 
std::vector< int > & GetEcaliPhiSuspects ()
 
const std::vector< int > & GetEcaliPhiSuspects () const
 
std::vector< char > & GetGlobalHaloReport ()
 
const std::vector< char > & GetGlobalHaloReport () const
 
std::vector< int > & GetGlobaliPhiSuspects ()
 
const std::vector< int > & GetGlobaliPhiSuspects () const
 
std::vector< char > & GetHcalHaloReport ()
 
const std::vector< char > & GetHcalHaloReport () const
 
std::vector< int > & GetHcaliPhiSuspects ()
 
const std::vector< int > & GetHcaliPhiSuspects () const
 
std::vector< HaloTowerStrip > & getProblematicStrips ()
 
const std::vector< HaloTowerStrip > & getProblematicStrips () const
 
const bool GlobalLooseHaloId () const
 
const bool GlobalSuperTightHaloId2016 () const
 
const bool GlobalTightHaloId () const
 
const bool GlobalTightHaloId2016 () const
 
const bool HcalLooseHaloId () const
 
const bool HcalTightHaloId () const
 
const bool LooseId () const
 
const bool TightId () const
 
virtual ~BeamHaloSummary ()
 

Private Attributes

std::vector< char > CSCHaloReport
 
std::vector< char > EcalHaloReport
 
std::vector< int > EcaliPhiSuspects
 
std::vector< char > GlobalHaloReport
 
std::vector< int > GlobaliPhiSuspects
 
std::vector< char > HcalHaloReport
 
std::vector< int > HcaliPhiSuspects
 
std::vector< HaloTowerStripproblematicStrips
 

Friends

class reco::BeamHaloInfoProducer
 

Detailed Description

Definition at line 26 of file BeamHaloSummary.h.

Constructor & Destructor Documentation

◆ BeamHaloSummary() [1/2]

BeamHaloSummary::BeamHaloSummary ( )

Definition at line 12 of file BeamHaloSummary.cc.

12  {
13  for (unsigned int i = 0; i < 6; i++) {
14  CSCHaloReport.push_back(0);
15  if (i < 4)
16  GlobalHaloReport.push_back(0);
17  if (i < 2) {
18  HcalHaloReport.push_back(0);
19  EcalHaloReport.push_back(0);
20  }
21  }
22 }

References CSCHaloReport, EcalHaloReport, GlobalHaloReport, HcalHaloReport, and mps_fire::i.

◆ BeamHaloSummary() [2/2]

BeamHaloSummary::BeamHaloSummary ( CSCHaloData csc,
EcalHaloData ecal,
HcalHaloData hcal,
GlobalHaloData global 
)

Definition at line 24 of file BeamHaloSummary.cc.

27  {}

◆ ~BeamHaloSummary()

virtual reco::BeamHaloSummary::~BeamHaloSummary ( )
inlinevirtual

Definition at line 35 of file BeamHaloSummary.h.

35 {}

Member Function Documentation

◆ CSCLooseHaloId()

const bool reco::BeamHaloSummary::CSCLooseHaloId ( ) const
inline

Definition at line 43 of file BeamHaloSummary.h.

43 { return !CSCHaloReport.empty() ? CSCHaloReport[0] : false; }

References CSCHaloReport.

Referenced by BeamHaloAnalyzer::analyze(), and EventSmellsLikeHalo().

◆ CSCTightHaloId()

const bool reco::BeamHaloSummary::CSCTightHaloId ( ) const
inline

Definition at line 44 of file BeamHaloSummary.h.

44 { return CSCHaloReport.size() > 1 ? CSCHaloReport[1] : false; }

References CSCHaloReport.

Referenced by BeamHaloAnalyzer::analyze(), CSCTightHaloFilter::filter(), and TightId().

◆ CSCTightHaloId2015()

const bool reco::BeamHaloSummary::CSCTightHaloId2015 ( ) const
inline

Definition at line 46 of file BeamHaloSummary.h.

46 { return CSCHaloReport.size() > 5 ? CSCHaloReport[5] : false; }

References CSCHaloReport.

Referenced by CSCTightHalo2015Filter::filter().

◆ CSCTightHaloIdTrkMuUnveto()

const bool reco::BeamHaloSummary::CSCTightHaloIdTrkMuUnveto ( ) const
inline

Definition at line 45 of file BeamHaloSummary.h.

45 { return CSCHaloReport.size() > 4 ? CSCHaloReport[4] : false; }

References CSCHaloReport.

Referenced by CSCTightHaloTrkMuUnvetoFilter::filter().

◆ EcalLooseHaloId()

const bool reco::BeamHaloSummary::EcalLooseHaloId ( ) const
inline

Definition at line 40 of file BeamHaloSummary.h.

40 { return !EcalHaloReport.empty() ? EcalHaloReport[0] : false; }

References EcalHaloReport.

Referenced by BeamHaloAnalyzer::analyze(), and EventSmellsLikeHalo().

◆ EcalTightHaloId()

const bool reco::BeamHaloSummary::EcalTightHaloId ( ) const
inline

Definition at line 41 of file BeamHaloSummary.h.

41 { return EcalHaloReport.size() > 1 ? EcalHaloReport[1] : false; }

References EcalHaloReport.

Referenced by BeamHaloAnalyzer::analyze(), and TightId().

◆ EventSmellsLikeHalo()

const bool reco::BeamHaloSummary::EventSmellsLikeHalo ( ) const
inline

Definition at line 53 of file BeamHaloSummary.h.

53  {
55  }

References CSCLooseHaloId(), EcalLooseHaloId(), GlobalLooseHaloId(), and HcalLooseHaloId().

Referenced by LooseId().

◆ ExtremeTightId()

const bool reco::BeamHaloSummary::ExtremeTightId ( ) const
inline

Definition at line 60 of file BeamHaloSummary.h.

60 { return GlobalTightHaloId(); }

References GlobalTightHaloId().

◆ GetCSCHaloReport() [1/2]

std::vector<char>& reco::BeamHaloSummary::GetCSCHaloReport ( )
inline

Definition at line 69 of file BeamHaloSummary.h.

69 { return CSCHaloReport; }

References CSCHaloReport.

◆ GetCSCHaloReport() [2/2]

const std::vector<char>& reco::BeamHaloSummary::GetCSCHaloReport ( ) const
inline

Definition at line 70 of file BeamHaloSummary.h.

70 { return CSCHaloReport; }

References CSCHaloReport.

◆ GetEcalHaloReport() [1/2]

std::vector<char>& reco::BeamHaloSummary::GetEcalHaloReport ( )
inline

Definition at line 66 of file BeamHaloSummary.h.

66 { return EcalHaloReport; }

References EcalHaloReport.

◆ GetEcalHaloReport() [2/2]

const std::vector<char>& reco::BeamHaloSummary::GetEcalHaloReport ( ) const
inline

Definition at line 67 of file BeamHaloSummary.h.

67 { return EcalHaloReport; }

References EcalHaloReport.

◆ GetEcaliPhiSuspects() [1/2]

std::vector<int>& reco::BeamHaloSummary::GetEcaliPhiSuspects ( )
inline

Definition at line 78 of file BeamHaloSummary.h.

78 { return EcaliPhiSuspects; }

References EcaliPhiSuspects.

◆ GetEcaliPhiSuspects() [2/2]

const std::vector<int>& reco::BeamHaloSummary::GetEcaliPhiSuspects ( ) const
inline

Definition at line 79 of file BeamHaloSummary.h.

79 { return EcaliPhiSuspects; }

References EcaliPhiSuspects.

◆ GetGlobalHaloReport() [1/2]

std::vector<char>& reco::BeamHaloSummary::GetGlobalHaloReport ( )
inline

Definition at line 72 of file BeamHaloSummary.h.

72 { return GlobalHaloReport; }

References GlobalHaloReport.

◆ GetGlobalHaloReport() [2/2]

const std::vector<char>& reco::BeamHaloSummary::GetGlobalHaloReport ( ) const
inline

Definition at line 73 of file BeamHaloSummary.h.

73 { return GlobalHaloReport; }

References GlobalHaloReport.

◆ GetGlobaliPhiSuspects() [1/2]

std::vector<int>& reco::BeamHaloSummary::GetGlobaliPhiSuspects ( )
inline

Definition at line 81 of file BeamHaloSummary.h.

81 { return GlobaliPhiSuspects; }

References GlobaliPhiSuspects.

◆ GetGlobaliPhiSuspects() [2/2]

const std::vector<int>& reco::BeamHaloSummary::GetGlobaliPhiSuspects ( ) const
inline

Definition at line 82 of file BeamHaloSummary.h.

82 { return GlobaliPhiSuspects; }

References GlobaliPhiSuspects.

◆ GetHcalHaloReport() [1/2]

std::vector<char>& reco::BeamHaloSummary::GetHcalHaloReport ( )
inline

Definition at line 63 of file BeamHaloSummary.h.

63 { return HcalHaloReport; }

References HcalHaloReport.

◆ GetHcalHaloReport() [2/2]

const std::vector<char>& reco::BeamHaloSummary::GetHcalHaloReport ( ) const
inline

Definition at line 64 of file BeamHaloSummary.h.

64 { return HcalHaloReport; }

References HcalHaloReport.

◆ GetHcaliPhiSuspects() [1/2]

std::vector<int>& reco::BeamHaloSummary::GetHcaliPhiSuspects ( )
inline

Definition at line 75 of file BeamHaloSummary.h.

75 { return HcaliPhiSuspects; }

References HcaliPhiSuspects.

◆ GetHcaliPhiSuspects() [2/2]

const std::vector<int>& reco::BeamHaloSummary::GetHcaliPhiSuspects ( ) const
inline

Definition at line 76 of file BeamHaloSummary.h.

76 { return HcaliPhiSuspects; }

References HcaliPhiSuspects.

◆ getProblematicStrips() [1/2]

std::vector<HaloTowerStrip>& reco::BeamHaloSummary::getProblematicStrips ( )
inline

Definition at line 84 of file BeamHaloSummary.h.

84 { return problematicStrips; }

References problematicStrips.

Referenced by HcalStripHaloFilter::filter().

◆ getProblematicStrips() [2/2]

const std::vector<HaloTowerStrip>& reco::BeamHaloSummary::getProblematicStrips ( ) const
inline

Definition at line 85 of file BeamHaloSummary.h.

85 { return problematicStrips; }

References problematicStrips.

◆ GlobalLooseHaloId()

const bool reco::BeamHaloSummary::GlobalLooseHaloId ( ) const
inline

Definition at line 48 of file BeamHaloSummary.h.

48 { return !GlobalHaloReport.empty() ? GlobalHaloReport[0] : false; }

References GlobalHaloReport.

Referenced by BeamHaloAnalyzer::analyze(), and EventSmellsLikeHalo().

◆ GlobalSuperTightHaloId2016()

const bool reco::BeamHaloSummary::GlobalSuperTightHaloId2016 ( ) const
inline

Definition at line 51 of file BeamHaloSummary.h.

51 { return GlobalHaloReport.size() > 3 ? GlobalHaloReport[3] : false; }

References GlobalHaloReport.

Referenced by GlobalSuperTightHalo2016Filter::filter().

◆ GlobalTightHaloId()

const bool reco::BeamHaloSummary::GlobalTightHaloId ( ) const
inline

Definition at line 49 of file BeamHaloSummary.h.

49 { return GlobalHaloReport.size() > 1 ? GlobalHaloReport[1] : false; }

References GlobalHaloReport.

Referenced by BeamHaloAnalyzer::analyze(), ExtremeTightId(), and TightId().

◆ GlobalTightHaloId2016()

const bool reco::BeamHaloSummary::GlobalTightHaloId2016 ( ) const
inline

Definition at line 50 of file BeamHaloSummary.h.

50 { return GlobalHaloReport.size() > 2 ? GlobalHaloReport[2] : false; }

References GlobalHaloReport.

Referenced by GlobalTightHalo2016Filter::filter().

◆ HcalLooseHaloId()

const bool reco::BeamHaloSummary::HcalLooseHaloId ( ) const
inline

Definition at line 37 of file BeamHaloSummary.h.

37 { return !HcalHaloReport.empty() ? HcalHaloReport[0] : false; }

References HcalHaloReport.

Referenced by BeamHaloAnalyzer::analyze(), and EventSmellsLikeHalo().

◆ HcalTightHaloId()

const bool reco::BeamHaloSummary::HcalTightHaloId ( ) const
inline

Definition at line 38 of file BeamHaloSummary.h.

38 { return HcalHaloReport.size() > 1 ? HcalHaloReport[1] : false; }

References HcalHaloReport.

Referenced by BeamHaloAnalyzer::analyze(), and TightId().

◆ LooseId()

const bool reco::BeamHaloSummary::LooseId ( ) const
inline

Definition at line 56 of file BeamHaloSummary.h.

56 { return EventSmellsLikeHalo(); }

References EventSmellsLikeHalo().

Referenced by BeamHaloAnalyzer::analyze().

◆ TightId()

const bool reco::BeamHaloSummary::TightId ( ) const
inline

Definition at line 57 of file BeamHaloSummary.h.

57  {
59  }

References CSCTightHaloId(), EcalTightHaloId(), GlobalTightHaloId(), and HcalTightHaloId().

Referenced by BeamHaloAnalyzer::analyze().

Friends And Related Function Documentation

◆ reco::BeamHaloInfoProducer

friend class reco::BeamHaloInfoProducer
friend

Definition at line 27 of file BeamHaloSummary.h.

Member Data Documentation

◆ CSCHaloReport

std::vector<char> reco::BeamHaloSummary::CSCHaloReport
private

◆ EcalHaloReport

std::vector<char> reco::BeamHaloSummary::EcalHaloReport
private

◆ EcaliPhiSuspects

std::vector<int> reco::BeamHaloSummary::EcaliPhiSuspects
private

Definition at line 94 of file BeamHaloSummary.h.

Referenced by GetEcaliPhiSuspects().

◆ GlobalHaloReport

std::vector<char> reco::BeamHaloSummary::GlobalHaloReport
private

◆ GlobaliPhiSuspects

std::vector<int> reco::BeamHaloSummary::GlobaliPhiSuspects
private

Definition at line 95 of file BeamHaloSummary.h.

Referenced by GetGlobaliPhiSuspects().

◆ HcalHaloReport

std::vector<char> reco::BeamHaloSummary::HcalHaloReport
private

◆ HcaliPhiSuspects

std::vector<int> reco::BeamHaloSummary::HcaliPhiSuspects
private

Definition at line 93 of file BeamHaloSummary.h.

Referenced by GetHcaliPhiSuspects().

◆ problematicStrips

std::vector<HaloTowerStrip> reco::BeamHaloSummary::problematicStrips
private

Definition at line 97 of file BeamHaloSummary.h.

Referenced by getProblematicStrips().

reco::BeamHaloSummary::CSCTightHaloId
const bool CSCTightHaloId() const
Definition: BeamHaloSummary.h:44
mps_fire.i
i
Definition: mps_fire.py:355
reco::BeamHaloSummary::HcalHaloReport
std::vector< char > HcalHaloReport
Definition: BeamHaloSummary.h:88
reco::BeamHaloSummary::GlobalHaloReport
std::vector< char > GlobalHaloReport
Definition: BeamHaloSummary.h:91
reco::BeamHaloSummary::HcaliPhiSuspects
std::vector< int > HcaliPhiSuspects
Definition: BeamHaloSummary.h:93
reco::BeamHaloSummary::HcalTightHaloId
const bool HcalTightHaloId() const
Definition: BeamHaloSummary.h:38
reco::BeamHaloSummary::CSCHaloReport
std::vector< char > CSCHaloReport
Definition: BeamHaloSummary.h:90
reco::BeamHaloSummary::EcalHaloReport
std::vector< char > EcalHaloReport
Definition: BeamHaloSummary.h:89
reco::BeamHaloSummary::GlobaliPhiSuspects
std::vector< int > GlobaliPhiSuspects
Definition: BeamHaloSummary.h:95
reco::BeamHaloSummary::EcalTightHaloId
const bool EcalTightHaloId() const
Definition: BeamHaloSummary.h:41
reco::BeamHaloSummary::problematicStrips
std::vector< HaloTowerStrip > problematicStrips
Definition: BeamHaloSummary.h:97
reco::BeamHaloSummary::EventSmellsLikeHalo
const bool EventSmellsLikeHalo() const
Definition: BeamHaloSummary.h:53
reco::BeamHaloSummary::HcalLooseHaloId
const bool HcalLooseHaloId() const
Definition: BeamHaloSummary.h:37
reco::BeamHaloSummary::GlobalLooseHaloId
const bool GlobalLooseHaloId() const
Definition: BeamHaloSummary.h:48
reco::BeamHaloSummary::CSCLooseHaloId
const bool CSCLooseHaloId() const
Definition: BeamHaloSummary.h:43
reco::BeamHaloSummary::EcaliPhiSuspects
std::vector< int > EcaliPhiSuspects
Definition: BeamHaloSummary.h:94
reco::BeamHaloSummary::GlobalTightHaloId
const bool GlobalTightHaloId() const
Definition: BeamHaloSummary.h:49
reco::BeamHaloSummary::EcalLooseHaloId
const bool EcalLooseHaloId() const
Definition: BeamHaloSummary.h:40