AliPhysics
vAN-20150630 (513c479)
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Macros
AliEmcalTriggerSetupInfo.cxx
Go to the documentation of this file.
1
// $Id$
2
//
3
// Emcal particle trigger class, which can contain either
4
//
5
// Author: J.Kral
6
7
#include "
AliEmcalTriggerSetupInfo.h
"
8
#include "AliLog.h"
9
10
//_________________________________________________________________________________________________
11
AliEmcalTriggerSetupInfo::AliEmcalTriggerSetupInfo
() :
12
TNamed(),
13
fThresholds(),
14
fThresholdsSimple()
15
{
16
// Default constructor.
17
for
(
int
i = 0; i < 4; i++ )
18
fThresholds
[i] = -1;
19
for
(
int
i = 0; i < 4; i++ )
20
fThresholdsSimple
[i] = -1;
21
}
22
23
24
//_________________________________________________________________________________________________
25
AliEmcalTriggerSetupInfo::AliEmcalTriggerSetupInfo
(
const
AliEmcalTriggerSetupInfo
&p) :
26
TNamed(p)
27
{
28
// Copy constructor.
29
for
(
int
i = 0; i < 4; i++ )
30
fThresholds
[i] = p.
fThresholds
[i];
31
for
(
int
i = 0; i < 4; i++ )
32
fThresholdsSimple
[i] = p.
fThresholdsSimple
[i];
33
}
34
35
//_________________________________________________________________________________________________
36
AliEmcalTriggerSetupInfo::~AliEmcalTriggerSetupInfo
()
37
{
38
// Destructor.
39
}
40
41
//_________________________________________________________________________________________________
42
AliEmcalTriggerSetupInfo
&
AliEmcalTriggerSetupInfo::operator=
(
const
AliEmcalTriggerSetupInfo
&p)
43
{
44
// Assignment operator.
45
46
if
(
this
!= &p) {
47
for
(
int
i = 0; i < 4; i++ )
48
fThresholds
[i] = p.
fThresholds
[i];
49
for
(
int
i = 0; i < 4; i++ )
50
fThresholdsSimple
[i] = p.
fThresholdsSimple
[i];
51
}
52
53
return
*
this
;
54
}
55
56
//_________________________________________________________________________________________________
57
void
AliEmcalTriggerSetupInfo::Clean
(){
58
// cleaner
59
for
(
int
i = 0; i < 4; i++ )
60
fThresholds
[i] = -1;
61
for
(
int
i = 0; i < 4; i++ )
62
fThresholdsSimple
[i] = -1;
63
}
64
AliEmcalTriggerSetupInfo::operator=
AliEmcalTriggerSetupInfo & operator=(const AliEmcalTriggerSetupInfo &p)
Definition:
AliEmcalTriggerSetupInfo.cxx:42
AliEmcalTriggerSetupInfo::~AliEmcalTriggerSetupInfo
virtual ~AliEmcalTriggerSetupInfo()
Definition:
AliEmcalTriggerSetupInfo.cxx:36
AliEmcalTriggerSetupInfo::AliEmcalTriggerSetupInfo
AliEmcalTriggerSetupInfo()
Definition:
AliEmcalTriggerSetupInfo.cxx:11
AliEmcalTriggerSetupInfo::fThresholds
Int_t fThresholds[4]
Definition:
AliEmcalTriggerSetupInfo.h:43
AliEmcalTriggerSetupInfo.h
AliEmcalTriggerSetupInfo::fThresholdsSimple
Int_t fThresholdsSimple[4]
Definition:
AliEmcalTriggerSetupInfo.h:44
AliEmcalTriggerSetupInfo::Clean
void Clean()
Definition:
AliEmcalTriggerSetupInfo.cxx:57
AliEmcalTriggerSetupInfo
Definition:
AliEmcalTriggerSetupInfo.h:11
PWG
EMCAL
AliEmcalTriggerSetupInfo.cxx
Generated on Tue Jun 30 2015 16:21:04 for AliPhysics by
1.8.6