/[PAMELA software]/PamCAL/include/PamVMCCatSD.h
ViewVC logotype

Contents of /PamCAL/include/PamVMCCatSD.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Nov 12 10:10:18 2007 UTC (17 years ago) by nikolas
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/plain
More basic files added

1 #ifndef PAMVMCCATSD_H
2 #define PAMVMCCATSD_H
3 #include <iostream>
4
5 #include "PamVMCDetectorSD.h"
6
7 using std::cout;
8 using std::endl;
9
10 class PamVMCCatSD: public PamVMCDetectorSD{
11
12 // const char* cname;
13
14 public:
15 PamVMCCatSD():PamVMCDetectorSD("pHitData","MGSC",1000)
16 {
17 //cname=dname;
18 };
19
20
21 // virtual void FillHit(fin f,TVirtualMC *g){
22
23
24 // switch(f) {
25 // case ENTERING:
26
27 // CleanHit();
28 // FillVolID();
29 // InitHit();
30
31 // default:
32 // UpdateHit(g);
33
34 ///// // cout<<"NEW HIT ENTERING OR INSIDE "<<fnohit<<" in "<<cname<<" PDG="<<fhit.GetPDG()<<" at "<<g->TrackTime()<<" fTOF is: "<<fhit.GetTOF()<<endl;
35 // break;
36 // }
37
38 //switch(f){
39 //case EXITING:
40 //// // Save hit if energy release is greater than zero
41 // if(fhit.GetEREL()){
42 //if(fdetID->FillVolID()){
43 /// //cout<<"saving"<<fdetID->GetID()<<endl;
44 /// //cout<<"NEW HIT EXITING "<<fnohit<<" in "<<cname<<" PDG="<<fhit.GetPDG()<<" at"<<fhit.GetTOF()<<endl;
45 // SaveHit(cname);
46 //} else {
47 // cout << "TOF FillVolID false" <<endl;
48 //}
49 // }
50 // break;
51 //default:
52 // break;
53 //}
54 //}
55
56 ClassDef(PamVMCCatSD,1)
57
58 };
59
60 #endif // PAMVMCCATSD_H

  ViewVC Help
Powered by ViewVC 1.1.23