File indexing completed on 2024-04-06 12:04:47
0001 #ifndef MuonReco_MuonEnergy_h
0002 #define MuonReco_MuonEnergy_h
0003
0004 #include "DataFormats/DetId/interface/DetId.h"
0005 #include "DataFormats/Math/interface/Point3D.h"
0006 #include "DataFormats/HcalDetId/interface/HcalDetId.h"
0007 #include <vector>
0008 namespace reco {
0009 struct HcalMuonRecHit {
0010 float energy;
0011 float chi2;
0012 float time;
0013 HcalDetId detId;
0014 HcalMuonRecHit() : energy(0), chi2(0), time(0) {}
0015 };
0016
0017 struct MuonEnergy {
0018
0019
0020 float tower;
0021
0022 float towerS9;
0023
0024
0025
0026 float em;
0027
0028 float emS9;
0029
0030 float emS25;
0031
0032 float emMax;
0033
0034
0035
0036 float had;
0037
0038 float hadS9;
0039
0040 float hadMax;
0041
0042 float ho;
0043
0044 float hoS9;
0045
0046
0047 float ecal_time;
0048 float ecal_timeError;
0049 float hcal_time;
0050 float hcal_timeError;
0051
0052
0053 math::XYZPointF ecal_position;
0054 math::XYZPointF hcal_position;
0055
0056
0057 DetId ecal_id;
0058
0059
0060 DetId hcal_id;
0061
0062
0063
0064
0065
0066 std::vector<HcalMuonRecHit> crossedHadRecHits;
0067
0068 MuonEnergy()
0069 : tower(0),
0070 towerS9(0),
0071 em(0),
0072 emS9(0),
0073 emS25(0),
0074 emMax(0),
0075 had(0),
0076 hadS9(0),
0077 hadMax(0),
0078 ho(0),
0079 hoS9(0),
0080 ecal_time(0),
0081 ecal_timeError(0),
0082 hcal_time(0),
0083 hcal_timeError(0) {}
0084 };
0085 }
0086 #endif