CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 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
 
const bool GlobalLooseHaloId () const
 
const bool GlobalTightHaloId () 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
 

Friends

class reco::BeamHaloInfoProducer
 

Detailed Description

Definition at line 23 of file BeamHaloSummary.h.

Constructor & Destructor Documentation

BeamHaloSummary::BeamHaloSummary ( )

Definition at line 12 of file BeamHaloSummary.cc.

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

13 {
14  for( unsigned int i = 0 ; i < 4 ; i++ )
15  {
16  CSCHaloReport.push_back(0);
17  if( i < 2 )
18  {
19  GlobalHaloReport.push_back(0);
20  HcalHaloReport.push_back(0);
21  EcalHaloReport.push_back(0);
22  }
23  }
24 }
int i
Definition: DBlmapReader.cc:9
std::vector< char > CSCHaloReport
std::vector< char > EcalHaloReport
std::vector< char > GlobalHaloReport
std::vector< char > HcalHaloReport
BeamHaloSummary::BeamHaloSummary ( CSCHaloData csc,
EcalHaloData ecal,
HcalHaloData hcal,
GlobalHaloData global 
)

Definition at line 26 of file BeamHaloSummary.cc.

27 {
28 
29 }
virtual reco::BeamHaloSummary::~BeamHaloSummary ( )
inlinevirtual

Definition at line 32 of file BeamHaloSummary.h.

32 {}

Member Function Documentation

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

Definition at line 40 of file BeamHaloSummary.h.

References CSCHaloReport, and edm::false.

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

40 { return CSCHaloReport.size() ? CSCHaloReport[0] : false ; }
std::vector< char > CSCHaloReport
volatile std::atomic< bool > shutdown_flag false
const bool reco::BeamHaloSummary::CSCTightHaloId ( ) const
inline

Definition at line 41 of file BeamHaloSummary.h.

References CSCHaloReport, and edm::false.

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

41 { return CSCHaloReport.size() > 1 ? CSCHaloReport[1] : false ; }
std::vector< char > CSCHaloReport
volatile std::atomic< bool > shutdown_flag false
const bool reco::BeamHaloSummary::EcalLooseHaloId ( ) const
inline

Definition at line 37 of file BeamHaloSummary.h.

References EcalHaloReport, and edm::false.

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

37 { return EcalHaloReport.size() ? EcalHaloReport[0] : false ; }
std::vector< char > EcalHaloReport
volatile std::atomic< bool > shutdown_flag false
const bool reco::BeamHaloSummary::EcalTightHaloId ( ) const
inline

Definition at line 38 of file BeamHaloSummary.h.

References EcalHaloReport, and edm::false.

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

38 { return EcalHaloReport.size() > 1 ? EcalHaloReport[1] : false ; }
std::vector< char > EcalHaloReport
volatile std::atomic< bool > shutdown_flag false
const bool reco::BeamHaloSummary::EventSmellsLikeHalo ( ) const
inline

Definition at line 46 of file BeamHaloSummary.h.

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

Referenced by LooseId().

const bool GlobalLooseHaloId() const
const bool HcalLooseHaloId() const
const bool CSCLooseHaloId() const
const bool EcalLooseHaloId() const
const bool reco::BeamHaloSummary::ExtremeTightId ( ) const
inline

Definition at line 49 of file BeamHaloSummary.h.

References GlobalTightHaloId().

49 { return GlobalTightHaloId() ; }
const bool GlobalTightHaloId() const
std::vector<char>& reco::BeamHaloSummary::GetCSCHaloReport ( )
inline

Definition at line 58 of file BeamHaloSummary.h.

References CSCHaloReport.

58 { return CSCHaloReport ;}
std::vector< char > CSCHaloReport
const std::vector<char>& reco::BeamHaloSummary::GetCSCHaloReport ( ) const
inline

Definition at line 59 of file BeamHaloSummary.h.

References CSCHaloReport.

59 { return CSCHaloReport ; }
std::vector< char > CSCHaloReport
std::vector<char>& reco::BeamHaloSummary::GetEcalHaloReport ( )
inline

Definition at line 55 of file BeamHaloSummary.h.

References EcalHaloReport.

55 {return EcalHaloReport;}
std::vector< char > EcalHaloReport
const std::vector<char>& reco::BeamHaloSummary::GetEcalHaloReport ( ) const
inline

Definition at line 56 of file BeamHaloSummary.h.

References EcalHaloReport.

56 {return EcalHaloReport;}
std::vector< char > EcalHaloReport
std::vector<int>& reco::BeamHaloSummary::GetEcaliPhiSuspects ( )
inline

Definition at line 67 of file BeamHaloSummary.h.

References EcaliPhiSuspects.

67 { return EcaliPhiSuspects ; }
std::vector< int > EcaliPhiSuspects
const std::vector<int>& reco::BeamHaloSummary::GetEcaliPhiSuspects ( ) const
inline

Definition at line 68 of file BeamHaloSummary.h.

References EcaliPhiSuspects.

68 { return EcaliPhiSuspects ; }
std::vector< int > EcaliPhiSuspects
std::vector<char>& reco::BeamHaloSummary::GetGlobalHaloReport ( )
inline

Definition at line 61 of file BeamHaloSummary.h.

References GlobalHaloReport.

61 { return GlobalHaloReport ;}
std::vector< char > GlobalHaloReport
const std::vector<char>& reco::BeamHaloSummary::GetGlobalHaloReport ( ) const
inline

Definition at line 62 of file BeamHaloSummary.h.

References GlobalHaloReport.

62 {return GlobalHaloReport ; }
std::vector< char > GlobalHaloReport
std::vector<int>& reco::BeamHaloSummary::GetGlobaliPhiSuspects ( )
inline

Definition at line 70 of file BeamHaloSummary.h.

References GlobaliPhiSuspects.

70 { return GlobaliPhiSuspects ;}
std::vector< int > GlobaliPhiSuspects
const std::vector<int>& reco::BeamHaloSummary::GetGlobaliPhiSuspects ( ) const
inline

Definition at line 71 of file BeamHaloSummary.h.

References GlobaliPhiSuspects.

71 { return GlobaliPhiSuspects ;}
std::vector< int > GlobaliPhiSuspects
std::vector<char>& reco::BeamHaloSummary::GetHcalHaloReport ( )
inline

Definition at line 52 of file BeamHaloSummary.h.

References HcalHaloReport.

52 {return HcalHaloReport;}
std::vector< char > HcalHaloReport
const std::vector<char>& reco::BeamHaloSummary::GetHcalHaloReport ( ) const
inline

Definition at line 53 of file BeamHaloSummary.h.

References HcalHaloReport.

53 { return HcalHaloReport;}
std::vector< char > HcalHaloReport
std::vector<int>& reco::BeamHaloSummary::GetHcaliPhiSuspects ( )
inline

Definition at line 64 of file BeamHaloSummary.h.

References HcaliPhiSuspects.

64 { return HcaliPhiSuspects ; }
std::vector< int > HcaliPhiSuspects
const std::vector<int>& reco::BeamHaloSummary::GetHcaliPhiSuspects ( ) const
inline

Definition at line 65 of file BeamHaloSummary.h.

References HcaliPhiSuspects.

65 { return HcaliPhiSuspects ; }
std::vector< int > HcaliPhiSuspects
const bool reco::BeamHaloSummary::GlobalLooseHaloId ( ) const
inline

Definition at line 43 of file BeamHaloSummary.h.

References edm::false, and GlobalHaloReport.

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

43 { return GlobalHaloReport.size() ? GlobalHaloReport[0] : false ; }
std::vector< char > GlobalHaloReport
volatile std::atomic< bool > shutdown_flag false
const bool reco::BeamHaloSummary::GlobalTightHaloId ( ) const
inline

Definition at line 44 of file BeamHaloSummary.h.

References edm::false, and GlobalHaloReport.

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

44 { return GlobalHaloReport.size() > 1 ? GlobalHaloReport[1] : false ; }
std::vector< char > GlobalHaloReport
volatile std::atomic< bool > shutdown_flag false
const bool reco::BeamHaloSummary::HcalLooseHaloId ( ) const
inline

Definition at line 34 of file BeamHaloSummary.h.

References edm::false, and HcalHaloReport.

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

34 { return HcalHaloReport.size() ? HcalHaloReport[0] : false ; }
std::vector< char > HcalHaloReport
volatile std::atomic< bool > shutdown_flag false
const bool reco::BeamHaloSummary::HcalTightHaloId ( ) const
inline

Definition at line 35 of file BeamHaloSummary.h.

References edm::false, and HcalHaloReport.

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

35 { return HcalHaloReport.size() > 1 ? HcalHaloReport[1] : false ; }
std::vector< char > HcalHaloReport
volatile std::atomic< bool > shutdown_flag false
const bool reco::BeamHaloSummary::LooseId ( ) const
inline

Definition at line 47 of file BeamHaloSummary.h.

References EventSmellsLikeHalo().

Referenced by BeamHaloAnalyzer::analyze().

47 { return EventSmellsLikeHalo(); }
const bool EventSmellsLikeHalo() const
const bool reco::BeamHaloSummary::TightId ( ) const
inline

Definition at line 48 of file BeamHaloSummary.h.

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

Referenced by BeamHaloAnalyzer::analyze().

const bool EcalTightHaloId() const
const bool HcalTightHaloId() const
const bool GlobalTightHaloId() const
const bool CSCTightHaloId() const

Friends And Related Function Documentation

friend class reco::BeamHaloInfoProducer
friend

Definition at line 24 of file BeamHaloSummary.h.

Member Data Documentation

std::vector<char> reco::BeamHaloSummary::CSCHaloReport
private
std::vector<char> reco::BeamHaloSummary::EcalHaloReport
private
std::vector<int> reco::BeamHaloSummary::EcaliPhiSuspects
private

Definition at line 80 of file BeamHaloSummary.h.

Referenced by GetEcaliPhiSuspects().

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

Definition at line 81 of file BeamHaloSummary.h.

Referenced by GetGlobaliPhiSuspects().

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

Definition at line 79 of file BeamHaloSummary.h.

Referenced by GetHcaliPhiSuspects().