VMC
Version 2.2
Toggle main menu visibility
Loading...
Searching...
No Matches
source
include
TVirtualMCSensitiveDetector.h
Go to the documentation of this file.
1
// -----------------------------------------------------------------------
2
// Copyright (C) 2019 CERN and copyright holders of VMC Project.
3
// This software is distributed under the terms of the GNU General Public
4
// License v3 (GPL Version 3), copied verbatim in the file "LICENSE".
5
//
6
// See https://github.com/vmc-project/vmc for full licensing information.
7
// -----------------------------------------------------------------------
8
9
// Authors: Ivana Hrivnacova 19/04/2018
10
11
/*************************************************************************
12
* Copyright (C) 2006, Rene Brun and Fons Rademakers. *
13
* Copyright (C) 2018 ALICE Experiment at CERN. *
14
* All rights reserved. *
15
* *
16
* For the licensing terms see $ROOTSYS/LICENSE. *
17
* For the list of contributors see $ROOTSYS/README/CREDITS. *
18
*************************************************************************/
19
20
#ifndef ROOT_TVirtualMCSensitiveDetector
21
#define ROOT_TVirtualMCSensitiveDetector
22
23
// Class TVirtualMCSensitiveDetector
24
// ---------------------------------
25
// Interface to a user defined particles stack.
26
//
27
28
#include "TNamed.h"
29
30
class
TParticle;
31
32
class
TVirtualMCSensitiveDetector
:
public
TNamed {
33
34
public
:
35
// Constructor
36
TVirtualMCSensitiveDetector
(
const
char
*name,
const
char
*title =
""
);
37
TVirtualMCSensitiveDetector
(
const
TString &name,
const
TString &title =
""
);
38
39
// Destructor
40
virtual
~TVirtualMCSensitiveDetector
();
41
44
virtual
void
Initialize
() = 0;
45
48
virtual
void
ProcessHits
() = 0;
49
52
virtual
void
EndOfEvent
() = 0;
53
54
protected
:
55
// Default constructor
56
TVirtualMCSensitiveDetector
();
57
// Copy constructor
58
TVirtualMCSensitiveDetector
(
const
TVirtualMCSensitiveDetector
&rhs);
59
// Assignment constructor
60
TVirtualMCSensitiveDetector
&
operator=
(
const
TVirtualMCSensitiveDetector
&rhs);
61
62
ClassDef(
TVirtualMCSensitiveDetector
, 1)
// Interface to a user sensitive detector
63
};
64
65
#endif
// ROOT_TVirtualMCSensitiveDetector
TVirtualMCSensitiveDetector::TVirtualMCSensitiveDetector
TVirtualMCSensitiveDetector(const char *name, const char *title="")
Standard constructor.
Definition
TVirtualMCSensitiveDetector.cxx:33
TVirtualMCSensitiveDetector::EndOfEvent
virtual void EndOfEvent()=0
End of event.
TVirtualMCSensitiveDetector::~TVirtualMCSensitiveDetector
virtual ~TVirtualMCSensitiveDetector()
Destructor.
Definition
TVirtualMCSensitiveDetector.cxx:61
TVirtualMCSensitiveDetector::TVirtualMCSensitiveDetector
TVirtualMCSensitiveDetector()
Default constructor.
Definition
TVirtualMCSensitiveDetector.cxx:46
TVirtualMCSensitiveDetector::ProcessHits
virtual void ProcessHits()=0
Process hits.
TVirtualMCSensitiveDetector::Initialize
virtual void Initialize()=0
Initialize detector.
TVirtualMCSensitiveDetector::operator=
TVirtualMCSensitiveDetector & operator=(const TVirtualMCSensitiveDetector &rhs)
Assignment operator.
Definition
TVirtualMCSensitiveDetector.cxx:66
Generated on
for VMC by
1.17.0