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 (const PhiWedge &)
 
 PhiWedge (float E, int iphi, int constituents)
 
 PhiWedge (float E, int iphi, int constituents, float min_time, float max_time)
 
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 ( )

◆ 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)

◆ ~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.

25 { return energy_; }

References energy_.

Referenced by PhiWedge().

◆ iPhi()

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

Definition at line 31 of file PhiWedge.h.

31 { return iphi_; }

References iphi_.

Referenced by PhiWedge().

◆ MaxTime()

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

Definition at line 41 of file PhiWedge.h.

41 { return max_time_; }

References max_time_.

Referenced by PhiWedge().

◆ MinTime()

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

Definition at line 40 of file PhiWedge.h.

40 { return min_time_; }

References min_time_.

Referenced by PhiWedge().

◆ MinusZDirectionConfidence()

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

Definition at line 48 of file PhiWedge.h.

48 { return PlusZOriginConfidence_; }

References PlusZOriginConfidence_.

◆ MinusZOriginConfidence()

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

Definition at line 52 of file PhiWedge.h.

52 { return 1. - PlusZOriginConfidence_; }

References PlusZOriginConfidence_.

◆ NumberOfConstituents()

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

Definition at line 28 of file PhiWedge.h.

28 { return constituents_; }

References constituents_.

Referenced by PhiWedge().

◆ OverlappingCSCHaloTriggers()

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

Definition at line 58 of file PhiWedge.h.

References OverlappingCSCHaloTriggers_.

Referenced by PhiWedge().

◆ OverlappingCSCRecHits()

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

Definition at line 57 of file PhiWedge.h.

57 { return OverlappingCSCRecHits_; }

References OverlappingCSCRecHits_.

Referenced by PhiWedge().

◆ OverlappingCSCSegments()

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

Definition at line 56 of file PhiWedge.h.

56 { return OverlappingCSCSegments_; }

References OverlappingCSCSegments_.

Referenced by PhiWedge().

◆ OverlappingCSCTracks()

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

Definition at line 55 of file PhiWedge.h.

55 { return OverlappingCSCTracks_; }

References OverlappingCSCTracks_.

Referenced by PhiWedge().

◆ PhiHigh()

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

Definition at line 37 of file PhiWedge.h.

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

References dqmMemoryStats::float, iphi_, and Pi.

◆ PhiLow()

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

Definition at line 34 of file PhiWedge.h.

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

References dqmMemoryStats::float, iphi_, and Pi.

◆ PlusZDirectionConfidence()

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

Definition at line 47 of file PhiWedge.h.

47 { return 1. - PlusZOriginConfidence_; }

References PlusZOriginConfidence_.

◆ PlusZOriginConfidence()

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

Definition at line 51 of file PhiWedge.h.

51 { return PlusZOriginConfidence_; }

References PlusZOriginConfidence_.

Referenced by PhiWedge().

◆ SetMinMaxTime()

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

Definition at line 65 of file PhiWedge.h.

65  {
66  min_time_ = min;
67  max_time_ = max;
68  }

References SiStripPI::max, max_time_, min(), and min_time_.

◆ SetOverlappingCSCHaloTriggers()

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

Definition at line 64 of file PhiWedge.h.

References OverlappingCSCHaloTriggers_.

◆ SetOverlappingCSCRecHits()

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

Definition at line 63 of file PhiWedge.h.

References OverlappingCSCRecHits_.

Referenced by GlobalHaloAlgo::Calculate().

◆ SetOverlappingCSCSegments()

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

Definition at line 62 of file PhiWedge.h.

References OverlappingCSCSegments_.

Referenced by GlobalHaloAlgo::Calculate().

◆ SetOverlappingCSCTracks()

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

Definition at line 61 of file PhiWedge.h.

References OverlappingCSCTracks_.

◆ SetPlusZOriginConfidence()

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

Definition at line 69 of file PhiWedge.h.

References PlusZOriginConfidence_.

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

◆ ZDirectionConfidence()

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

Definition at line 46 of file PhiWedge.h.

46 { return (1. - PlusZOriginConfidence_) * 2. - 1.; }

References PlusZOriginConfidence_.

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
reco::PhiWedge::OverlappingCSCRecHits_
int OverlappingCSCRecHits_
Definition: PhiWedge.h:80
reco::PhiWedge::PlusZOriginConfidence
float PlusZOriginConfidence() const
Definition: PhiWedge.h:51
reco::PhiWedge::OverlappingCSCSegments_
int OverlappingCSCSegments_
Definition: PhiWedge.h:79
dqmMemoryStats.float
float
Definition: dqmMemoryStats.py:127
reco::PhiWedge::constituents_
int constituents_
Definition: PhiWedge.h:74
reco::PhiWedge::iphi_
int iphi_
Definition: PhiWedge.h:73
min
T min(T a, T b)
Definition: MathUtil.h:58
reco::PhiWedge::min_time_
float min_time_
Definition: PhiWedge.h:75
reco::PhiWedge::Energy
float Energy() const
Definition: PhiWedge.h:25
reco::PhiWedge::OverlappingCSCTracks
int OverlappingCSCTracks() const
Definition: PhiWedge.h:55
reco::PhiWedge::OverlappingCSCTracks_
int OverlappingCSCTracks_
Definition: PhiWedge.h:78
reco::PhiWedge::MaxTime
float MaxTime() const
Definition: PhiWedge.h:41
reco::PhiWedge::PlusZOriginConfidence_
float PlusZOriginConfidence_
Definition: PhiWedge.h:77
LEDCalibrationChannels.iphi
iphi
Definition: LEDCalibrationChannels.py:64
reco::PhiWedge::OverlappingCSCSegments
int OverlappingCSCSegments() const
Definition: PhiWedge.h:56
reco::PhiWedge::OverlappingCSCHaloTriggers
int OverlappingCSCHaloTriggers() const
Definition: PhiWedge.h:58
vertices_cff.x
x
Definition: vertices_cff.py:29
reco::PhiWedge::OverlappingCSCHaloTriggers_
int OverlappingCSCHaloTriggers_
Definition: PhiWedge.h:81
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
reco::PhiWedge::MinTime
float MinTime() const
Definition: PhiWedge.h:40
reco::PhiWedge::NumberOfConstituents
int NumberOfConstituents() const
Definition: PhiWedge.h:28
reco::PhiWedge::max_time_
float max_time_
Definition: PhiWedge.h:76
reco::PhiWedge::OverlappingCSCRecHits
int OverlappingCSCRecHits() const
Definition: PhiWedge.h:57
reco::PhiWedge::energy_
float energy_
Definition: PhiWedge.h:72
Pi
const double Pi
Definition: CosmicMuonParameters.h:18
reco::PhiWedge::iPhi
int iPhi() const
Definition: PhiWedge.h:31