source: JEM-EUSO/esaf_cc_at_lal/packages/simulation/detector/electronics/include/EDetectorPhotonAdder.hh @ 114

Last change on this file since 114 was 114, checked in by moretto, 11 years ago

actual version of ESAF at CCin2p3

File size: 868 bytes
Line 
1// ESAF : Euso Simulation and Analysis Framework
2// $Id: EDetectorPhotonAdder.hh 2261 2005-10-24 10:40:26Z pesce $
3// Author: A.Thea created Oct, 24 2003
4
5#ifndef __EDETECTORPHOTONADDER_HH_
6#define __EDETECTORPHOTONADDER_HH_
7
8#include <TArrayI.h>
9#include "euso.hh"
10#include "EFiller.hh"
11#include "EsafMsgSource.hh"
12
13class Photon;
14class PmtSignal;
15
16class EDetectorPhotonAdder : public EFiller, public EsafMsgSource {
17public:
18    // ctor
19    EDetectorPhotonAdder(Photon*, PmtSignal*, Bool_t newph = false);
20   
21    // alternative ctor to fill photon history
22    EDetectorPhotonAdder(TArrayI);
23
24    // dtor
25    virtual ~EDetectorPhotonAdder();
26
27    virtual void Fill( EFillable *);
28
29private:
30    Photon *fPhoton;
31    PmtSignal *fSignal;
32    Bool_t fNewPh;
33
34    TArrayI fPhotonHistory;
35
36    ClassDef(EDetectorPhotonAdder,0)
37};
38
39#endif  /* __EDETECTORPHOTONADDER_HH_ */
40
Note: See TracBrowser for help on using the repository browser.