00001 00002 #include "FarDetEventHandle.h" 00003 00004 ClassImp(FarDetEventHandle) 00005 00006 FarDetEventHandle::FarDetEventHandle() 00007 { 00008 00009 } 00010 00011 FarDetEventHandle::FarDetEventHandle(const FarDetEventHandle &csh) : 00012 CandEventHandle(csh) 00013 { 00014 00015 } 00016 00017 FarDetEventHandle::FarDetEventHandle(FarDetEvent *cs) : 00018 CandEventHandle(cs) 00019 { 00020 00021 } 00022 00023 FarDetEventHandle::~FarDetEventHandle() 00024 { 00025 00026 } 00027 00028 FarDetEventHandle* FarDetEventHandle::DupHandle() const 00029 { 00030 return (new FarDetEventHandle(*this)); 00031 } 00032 00033 void FarDetEventHandle::Trace(const char* c) const 00034 { 00035 CandEventHandle::Trace(c); 00036 } 00037 00038 void FarDetEventHandle::SetMuReco(Int_t muflag) 00039 { 00040 dynamic_cast< FarDetEvent*>(GetOwnedCandBase())->fMuReco=muflag; 00041 } 00042 00043 void FarDetEventHandle::SetEMCharge(Double_t emcharge) 00044 { 00045 dynamic_cast< FarDetEvent*>(GetOwnedCandBase())->fEMCharge=emcharge; 00046 } 00047 00048 void FarDetEventHandle::SetMuMomentumRange(Double_t erange) 00049 { 00050 dynamic_cast< FarDetEvent*>(GetOwnedCandBase())->fMuMomentumRange=erange; 00051 } 00052 00053 void FarDetEventHandle::SetMuMomentumCurve(Double_t ecurve) 00054 { 00055 dynamic_cast< FarDetEvent*>(GetOwnedCandBase())->fMuMomentumCurve=ecurve; 00056 } 00057 00058 void FarDetEventHandle::SetMuDirCosU(Double_t diru) 00059 { 00060 dynamic_cast< FarDetEvent*>(GetOwnedCandBase())->fMuDirCosU=diru; 00061 } 00062 00063 void FarDetEventHandle::SetMuDirCosV(Double_t dirv) 00064 { 00065 dynamic_cast< FarDetEvent*>(GetOwnedCandBase())->fMuDirCosV= dirv; 00066 } 00067 00068 void FarDetEventHandle::SetMuDirCosZ(Double_t dirz) 00069 { 00070 dynamic_cast< FarDetEvent*>(GetOwnedCandBase())->fMuDirCosZ=dirz; 00071 } 00072 00073 void FarDetEventHandle::SetShwReco(Int_t shwflag) 00074 { 00075 dynamic_cast< FarDetEvent*>(GetOwnedCandBase())->fShwReco=shwflag; 00076 } 00077 00078 void FarDetEventHandle::SetShwMipsLinear(Double_t mips) 00079 { 00080 dynamic_cast< FarDetEvent*>(GetOwnedCandBase())->fShwMipsLinear=mips; 00081 } 00082 00083 void FarDetEventHandle::SetShwMipsDeweighted(Double_t mips) 00084 { 00085 dynamic_cast< FarDetEvent*>(GetOwnedCandBase())->fShwMipsDeweighted=mips; 00086 } 00087 00088 void FarDetEventHandle::SetShwEnergyGeV(Double_t gev) 00089 { 00090 dynamic_cast< FarDetEvent*>(GetOwnedCandBase())->fShwEnergyGeV=gev; 00091 } 00092 00093 void FarDetEventHandle::SetShwEnergyGeVLinear(Double_t gevlin) 00094 { 00095 dynamic_cast< FarDetEvent*>(GetOwnedCandBase())->fShwEnergyGeVLinear=gevlin; 00096 } 00097 00098 void FarDetEventHandle::SetShwEnergyGeVDeweighted(Double_t gevdwgt) 00099 { 00100 dynamic_cast< FarDetEvent*>(GetOwnedCandBase())->fShwEnergyGeVDeweighted=gevdwgt; 00101 } 00102 00103 void FarDetEventHandle::SetShwDirCosU(Double_t diru) 00104 { 00105 dynamic_cast< FarDetEvent*>(GetOwnedCandBase())->fShwDirCosU=diru; 00106 } 00107 00108 void FarDetEventHandle::SetShwDirCosV(Double_t dirv) 00109 { 00110 dynamic_cast< FarDetEvent*>(GetOwnedCandBase())->fShwDirCosV=dirv; 00111 } 00112 00113 void FarDetEventHandle::SetShwDirCosZ(Double_t dirz) 00114 { 00115 dynamic_cast< FarDetEvent*>(GetOwnedCandBase())->fShwDirCosZ=dirz; 00116 } 00117 00118 void FarDetEventHandle::SetVtxTime(Double_t vtxtime) 00119 { 00120 dynamic_cast< FarDetEvent*>(GetOwnedCandBase())->fVtxTime=vtxtime; 00121 } 00122 00123 void FarDetEventHandle::SetVtxU(Double_t vtxu) 00124 { 00125 dynamic_cast< FarDetEvent*>(GetOwnedCandBase())->fVtxU=vtxu; 00126 } 00127 00128 void FarDetEventHandle::SetVtxV(Double_t vtxv) 00129 { 00130 dynamic_cast< FarDetEvent*>(GetOwnedCandBase())->fVtxV=vtxv; 00131 } 00132 00133 void FarDetEventHandle::SetVtxZ(Double_t vtxz) 00134 { 00135 dynamic_cast< FarDetEvent*>(GetOwnedCandBase())->fVtxZ=vtxz; 00136 } 00137 00138 void FarDetEventHandle::SetVtxPlane(Int_t vtxpln) 00139 { 00140 dynamic_cast< FarDetEvent*>(GetOwnedCandBase())->fVtxPlane=vtxpln; 00141 } 00142 00143 void FarDetEventHandle::SetMinPlane(Int_t minpln) 00144 { 00145 dynamic_cast< FarDetEvent*>(GetOwnedCandBase())->fMinPlane=minpln; 00146 } 00147 00148 void FarDetEventHandle::SetMaxPlane(Int_t maxpln) 00149 { 00150 dynamic_cast< FarDetEvent*>(GetOwnedCandBase())->fMaxPlane=maxpln; 00151 } 00152 00153 void FarDetEventHandle::SetMinZ(Double_t minz) 00154 { 00155 dynamic_cast< FarDetEvent*>(GetOwnedCandBase())->fMinZ=minz; 00156 } 00157 00158 void FarDetEventHandle::SetMaxZ(Double_t maxz) 00159 { 00160 dynamic_cast< FarDetEvent*>(GetOwnedCandBase())->fMaxZ=maxz; 00161 } 00162 00163 Int_t FarDetEventHandle::GetMuReco() const 00164 { 00165 return dynamic_cast<const FarDetEvent*>(GetCandBase())->fMuReco; 00166 } 00167 00168 Double_t FarDetEventHandle::GetEMCharge() const 00169 { 00170 return dynamic_cast<const FarDetEvent*>(GetCandBase())->fEMCharge; 00171 } 00172 00173 Double_t FarDetEventHandle::GetMuMomentumRange() const 00174 { 00175 return dynamic_cast<const FarDetEvent*>(GetCandBase())->fMuMomentumRange; 00176 } 00177 00178 Double_t FarDetEventHandle::GetMuMomentumCurve() const 00179 { 00180 return dynamic_cast<const FarDetEvent*>(GetCandBase())->fMuMomentumCurve; 00181 } 00182 00183 Double_t FarDetEventHandle::GetMuDirCosU() const 00184 { 00185 return dynamic_cast<const FarDetEvent*>(GetCandBase())->fMuDirCosU; 00186 } 00187 00188 Double_t FarDetEventHandle::GetMuDirCosV() const 00189 { 00190 return dynamic_cast<const FarDetEvent*>(GetCandBase())->fMuDirCosV; 00191 } 00192 00193 Double_t FarDetEventHandle::GetMuDirCosZ() const 00194 { 00195 return dynamic_cast<const FarDetEvent*>(GetCandBase())->fMuDirCosZ; 00196 } 00197 00198 Int_t FarDetEventHandle::GetShwReco() const 00199 { 00200 return dynamic_cast<const FarDetEvent*>(GetCandBase())->fShwReco; 00201 } 00202 00203 Double_t FarDetEventHandle::GetShwMipsLinear() const 00204 { 00205 return dynamic_cast<const FarDetEvent*>(GetCandBase())->fShwMipsLinear; 00206 } 00207 00208 Double_t FarDetEventHandle::GetShwMipsDeweighted() const 00209 { 00210 return dynamic_cast<const FarDetEvent*>(GetCandBase())->fShwMipsDeweighted; 00211 } 00212 00213 Double_t FarDetEventHandle::GetShwEnergyGeV() const 00214 { 00215 return dynamic_cast<const FarDetEvent*>(GetCandBase())->fShwEnergyGeV; 00216 } 00217 00218 Double_t FarDetEventHandle::GetShwEnergyGeVLinear() const 00219 { 00220 return dynamic_cast<const FarDetEvent*>(GetCandBase())->fShwEnergyGeVLinear; 00221 } 00222 00223 Double_t FarDetEventHandle::GetShwEnergyGeVDeweighted() const 00224 { 00225 return dynamic_cast<const FarDetEvent*>(GetCandBase())->fShwEnergyGeVDeweighted; 00226 } 00227 00228 Double_t FarDetEventHandle::GetShwDirCosU() const 00229 { 00230 return dynamic_cast<const FarDetEvent*>(GetCandBase())->fShwDirCosU; 00231 } 00232 00233 Double_t FarDetEventHandle::GetShwDirCosV() const 00234 { 00235 return dynamic_cast<const FarDetEvent*>(GetCandBase())->fShwDirCosV; 00236 } 00237 00238 Double_t FarDetEventHandle::GetShwDirCosZ() const 00239 { 00240 return dynamic_cast<const FarDetEvent*>(GetCandBase())->fShwDirCosZ; 00241 } 00242 00243 Double_t FarDetEventHandle::GetVtxTime() const 00244 { 00245 return dynamic_cast<const FarDetEvent*>(GetCandBase())->fVtxTime; 00246 } 00247 00248 Double_t FarDetEventHandle::GetVtxU() const 00249 { 00250 return dynamic_cast<const FarDetEvent*>(GetCandBase())->fVtxU; 00251 } 00252 00253 Double_t FarDetEventHandle::GetVtxV() const 00254 { 00255 return dynamic_cast<const FarDetEvent*>(GetCandBase())->fVtxV; 00256 } 00257 00258 Double_t FarDetEventHandle::GetVtxZ() const 00259 { 00260 return dynamic_cast<const FarDetEvent*>(GetCandBase())->fVtxZ; 00261 } 00262 00263 Int_t FarDetEventHandle::GetVtxPlane() const 00264 { 00265 return dynamic_cast<const FarDetEvent*>(GetCandBase())->fVtxPlane; 00266 } 00267 00268 Int_t FarDetEventHandle::GetMinPlane() const 00269 { 00270 return dynamic_cast<const FarDetEvent*>(GetCandBase())->fMinPlane; 00271 } 00272 00273 Int_t FarDetEventHandle::GetMaxPlane() const 00274 { 00275 return dynamic_cast<const FarDetEvent*>(GetCandBase())->fMaxPlane; 00276 } 00277 00278 Double_t FarDetEventHandle::GetMinZ() const 00279 { 00280 return dynamic_cast<const FarDetEvent*>(GetCandBase())->fMinZ; 00281 } 00282 00283 Double_t FarDetEventHandle::GetMaxZ() const 00284 { 00285 return dynamic_cast<const FarDetEvent*>(GetCandBase())->fMaxZ; 00286 } 00287 00288 XXXITRIMP(FarDetEventHandle)
1.3.9.1