00001 #include "DataFormats/METReco/interface/PhiWedge.h" 00002 00003 /* 00004 [class]: PhiWedge 00005 [authors]: R. Remington, The University of Florida 00006 [description]: See PhiWedge.h 00007 [date]: October 15, 2009 00008 */ 00009 00010 using namespace reco; 00011 00012 PhiWedge::PhiWedge(){ 00013 energy_ = 0.; 00014 iphi_ = 0; 00015 constituents_ = 0; 00016 OverlappingCSCTracks_ = 0 ; 00017 OverlappingCSCSegments_ = 0; 00018 OverlappingCSCRecHits_ = 0; 00019 OverlappingCSCHaloTriggers_ = 0; 00020 min_time_ = 0.; 00021 max_time_ = 0.; 00022 PlusZOriginConfidence_ = 0.; 00023 } 00024 00025 PhiWedge::PhiWedge(float E, int iphi, int constituents) 00026 { 00027 energy_ = E; 00028 iphi_ = iphi; 00029 constituents_ = constituents; 00030 min_time_ = 0.; 00031 max_time_ = 0.; 00032 OverlappingCSCTracks_ = 0 ; 00033 OverlappingCSCSegments_ = 0; 00034 OverlappingCSCRecHits_ = 0; 00035 OverlappingCSCHaloTriggers_ = 0; 00036 PlusZOriginConfidence_ = 0.; 00037 } 00038 00039 00040 00041 PhiWedge::PhiWedge(float E, int iphi, int constituents, float min_time , float max_time) 00042 { 00043 energy_ = E; 00044 iphi_ = iphi; 00045 min_time_ = min_time; 00046 max_time_ = max_time; 00047 constituents_ = constituents; 00048 OverlappingCSCTracks_ = 0 ; 00049 OverlappingCSCSegments_ = 0; 00050 OverlappingCSCRecHits_ = 0; 00051 OverlappingCSCHaloTriggers_ = 0; 00052 PlusZOriginConfidence_ = 0.; 00053 } 00054 00055 00056 PhiWedge::PhiWedge(const PhiWedge& wedge) 00057 { 00058 energy_ = wedge.Energy(); 00059 iphi_ = wedge.iPhi(); 00060 min_time_ = wedge.MinTime(); 00061 max_time_ = wedge.MaxTime(); 00062 constituents_ = wedge.NumberOfConstituents(); 00063 OverlappingCSCTracks_ = wedge.OverlappingCSCTracks(); 00064 OverlappingCSCHaloTriggers_ = wedge.OverlappingCSCHaloTriggers(); 00065 OverlappingCSCRecHits_ = wedge.OverlappingCSCRecHits(); 00066 OverlappingCSCSegments_ = wedge.OverlappingCSCSegments(); 00067 PlusZOriginConfidence_ = wedge.PlusZOriginConfidence(); 00068 }