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

Contents of /PamCAL/include/PamVMCCasSD.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
Error occurred while calculating annotation data.
More basic files added

1 #ifndef PAMVMCCASSD_H
2 #define PAMVMCCASSD_H
3 #include <iostream>
4
5 #include "PamVMCDetectorSD.h"
6
7 using std::cout;
8 using std::endl;
9
10 class PamVMCCasSD: public PamVMCDetectorSD{
11
12 // const char* cname;
13
14 public:
15 PamVMCCasSD():PamVMCDetectorSD("pHitData","SID1",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(PamVMCCasSD,1)
57
58 };
59
60 #endif // PAMVMCCASSD_H

  ViewVC Help
Powered by ViewVC 1.1.23