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
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::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::PhiWedge ( float  E,
int  iphi,
int  constituents 
)

Definition at line 25 of file PhiWedge.cc.

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

26 {
27  energy_ = E;
28  iphi_ = iphi;
29  constituents_ = constituents;
30  min_time_ = 0.;
31  max_time_ = 0.;
37 }
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::PhiWedge ( float  E,
int  iphi,
int  constituents,
float  min_time,
float  max_time 
)

Definition at line 41 of file PhiWedge.cc.

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

42 {
43  energy_ = E;
44  iphi_ = iphi;
45  min_time_ = min_time;
46  max_time_ = max_time;
47  constituents_ = constituents;
53 }
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::PhiWedge ( const PhiWedge wedge)

Definition at line 56 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_.

57 {
58  energy_ = wedge.Energy();
59  iphi_ = wedge.iPhi();
60  min_time_ = wedge.MinTime();
61  max_time_ = wedge.MaxTime();
68 }
float MaxTime() const
Definition: PhiWedge.h:42
float MinTime() const
Definition: PhiWedge.h:41
float Energy() const
Definition: PhiWedge.h:26
int OverlappingCSCRecHits() const
Definition: PhiWedge.h:58
int OverlappingCSCHaloTriggers() const
Definition: PhiWedge.h:59
float energy_
Definition: PhiWedge.h:72
int iPhi() const
Definition: PhiWedge.h:32
int OverlappingCSCTracks() const
Definition: PhiWedge.h:56
float max_time_
Definition: PhiWedge.h:76
int constituents_
Definition: PhiWedge.h:74
int OverlappingCSCSegments() const
Definition: PhiWedge.h:57
int OverlappingCSCRecHits_
Definition: PhiWedge.h:80
int NumberOfConstituents() const
Definition: PhiWedge.h:29
float min_time_
Definition: PhiWedge.h:75
float PlusZOriginConfidence() const
Definition: PhiWedge.h:52
int OverlappingCSCSegments_
Definition: PhiWedge.h:79
int OverlappingCSCTracks_
Definition: PhiWedge.h:78
int OverlappingCSCHaloTriggers_
Definition: PhiWedge.h:81
float PlusZOriginConfidence_
Definition: PhiWedge.h:77
reco::PhiWedge::~PhiWedge ( )
inline

Definition at line 23 of file PhiWedge.h.

23 {}

Member Function Documentation

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

Definition at line 26 of file PhiWedge.h.

References energy_.

Referenced by PhiWedge().

26 {return energy_;}
float energy_
Definition: PhiWedge.h:72
int reco::PhiWedge::iPhi ( ) const
inline

Definition at line 32 of file PhiWedge.h.

References iphi_.

Referenced by PhiWedge().

32 {return iphi_;}
float reco::PhiWedge::MaxTime ( ) const
inline

Definition at line 42 of file PhiWedge.h.

References max_time_.

Referenced by PhiWedge().

42 {return max_time_;}
float max_time_
Definition: PhiWedge.h:76
float reco::PhiWedge::MinTime ( ) const
inline

Definition at line 41 of file PhiWedge.h.

References min_time_.

Referenced by PhiWedge().

41 {return min_time_;}
float min_time_
Definition: PhiWedge.h:75
float reco::PhiWedge::MinusZDirectionConfidence ( ) const
inline

Definition at line 49 of file PhiWedge.h.

References PlusZOriginConfidence_.

49 { return PlusZOriginConfidence_ ;}
float PlusZOriginConfidence_
Definition: PhiWedge.h:77
float reco::PhiWedge::MinusZOriginConfidence ( ) const
inline

Definition at line 53 of file PhiWedge.h.

References PlusZOriginConfidence_.

53 { return 1.- PlusZOriginConfidence_;}
float PlusZOriginConfidence_
Definition: PhiWedge.h:77
int reco::PhiWedge::NumberOfConstituents ( ) const
inline

Definition at line 29 of file PhiWedge.h.

References constituents_.

Referenced by PhiWedge().

29 {return constituents_;}
int constituents_
Definition: PhiWedge.h:74
int reco::PhiWedge::OverlappingCSCHaloTriggers ( ) const
inline

Definition at line 59 of file PhiWedge.h.

References OverlappingCSCHaloTriggers_.

Referenced by PhiWedge().

int OverlappingCSCHaloTriggers_
Definition: PhiWedge.h:81
int reco::PhiWedge::OverlappingCSCRecHits ( ) const
inline

Definition at line 58 of file PhiWedge.h.

References OverlappingCSCRecHits_.

Referenced by PhiWedge().

58 {return OverlappingCSCRecHits_;}
int OverlappingCSCRecHits_
Definition: PhiWedge.h:80
int reco::PhiWedge::OverlappingCSCSegments ( ) const
inline

Definition at line 57 of file PhiWedge.h.

References OverlappingCSCSegments_.

Referenced by PhiWedge().

int OverlappingCSCSegments_
Definition: PhiWedge.h:79
int reco::PhiWedge::OverlappingCSCTracks ( ) const
inline

Definition at line 56 of file PhiWedge.h.

References OverlappingCSCTracks_.

Referenced by PhiWedge().

56 {return OverlappingCSCTracks_;}
int OverlappingCSCTracks_
Definition: PhiWedge.h:78
float reco::PhiWedge::PhiHigh ( ) const
inline

Definition at line 38 of file PhiWedge.h.

References iphi_, and Pi.

38 {return 2.*TMath::Pi()*(float)((iphi_* 5));}
const double Pi
float reco::PhiWedge::PhiLow ( ) const
inline

Definition at line 35 of file PhiWedge.h.

References iphi_, and Pi.

35 {return 2.*TMath::Pi()*(float)((iphi_ * 5)-(5.));}
const double Pi
float reco::PhiWedge::PlusZDirectionConfidence ( ) const
inline

Definition at line 48 of file PhiWedge.h.

References PlusZOriginConfidence_.

48 { return 1.-PlusZOriginConfidence_;}
float PlusZOriginConfidence_
Definition: PhiWedge.h:77
float reco::PhiWedge::PlusZOriginConfidence ( ) const
inline

Definition at line 52 of file PhiWedge.h.

References PlusZOriginConfidence_.

Referenced by PhiWedge().

52 { return PlusZOriginConfidence_ ;}
float PlusZOriginConfidence_
Definition: PhiWedge.h:77
void reco::PhiWedge::SetMinMaxTime ( float  min,
float  max 
)
inline

Definition at line 66 of file PhiWedge.h.

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

66 { min_time_ = min; max_time_ = max;}
float max_time_
Definition: PhiWedge.h:76
T min(T a, T b)
Definition: MathUtil.h:58
float min_time_
Definition: PhiWedge.h:75
void reco::PhiWedge::SetOverlappingCSCHaloTriggers ( int  x)
inline

Definition at line 65 of file PhiWedge.h.

References OverlappingCSCHaloTriggers_, and x.

Definition: DDAxes.h:10
int OverlappingCSCHaloTriggers_
Definition: PhiWedge.h:81
void reco::PhiWedge::SetOverlappingCSCRecHits ( int  x)
inline

Definition at line 64 of file PhiWedge.h.

References OverlappingCSCRecHits_, and x.

Referenced by GlobalHaloAlgo::Calculate().

int OverlappingCSCRecHits_
Definition: PhiWedge.h:80
Definition: DDAxes.h:10
void reco::PhiWedge::SetOverlappingCSCSegments ( int  x)
inline

Definition at line 63 of file PhiWedge.h.

References OverlappingCSCSegments_, and x.

Referenced by GlobalHaloAlgo::Calculate().

int OverlappingCSCSegments_
Definition: PhiWedge.h:79
Definition: DDAxes.h:10
void reco::PhiWedge::SetOverlappingCSCTracks ( int  x)
inline

Definition at line 62 of file PhiWedge.h.

References OverlappingCSCTracks_, and x.

int OverlappingCSCTracks_
Definition: PhiWedge.h:78
Definition: DDAxes.h:10
void reco::PhiWedge::SetPlusZOriginConfidence ( float  x)
inline

Definition at line 67 of file PhiWedge.h.

References PlusZOriginConfidence_, and x.

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

Definition: DDAxes.h:10
float PlusZOriginConfidence_
Definition: PhiWedge.h:77
float reco::PhiWedge::ZDirectionConfidence ( ) const
inline

Definition at line 47 of file PhiWedge.h.

References PlusZOriginConfidence_.

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

Member Data Documentation

int reco::PhiWedge::constituents_
private

Definition at line 74 of file PhiWedge.h.

Referenced by NumberOfConstituents(), and PhiWedge().

float reco::PhiWedge::energy_
private

Definition at line 72 of file PhiWedge.h.

Referenced by Energy(), and PhiWedge().

int reco::PhiWedge::iphi_
private

Definition at line 73 of file PhiWedge.h.

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

float reco::PhiWedge::max_time_
private

Definition at line 76 of file PhiWedge.h.

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

float reco::PhiWedge::min_time_
private

Definition at line 75 of file PhiWedge.h.

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

int reco::PhiWedge::OverlappingCSCHaloTriggers_
private

Definition at line 81 of file PhiWedge.h.

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

int reco::PhiWedge::OverlappingCSCRecHits_
private

Definition at line 80 of file PhiWedge.h.

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

int reco::PhiWedge::OverlappingCSCSegments_
private

Definition at line 79 of file PhiWedge.h.

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

int reco::PhiWedge::OverlappingCSCTracks_
private

Definition at line 78 of file PhiWedge.h.

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

float reco::PhiWedge::PlusZOriginConfidence_
private