CMS 3D CMS Logo

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

#include <PhiWedge.h>

Public Member Functions

float Energy () const
 
int iPhi () const
 
float MaxTime () const
 
float MinTime () const
 
float MinusZDirectionConfidence () const
 
float MinusZOriginConfidence () const
 
int NumberOfConstituents () const
 
int OverlappingCSCHaloTriggers () const
 
int OverlappingCSCRecHits () const
 
int OverlappingCSCSegments () const
 
int OverlappingCSCTracks () const
 
float PhiHigh () const
 
float PhiLow () const
 
 PhiWedge ()
 
 PhiWedge (float E, int iphi, int constituents)
 
 PhiWedge (float E, int iphi, int constituents, float min_time, float max_time)
 
 PhiWedge (const PhiWedge &)
 
float PlusZDirectionConfidence () const
 
float PlusZOriginConfidence () const
 
void SetMinMaxTime (float min, float max)
 
void SetOverlappingCSCHaloTriggers (int x)
 
void SetOverlappingCSCRecHits (int x)
 
void SetOverlappingCSCSegments (int x)
 
void SetOverlappingCSCTracks (int x)
 
void SetPlusZOriginConfidence (float x)
 
float ZDirectionConfidence () const
 
 ~PhiWedge ()
 

Private Attributes

int constituents_
 
float energy_
 
int iphi_
 
float max_time_
 
float min_time_
 
int OverlappingCSCHaloTriggers_
 
int OverlappingCSCRecHits_
 
int OverlappingCSCSegments_
 
int OverlappingCSCTracks_
 
float PlusZOriginConfidence_
 

Detailed Description

Definition at line 13 of file PhiWedge.h.

Constructor & Destructor Documentation

◆ PhiWedge() [1/4]

PhiWedge::PhiWedge ( )

Definition at line 12 of file PhiWedge.cc.

References constituents_, energy_, iphi_, max_time_, min_time_, OverlappingCSCHaloTriggers_, OverlappingCSCRecHits_, OverlappingCSCSegments_, OverlappingCSCTracks_, and PlusZOriginConfidence_.

12  {
13  energy_ = 0.;
14  iphi_ = 0;
15  constituents_ = 0;
20  min_time_ = 0.;
21  max_time_ = 0.;
23 }
float energy_
Definition: PhiWedge.h:72
float max_time_
Definition: PhiWedge.h:76
int constituents_
Definition: PhiWedge.h:74
int OverlappingCSCRecHits_
Definition: PhiWedge.h:80
float min_time_
Definition: PhiWedge.h:75
int OverlappingCSCSegments_
Definition: PhiWedge.h:79
int OverlappingCSCTracks_
Definition: PhiWedge.h:78
int OverlappingCSCHaloTriggers_
Definition: PhiWedge.h:81
float PlusZOriginConfidence_
Definition: PhiWedge.h:77

◆ PhiWedge() [2/4]

PhiWedge::PhiWedge ( float  E,
int  iphi,
int  constituents 
)

◆ PhiWedge() [3/4]

PhiWedge::PhiWedge ( float  E,
int  iphi,
int  constituents,
float  min_time,
float  max_time 
)

◆ PhiWedge() [4/4]

PhiWedge::PhiWedge ( const PhiWedge wedge)

Definition at line 51 of file PhiWedge.cc.

References constituents_, Energy(), energy_, iPhi(), iphi_, max_time_, MaxTime(), min_time_, MinTime(), NumberOfConstituents(), OverlappingCSCHaloTriggers(), OverlappingCSCHaloTriggers_, OverlappingCSCRecHits(), OverlappingCSCRecHits_, OverlappingCSCSegments(), OverlappingCSCSegments_, OverlappingCSCTracks(), OverlappingCSCTracks_, PlusZOriginConfidence(), and PlusZOriginConfidence_.

51  {
52  energy_ = wedge.Energy();
53  iphi_ = wedge.iPhi();
54  min_time_ = wedge.MinTime();
55  max_time_ = wedge.MaxTime();
62 }
float energy_
Definition: PhiWedge.h:72
float max_time_
Definition: PhiWedge.h:76
int OverlappingCSCRecHits() const
Definition: PhiWedge.h:57
int NumberOfConstituents() const
Definition: PhiWedge.h:28
float MinTime() const
Definition: PhiWedge.h:40
int constituents_
Definition: PhiWedge.h:74
int iPhi() const
Definition: PhiWedge.h:31
int OverlappingCSCRecHits_
Definition: PhiWedge.h:80
float PlusZOriginConfidence() const
Definition: PhiWedge.h:51
float MaxTime() const
Definition: PhiWedge.h:41
float min_time_
Definition: PhiWedge.h:75
int OverlappingCSCTracks() const
Definition: PhiWedge.h:55
int OverlappingCSCSegments_
Definition: PhiWedge.h:79
int OverlappingCSCHaloTriggers() const
Definition: PhiWedge.h:58
int OverlappingCSCTracks_
Definition: PhiWedge.h:78
float Energy() const
Definition: PhiWedge.h:25
int OverlappingCSCSegments() const
Definition: PhiWedge.h:56
int OverlappingCSCHaloTriggers_
Definition: PhiWedge.h:81
float PlusZOriginConfidence_
Definition: PhiWedge.h:77

◆ ~PhiWedge()

reco::PhiWedge::~PhiWedge ( )
inline

Definition at line 22 of file PhiWedge.h.

22 {}

Member Function Documentation

◆ Energy()

float reco::PhiWedge::Energy ( ) const
inline

Definition at line 25 of file PhiWedge.h.

References energy_.

Referenced by PhiWedge().

25 { return energy_; }
float energy_
Definition: PhiWedge.h:72

◆ iPhi()

int reco::PhiWedge::iPhi ( ) const
inline

Definition at line 31 of file PhiWedge.h.

References iphi_.

Referenced by PhiWedge().

31 { return iphi_; }

◆ MaxTime()

float reco::PhiWedge::MaxTime ( ) const
inline

Definition at line 41 of file PhiWedge.h.

References max_time_.

Referenced by PhiWedge().

41 { return max_time_; }
float max_time_
Definition: PhiWedge.h:76

◆ MinTime()

float reco::PhiWedge::MinTime ( ) const
inline

Definition at line 40 of file PhiWedge.h.

References min_time_.

Referenced by PhiWedge().

40 { return min_time_; }
float min_time_
Definition: PhiWedge.h:75

◆ MinusZDirectionConfidence()

float reco::PhiWedge::MinusZDirectionConfidence ( ) const
inline

Definition at line 48 of file PhiWedge.h.

References PlusZOriginConfidence_.

48 { return PlusZOriginConfidence_; }
float PlusZOriginConfidence_
Definition: PhiWedge.h:77

◆ MinusZOriginConfidence()

float reco::PhiWedge::MinusZOriginConfidence ( ) const
inline

Definition at line 52 of file PhiWedge.h.

References PlusZOriginConfidence_.

52 { return 1. - PlusZOriginConfidence_; }
float PlusZOriginConfidence_
Definition: PhiWedge.h:77

◆ NumberOfConstituents()

int reco::PhiWedge::NumberOfConstituents ( ) const
inline

Definition at line 28 of file PhiWedge.h.

References constituents_.

Referenced by PhiWedge().

28 { return constituents_; }
int constituents_
Definition: PhiWedge.h:74

◆ OverlappingCSCHaloTriggers()

int reco::PhiWedge::OverlappingCSCHaloTriggers ( ) const
inline

Definition at line 58 of file PhiWedge.h.

References OverlappingCSCHaloTriggers_.

Referenced by PhiWedge().

int OverlappingCSCHaloTriggers_
Definition: PhiWedge.h:81

◆ OverlappingCSCRecHits()

int reco::PhiWedge::OverlappingCSCRecHits ( ) const
inline

Definition at line 57 of file PhiWedge.h.

References OverlappingCSCRecHits_.

Referenced by PhiWedge().

57 { return OverlappingCSCRecHits_; }
int OverlappingCSCRecHits_
Definition: PhiWedge.h:80

◆ OverlappingCSCSegments()

int reco::PhiWedge::OverlappingCSCSegments ( ) const
inline

Definition at line 56 of file PhiWedge.h.

References OverlappingCSCSegments_.

Referenced by PhiWedge().

56 { return OverlappingCSCSegments_; }
int OverlappingCSCSegments_
Definition: PhiWedge.h:79

◆ OverlappingCSCTracks()

int reco::PhiWedge::OverlappingCSCTracks ( ) const
inline

Definition at line 55 of file PhiWedge.h.

References OverlappingCSCTracks_.

Referenced by PhiWedge().

55 { return OverlappingCSCTracks_; }
int OverlappingCSCTracks_
Definition: PhiWedge.h:78

◆ PhiHigh()

float reco::PhiWedge::PhiHigh ( ) const
inline

Definition at line 37 of file PhiWedge.h.

References dqmMemoryStats::float, iphi_, and Pi.

37 { return 2. * TMath::Pi() * (float)((iphi_ * 5)); }
const double Pi

◆ PhiLow()

float reco::PhiWedge::PhiLow ( ) const
inline

Definition at line 34 of file PhiWedge.h.

References dqmMemoryStats::float, iphi_, and Pi.

34 { return 2. * TMath::Pi() * (float)((iphi_ * 5) - (5.)); }
const double Pi

◆ PlusZDirectionConfidence()

float reco::PhiWedge::PlusZDirectionConfidence ( ) const
inline

Definition at line 47 of file PhiWedge.h.

References PlusZOriginConfidence_.

47 { return 1. - PlusZOriginConfidence_; }
float PlusZOriginConfidence_
Definition: PhiWedge.h:77

◆ PlusZOriginConfidence()

float reco::PhiWedge::PlusZOriginConfidence ( ) const
inline

Definition at line 51 of file PhiWedge.h.

References PlusZOriginConfidence_.

Referenced by PhiWedge().

51 { return PlusZOriginConfidence_; }
float PlusZOriginConfidence_
Definition: PhiWedge.h:77

◆ SetMinMaxTime()

void reco::PhiWedge::SetMinMaxTime ( float  min,
float  max 
)
inline

◆ SetOverlappingCSCHaloTriggers()

void reco::PhiWedge::SetOverlappingCSCHaloTriggers ( int  x)
inline

Definition at line 64 of file PhiWedge.h.

References OverlappingCSCHaloTriggers_, and x.

◆ SetOverlappingCSCRecHits()

void reco::PhiWedge::SetOverlappingCSCRecHits ( int  x)
inline

Definition at line 63 of file PhiWedge.h.

References OverlappingCSCRecHits_, and x.

Referenced by GlobalHaloAlgo::Calculate().

◆ SetOverlappingCSCSegments()

void reco::PhiWedge::SetOverlappingCSCSegments ( int  x)
inline

Definition at line 62 of file PhiWedge.h.

References OverlappingCSCSegments_, and x.

Referenced by GlobalHaloAlgo::Calculate().

◆ SetOverlappingCSCTracks()

void reco::PhiWedge::SetOverlappingCSCTracks ( int  x)
inline

Definition at line 61 of file PhiWedge.h.

References OverlappingCSCTracks_, and x.

◆ SetPlusZOriginConfidence()

void reco::PhiWedge::SetPlusZOriginConfidence ( float  x)
inline

Definition at line 69 of file PhiWedge.h.

References PlusZOriginConfidence_, and x.

Referenced by HcalHaloAlgo::Calculate(), and EcalHaloAlgo::Calculate().

◆ ZDirectionConfidence()

float reco::PhiWedge::ZDirectionConfidence ( ) const
inline

Definition at line 46 of file PhiWedge.h.

References PlusZOriginConfidence_.

46 { return (1. - PlusZOriginConfidence_) * 2. - 1.; }
float PlusZOriginConfidence_
Definition: PhiWedge.h:77

Member Data Documentation

◆ constituents_

int reco::PhiWedge::constituents_
private

Definition at line 74 of file PhiWedge.h.

Referenced by NumberOfConstituents(), and PhiWedge().

◆ energy_

float reco::PhiWedge::energy_
private

Definition at line 72 of file PhiWedge.h.

Referenced by Energy(), and PhiWedge().

◆ iphi_

int reco::PhiWedge::iphi_
private

Definition at line 73 of file PhiWedge.h.

Referenced by iPhi(), PhiHigh(), PhiLow(), and PhiWedge().

◆ max_time_

float reco::PhiWedge::max_time_
private

Definition at line 76 of file PhiWedge.h.

Referenced by MaxTime(), PhiWedge(), and SetMinMaxTime().

◆ min_time_

float reco::PhiWedge::min_time_
private

Definition at line 75 of file PhiWedge.h.

Referenced by MinTime(), PhiWedge(), and SetMinMaxTime().

◆ OverlappingCSCHaloTriggers_

int reco::PhiWedge::OverlappingCSCHaloTriggers_
private

Definition at line 81 of file PhiWedge.h.

Referenced by OverlappingCSCHaloTriggers(), PhiWedge(), and SetOverlappingCSCHaloTriggers().

◆ OverlappingCSCRecHits_

int reco::PhiWedge::OverlappingCSCRecHits_
private

Definition at line 80 of file PhiWedge.h.

Referenced by OverlappingCSCRecHits(), PhiWedge(), and SetOverlappingCSCRecHits().

◆ OverlappingCSCSegments_

int reco::PhiWedge::OverlappingCSCSegments_
private

Definition at line 79 of file PhiWedge.h.

Referenced by OverlappingCSCSegments(), PhiWedge(), and SetOverlappingCSCSegments().

◆ OverlappingCSCTracks_

int reco::PhiWedge::OverlappingCSCTracks_
private

Definition at line 78 of file PhiWedge.h.

Referenced by OverlappingCSCTracks(), PhiWedge(), and SetOverlappingCSCTracks().

◆ PlusZOriginConfidence_

float reco::PhiWedge::PlusZOriginConfidence_
private