]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONGlobalTrigger.cxx
Fix for multiple events per file: inhibit decrease of size of fParticleFileMap.
[u/mrichter/AliRoot.git] / MUON / AliMUONGlobalTrigger.cxx
CommitLineData
a9e2aefa 1/**************************************************************************
2 * Copyright(c) 1998-1999, 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/*
17
18*/
19
20#include "AliMUONGlobalTrigger.h"
21
22ClassImp(AliMUONGlobalTrigger);
23//----------------------------------------------------------------------
24AliMUONGlobalTrigger::AliMUONGlobalTrigger()
25{
26// constructor
27 fSinglePlusLpt = 0;
28 fSinglePlusHpt = 0;
29 fSinglePlusApt = 0;
30
31 fSingleMinusLpt = 0;
32 fSingleMinusHpt = 0;
33 fSingleMinusApt = 0;
34
35 fSingleUndefLpt = 0;
36 fSingleUndefHpt = 0;
37 fSingleUndefApt = 0;
38
39 fPairUnlikeLpt = 0;
40 fPairUnlikeHpt = 0;
41 fPairUnlikeApt = 0;
42
43 fPairLikeLpt = 0;
44 fPairLikeHpt = 0;
45 fPairLikeApt = 0;
46}
47//----------------------------------------------------------------------
48AliMUONGlobalTrigger::AliMUONGlobalTrigger(Int_t *singlePlus,
49 Int_t *singleMinus,
50 Int_t *singleUndef,
51 Int_t *pairUnlike, Int_t *pairLike)
52{
53// Set the Global Trigger object
54 fSinglePlusLpt = singlePlus[0];
55 fSinglePlusHpt = singlePlus[1];
56 fSinglePlusApt = singlePlus[2];
57
58 fSingleMinusLpt = singleMinus[0];
59 fSingleMinusHpt = singleMinus[1];
60 fSingleMinusApt = singleMinus[2];
61
62 fSingleUndefLpt = singleUndef[0];
63 fSingleUndefHpt = singleUndef[1];
64 fSingleUndefApt = singleUndef[2];
65
66 fPairUnlikeLpt = pairUnlike[0];
67 fPairUnlikeHpt = pairUnlike[1];
68 fPairUnlikeApt = pairUnlike[2];
69
70 fPairLikeLpt = pairLike[0];
71 fPairLikeHpt = pairLike[1];
72 fPairLikeApt = pairLike[2];
73}