/[PAMELA software]/trieste/pamVMC/include/PamVMCVolCross.h
ViewVC logotype

Contents of /trieste/pamVMC/include/PamVMCVolCross.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Wed Mar 4 12:51:12 2009 UTC (15 years, 9 months ago) by pamelats
Branch: MAIN, pamVMC
CVS Tags: start, v0r00, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
Test pamVMC

1 #ifndef PAMVMC_VOL_CROSS_H
2 #define PAMVMC_VOL_CROSS_H
3 #include <iostream>
4 #include <TObject.h>
5 #include <TString.h>
6 #include <TObjString.h>
7 #include <TMap.h>
8 #include "PamVMCGeoID.h"
9 #include "PamVMCGeoIDMgr.h"
10 //#include <TG4G3Units.h>
11
12 class PamVMCVolCross : public TObject {
13
14 protected:
15
16 TString fdname;
17 PamVMCGeoID *fdetID;
18
19 public:
20
21
22 PamVMCVolCross(char *dname=""): fdname(dname), fdetID(0)
23 {
24 fdetID=new PamVMCGeoID(dname);
25 }
26
27
28 virtual ~PamVMCVolCross() { delete fdetID;}
29
30 virtual void CrossVol(){
31 fdetID->FillVolID();
32 FillCrossMap();
33 }
34
35 virtual void FillCrossMap()=0;
36
37 virtual void Reset()=0;
38
39 virtual Bool_t IsVolCross(){ return kFALSE; };
40
41
42
43 ClassDef(PamVMCVolCross,1)
44 };
45
46
47 #endif //PAMVMC_VOL_CROSS_H

  ViewVC Help
Powered by ViewVC 1.1.23