source: trunk/Mars/msimcamera/MTruePhotonsPerPixelCont.cc@ 18145

Last change on this file since 18145 was 17662, checked in by ftemme, 11 years ago
Added the new MTruePhotonsPerPixelCont MParContainer to store the mctruth of the number of cherenkov photons and so on. Also made the necessary changes in SimCameraLinkDef and Makefile
File size: 1.0 KB
Line 
1#include "MTruePhotonsPerPixelCont.h"
2ClassImp(MTruePhotonsPerPixelCont);
3
4MTruePhotonsPerPixelCont::MTruePhotonsPerPixelCont(const char *name, const char *title)
5{
6 cherenkov_photons_weight = new MArrayF(1440);
7 cherenkov_photons_number = new MArrayF(1440);
8 muon_cherenkov_photons_weight = new MArrayF(1440);
9 muon_cherenkov_photons_number = new MArrayF(1440);
10 noise_photons_weight = new MArrayF(1440);
11 cherenkov_arrival_time_mean = new MArrayF(1440);
12 cherenkov_arrival_time_variance = new MArrayF(1440);
13 cherenkov_arrival_time_min = new MArrayF(1440);
14 cherenkov_arrival_time_max = new MArrayF(1440);
15}
16
17MTruePhotonsPerPixelCont::~MTruePhotonsPerPixelCont(){
18 delete cherenkov_photons_weight;
19 delete cherenkov_photons_number;
20 delete muon_cherenkov_photons_weight;
21 delete muon_cherenkov_photons_number;
22 delete noise_photons_weight;
23 delete cherenkov_arrival_time_mean;
24 delete cherenkov_arrival_time_variance;
25 delete cherenkov_arrival_time_min;
26 delete cherenkov_arrival_time_max;
27}
Note: See TracBrowser for help on using the repository browser.