Changeset 17200
- Timestamp:
- 10/06/13 12:08:11 (11 years ago)
- Location:
- trunk/Mars
- Files:
-
- 49 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars
-
Property svn:ignore
set to
merpp
ganymed
sponde
mars
readraw
showlog
mars-config
MCint.cc
readcorsika
MCint.h
readdaq
ceres
MDep.d
callisto
showplot
star
-
Property svn:ignore
set to
-
trunk/Mars/libnova
-
Property svn:ignore
set to
NovaCint.cc
NovaCint.h
NovaDep.d
-
Property svn:ignore
set to
-
trunk/Mars/manalysis
-
Property svn:ignore
set to
AnalysisCint.cc
AnalysisCint.h
AnalysisDep.d
-
Property svn:ignore
set to
-
trunk/Mars/mastro
-
Property svn:ignore
set to
AstroCint.cc
AstroCint.h
AstroDep.d
-
Property svn:ignore
set to
-
trunk/Mars/mbadpixels
-
Property svn:ignore
set to
BadPixelsCint.h
BadPixelsDep.d
BadPixelsCint.cc
-
Property svn:ignore
set to
-
trunk/Mars/mbase
-
Property svn:ignore
set to
BaseDep.d
BaseCint.cc
BaseCint.h
-
Property svn:ignore
set to
-
trunk/Mars/mcalib
-
Property svn:ignore
set to
CalibDep.d
CalibCint.h
CalibCint.cc
-
Property svn:ignore
set to
-
trunk/Mars/mcamera
-
Property svn:ignore
set to
CameraCint.h
CameraCint.cc
CameraDep.d
-
Property svn:ignore
set to
-
trunk/Mars/mcorsika
-
Property svn:ignore
set to
CorsikaCint.cc
CorsikaCint.h
CorsikaDep.d
-
Property svn:ignore
set to
-
trunk/Mars/mdata
-
Property svn:ignore
set to
DataDep.d
DataCint.cc
DataCint.h
-
Property svn:ignore
set to
-
trunk/Mars/mdrs
-
Property svn:ignore
set to
DrsCint.cc
DrsCint.h
DrsDep.d
-
Property svn:ignore
set to
-
trunk/Mars/melectronics
-
Property svn:ignore
set to
ElectronicsDep.d
ElectronicsCint.cc
ElectronicsCint.h
-
Property svn:ignore
set to
-
trunk/Mars/melectronics/ElectronicsLinkDef.h
r9473 r17200 6 6 7 7 #pragma link C++ class APD+; 8 #pragma link C++ class Afterpulse; 8 9 #pragma link C++ class MAnalogSignal+; 9 10 #pragma link C++ class MDigitalSignal+; -
trunk/Mars/melectronics/MAvalanchePhotoDiode.cc
r17018 r17200 71 71 // apd.IncreaseTime(dtend); 72 72 // 73 // // Now you can excess the afterpulses by73 // // Now you can access the afterpulses by 74 74 // TIter Next(&a->GetListOfAfterpulses()); 75 75 // Afterpulse *ap = 0; … … 94 94 #include "MLog.h" 95 95 #include "MLogManip.h" 96 #include "Afterpulse.h" 96 97 97 98 ClassImp(APD); -
trunk/Mars/melectronics/MAvalanchePhotoDiode.h
r10115 r17200 122 122 }; 123 123 124 class Afterpulse : public TObject125 {126 private:127 UInt_t fCellIndex; // Index of G-APD cell the afterpulse belongs to128 129 Float_t fTime; // Time at which the afterpulse avalanch broke through130 Float_t fAmplitude; // Amplitude (crosstalk!) the pulse produced131 132 Int_t Compare(const TObject *obj) const133 {134 return static_cast<const Afterpulse*>(obj)->fTime>fTime ? -1 : 1;135 }136 137 Bool_t IsSortable() const { return kTRUE; }138 139 public:140 Afterpulse(UInt_t idx, Float_t t) : fCellIndex(idx), fTime(t), fAmplitude(0) { }141 142 UInt_t GetCellIndex() const { return fCellIndex; }143 144 Float_t GetTime() const { return fTime; }145 Float_t GetAmplitude() const { return fAmplitude; }146 147 Float_t Process(APD &apd)148 {149 // Do not process afterpulses twice (e.g. HitRelative + IncreaseTime)150 // This should not happen anyway151 // if (fAmplitude>0)152 // return fAmplitude;153 154 const UInt_t nx = apd.GetNumCellsX()+2;155 156 const UInt_t x = fCellIndex%nx;157 const UInt_t y = fCellIndex/nx;158 159 fAmplitude = apd.HitCellImp(x, y, fTime);160 161 return fAmplitude;162 }163 };164 165 124 #endif -
trunk/Mars/melectronics/Makefile
r9518 r17200 22 22 23 23 SRCFILES = MAvalanchePhotoDiode.cc \ 24 Afterpulse.cc \ 24 25 MAnalogSignal.cc \ 25 26 MAnalogChannels.cc \ -
trunk/Mars/mextralgo
-
Property svn:ignore
set to
ExtralgoDep.d
ExtralgoCint.cc
ExtralgoCint.h
-
Property svn:ignore
set to
-
trunk/Mars/mfbase
-
Property svn:ignore
set to
FBaseCint.cc
FBaseDep.d
FBaseCint.h
-
Property svn:ignore
set to
-
trunk/Mars/mfileio
-
Property svn:ignore
set to
FileIODep.d
FileIOCint.cc
FileIOCint.h
-
Property svn:ignore
set to
-
trunk/Mars/mfilter
-
Property svn:ignore
set to
FilterCint.cc
FilterCint.h
FilterDep.d
-
Property svn:ignore
set to
-
trunk/Mars/mgeom
-
Property svn:ignore
set to
GeomCint.cc
GeomCint.h
GeomDep.d
-
Property svn:ignore
set to
-
trunk/Mars/mgui
-
Property svn:ignore
set to
GuiDep.d
GuiCint.cc
GuiCint.h
-
Property svn:ignore
set to
-
trunk/Mars/mhbase
-
Property svn:ignore
set to
HBaseCint.cc
HBaseCint.h
HBaseDep.d
-
Property svn:ignore
set to
-
trunk/Mars/mhcalib
-
Property svn:ignore
set to
HCalibCint.cc
HCalibDep.d
HCalibCint.h
-
Property svn:ignore
set to
-
trunk/Mars/mhflux
-
Property svn:ignore
set to
FluxCint.h
FluxCint.cc
FluxDep.d
-
Property svn:ignore
set to
-
trunk/Mars/mhft
-
Property svn:ignore
set to
HftCint.cc
HftCint.h
HftDep.d
-
Property svn:ignore
set to
-
trunk/Mars/mhist
-
Property svn:ignore
set to
HistDep.d
HistCint.cc
HistCint.h
-
Property svn:ignore
set to
-
trunk/Mars/mhvstime
-
Property svn:ignore
set to
HVsTimeCint.cc
HVsTimeCint.h
HVsTimeDep.d
-
Property svn:ignore
set to
-
trunk/Mars/mimage
-
Property svn:ignore
set to
ImageDep.d
ImageCint.h
ImageCint.cc
-
Property svn:ignore
set to
-
trunk/Mars/mjobs
-
Property svn:ignore
set to
JobsCint.cc
JobsCint.h
JobsDep.d
-
Property svn:ignore
set to
-
trunk/Mars/mjoptim
-
Property svn:ignore
set to
OptimCint.cc
OptimCint.h
OptimDep.d
-
Property svn:ignore
set to
-
trunk/Mars/mjtrain
-
Property svn:ignore
set to
TrainCint.cc
TrainCint.h
TrainDep.d
-
Property svn:ignore
set to
-
trunk/Mars/mmain
-
Property svn:ignore
set to
MainCint.cc
MainCint.h
MainDep.d
-
Property svn:ignore
set to
-
trunk/Mars/mmc
-
Property svn:ignore
set to
McCint.cc
McCint.h
McDep.d
-
Property svn:ignore
set to
-
trunk/Mars/mmovie
-
Property svn:ignore
set to
MovieCint.cc
MovieCint.h
MovieDep.d
-
Property svn:ignore
set to
-
trunk/Mars/mmuon
-
Property svn:ignore
set to
MuonCint.cc
MuonCint.h
MuonDep.d
-
Property svn:ignore
set to
-
trunk/Mars/mpedestal
-
Property svn:ignore
set to
PedestalCint.cc
PedestalCint.h
PedestalDep.d
-
Property svn:ignore
set to
-
trunk/Mars/mpointing
-
Property svn:ignore
set to
PointingCint.cc
PointingCint.h
PointingDep.d
-
Property svn:ignore
set to
-
trunk/Mars/mranforest
-
Property svn:ignore
set to
RanForestCint.cc
RanForestCint.h
RanForestDep.d
-
Property svn:ignore
set to
-
trunk/Mars/mraw
-
Property svn:ignore
set to
RawCint.cc
RawCint.h
RawDep.d
-
Property svn:ignore
set to
-
trunk/Mars/mreport
-
Property svn:ignore
set to
ReportCint.h
ReportDep.d
ReportCint.cc
-
Property svn:ignore
set to
-
trunk/Mars/msignal
-
Property svn:ignore
set to
SignalCint.cc
SignalCint.h
SignalDep.d
-
Property svn:ignore
set to
-
trunk/Mars/msim
-
Property svn:ignore
set to
SimCint.cc
SimCint.h
SimDep.d
-
Property svn:ignore
set to
-
trunk/Mars/msimcamera
-
Property svn:ignore
set to
SimCameraCint.cc
SimCameraCint.h
SimCameraDep.d
-
Property svn:ignore
set to
-
trunk/Mars/msimcamera/MSimAPD.cc
r17067 r17200 69 69 70 70 #include "MAvalanchePhotoDiode.h" 71 #include "Afterpulse.h" 71 72 72 73 ClassImp(MSimAPD); -
trunk/Mars/msimreflector
-
Property svn:ignore
set to
SimReflectorCint.cc
SimReflectorCint.h
SimReflectorDep.d
-
Property svn:ignore
set to
-
trunk/Mars/msql
-
Property svn:ignore
set to
SqlCint.cc
SqlCint.h
SqlDep.d
-
Property svn:ignore
set to
-
trunk/Mars/mtools
-
Property svn:ignore
set to
ToolsCint.cc
ToolsDep.d
ToolsCint.h
-
Property svn:ignore
set to
-
trunk/Mars/mtrigger
-
Property svn:ignore
set to
TriggerCint.cc
TriggerCint.h
TriggerDep.d
-
Property svn:ignore
set to
Note:
See TracChangeset
for help on using the changeset viewer.