00001
00002
00003
00004
00005
00006
00008
00009 #include "AnalysisNtuples/ANtpShowerInfo.h"
00010 #include "AnalysisNtuples/ANtpDefaultValue.h"
00011 #include "MessageService/MsgService.h"
00012
00013 #include <cassert>
00014 #include <algorithm>
00015
00016 ClassImp(ANtpShowerInfo)
00017
00018 CVSID("$Id: ANtpShowerInfo.cxx,v 1.10 2005/12/15 19:37:01 brebel Exp $");
00019
00020
00021 ANtpShowerInfo::ANtpShowerInfo() :
00022 planes(ANtpDefVal::kInt),
00023 totalStrips(ANtpDefVal::kInt),
00024 begPlane(ANtpDefVal::kInt),
00025 endPlane(ANtpDefVal::kInt),
00026 vtxX(ANtpDefVal::kFloat),
00027 vtxY(ANtpDefVal::kFloat),
00028 vtxZ(ANtpDefVal::kFloat),
00029 dcosX(ANtpDefVal::kFloat),
00030 dcosY(ANtpDefVal::kFloat),
00031 dcosZ(ANtpDefVal::kFloat),
00032 pulseHeight(ANtpDefVal::kFloat),
00033 linearCCGeV(ANtpDefVal::kFloat),
00034 linearNCGeV(ANtpDefVal::kFloat),
00035 deweightCCGeV(ANtpDefVal::kFloat),
00036 deweightNCGeV(ANtpDefVal::kFloat)
00037 {
00038
00039 MSG("ANtpShowerInfo", Msg::kDebug) << "ANtpShowerInfo::Constructor" << endl;
00040 for(int i = 0; i < 500; ++i) stripsPerPlane[i] = 0;
00041
00042 }
00043
00044
00045 ANtpShowerInfo::~ANtpShowerInfo()
00046 {
00047
00048 MSG("ANtpShowerInfo", Msg::kDebug) << "ANtpShowerInfo::Destructor" << endl;
00049
00050 }
00051
00052
00053 void ANtpShowerInfo::Reset()
00054 {
00055 planes = ANtpDefVal::kInt;
00056 totalStrips = ANtpDefVal::kInt;
00057 begPlane = ANtpDefVal::kInt;
00058 endPlane = ANtpDefVal::kInt;
00059 vtxX = ANtpDefVal::kFloat;
00060 vtxY = ANtpDefVal::kFloat;
00061 vtxZ = ANtpDefVal::kFloat;
00062 dcosX = ANtpDefVal::kFloat;
00063 dcosY = ANtpDefVal::kFloat;
00064 dcosZ = ANtpDefVal::kFloat;
00065 pulseHeight = ANtpDefVal::kFloat;
00066 linearCCGeV = ANtpDefVal::kFloat;
00067 linearNCGeV = ANtpDefVal::kFloat;
00068 deweightCCGeV = ANtpDefVal::kFloat;
00069 deweightNCGeV = ANtpDefVal::kFloat;
00070 for(int i = 0; i < 500; ++i) stripsPerPlane[i] = 0;
00071
00072 return;
00073 }
00074