AliPhysics
80ccde44 (80ccde44)
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
AliEmcalTriggerDecision.cxx
Go to the documentation of this file.
1
/**************************************************************************
2
* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
3
* *
4
* Author: The ALICE Off-line Project. *
5
* Contributors are mentioned in the code where appropriate. *
6
* *
7
* Permission to use, copy, modify and distribute this software and its *
8
* documentation strictly for non-commercial purposes is hereby granted *
9
* without fee, provided that the above copyright notice appears in all *
10
* copies and that both the copyright notice and this permission notice *
11
* appear in the supporting documentation. The authors make no claims *
12
* about the suitability of this software for any purpose. It is *
13
* provided "as is" without express or implied warranty. *
14
**************************************************************************/
15
/*
16
* Object storing the result of the EMCAL trigger decision. The result is appended to the
17
* input event and can be read out by consumer tasks.
18
*
19
* Author: Markus Fasel
20
*/
21
22
#include "
AliEmcalTriggerDecision.h
"
23
#include "AliEMCALTriggerPatchInfo.h"
24
25
ClassImp(
AliEmcalTriggerDecision
)
26
27
//______________________________________________________________________________
28
AliEmcalTriggerDecision
::
AliEmcalTriggerDecision
():
29
TNamed
(),
30
fMainPatch(NULL),
31
fSelectionCuts(NULL),
32
fAcceptedPatches()
33
{
34
/*
35
* Dummy constructor, needed for I/O, not to be used by the user
36
*/
37
fAcceptedPatches.SetOwner(kFALSE);
38
}
39
40
//______________________________________________________________________________
41
AliEmcalTriggerDecision::AliEmcalTriggerDecision
(
const
char
*name,
const
char
*
title
):
42
TNamed
(name, title),
43
fMainPatch(NULL),
44
fSelectionCuts(NULL),
45
fAcceptedPatches()
46
{
47
/*
48
* The main (named) constructor. The decision object can be read out later by the consumer
49
* task according to the name.
50
*
51
* @param name: Name of the decision object
52
* @param title: Title of the decision object
53
*/
54
fAcceptedPatches
.SetOwner(kFALSE);
55
}
56
57
//______________________________________________________________________________
58
void
AliEmcalTriggerDecision::AddAcceptedPatch
(AliEMCALTriggerPatchInfo *
const
acceptedPatch){
59
/*
60
* Add accepted patch to the trigger decision
61
*
62
* @param patch: the accepted patch
63
*/
64
fAcceptedPatches
.Add(acceptedPatch);
65
}
title
const char * title
Definition:
MakeQAPdf.C:27
AliEmcalTriggerDecision::AliEmcalTriggerDecision
AliEmcalTriggerDecision()
Definition:
AliEmcalTriggerDecision.cxx:28
AliEmcalTriggerDecision::fAcceptedPatches
TList fAcceptedPatches
Definition:
AliEmcalTriggerDecision.h:32
TNamed
Definition:
External.C:84
AliEmcalTriggerDecision::AddAcceptedPatch
void AddAcceptedPatch(AliEMCALTriggerPatchInfo *const acceptedPatch)
Definition:
AliEmcalTriggerDecision.cxx:58
AliEmcalTriggerDecision.h
AliEmcalTriggerDecision
Definition:
AliEmcalTriggerDecision.h:14
PWG
EMCAL
EMCALtrigger
AliEmcalTriggerDecision.cxx
Generated on Wed Aug 16 2017 16:51:14 for AliPhysics by
1.8.6