|
Last change
on this file since 1118 was 415, checked in by harald, 25 years ago |
|
small changes to read in also cphotons
|
|
File size:
1017 bytes
|
| Line | |
|---|
| 1 | #ifndef __MSimone__
|
|---|
| 2 | #define __MSimone__
|
|---|
| 3 |
|
|---|
| 4 | #include <stdlib.h>
|
|---|
| 5 | #include <stdio.h>
|
|---|
| 6 | #include <string.h>
|
|---|
| 7 | #include <unistd.h>
|
|---|
| 8 | #include <fcntl.h>
|
|---|
| 9 |
|
|---|
| 10 | #include <iostream.h>
|
|---|
| 11 | #include "TObject.h"
|
|---|
| 12 | #include "TNtuple.h"
|
|---|
| 13 |
|
|---|
| 14 | #include "COREventHeader.hxx"
|
|---|
| 15 |
|
|---|
| 16 | //class MSimone : public TObject {
|
|---|
| 17 | class MSimone {
|
|---|
| 18 | private:
|
|---|
| 19 | Float_t PartId; // Type of particle
|
|---|
| 20 | Float_t Energy; // Energy in GeV
|
|---|
| 21 |
|
|---|
| 22 | Float_t Theta; // Theta angle of event
|
|---|
| 23 | Float_t Phi; // Phi angle of event
|
|---|
| 24 |
|
|---|
| 25 | Float_t CoreD; // Core d pos
|
|---|
| 26 | Float_t CoreX; // Core x pos
|
|---|
| 27 | Float_t CoreY; // Core y pos
|
|---|
| 28 |
|
|---|
| 29 | Float_t FirstInt ; // First interaction in cm above sea level
|
|---|
| 30 |
|
|---|
| 31 | Float_t NumCerPhot ; // Number of Cerenkov photons in shower
|
|---|
| 32 |
|
|---|
| 33 | public:
|
|---|
| 34 | MSimone() ;
|
|---|
| 35 |
|
|---|
| 36 | ~MSimone();
|
|---|
| 37 |
|
|---|
| 38 | void Clear();
|
|---|
| 39 |
|
|---|
| 40 | void Print(void);
|
|---|
| 41 |
|
|---|
| 42 | void Transfer ( COREventHeader *e );
|
|---|
| 43 |
|
|---|
| 44 | void NtupFill ( TNtuple *n ) ;
|
|---|
| 45 |
|
|---|
| 46 | void SetNumCerPhot( Int_t iN ) ;
|
|---|
| 47 |
|
|---|
| 48 | // ClassDef(MSimone, 1) //Stores Montecarlo Information
|
|---|
| 49 |
|
|---|
| 50 | };
|
|---|
| 51 |
|
|---|
| 52 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.