AliMpReader splitted into AliMpMotifReader and AliMpSectorReader
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpPadPair.h
CommitLineData
5f91c9e8 1// $Id$
2// Category: basic
3//
4// Class AliMpPadPair
5// ------------------
6// Wrap up for std::pair<AliMpPad, AliMpPad>
7// to avoid problems with CINT.
8//
9// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
10
11#ifndef ALI_MP_PAD_PAIR_H
12#define ALI_MP_PAD_PAIR_H
13
5f91c9e8 14#include "AliMpPad.h"
15
16class AliMpPadPair : public TObject
17{
18 public:
19 AliMpPadPair(const AliMpPad& pad1, const AliMpPad& pad2);
20 AliMpPadPair(const AliMpPadPair& pair);
21 AliMpPadPair();
22 virtual ~AliMpPadPair();
23
24 // operators
25 Bool_t operator == (const AliMpPadPair& right) const;
26 Bool_t operator != (const AliMpPadPair& right) const;
27 AliMpPadPair& operator = (const AliMpPadPair& right);
28
29 // methods
30 AliMpPad GetFirst() const;
31 AliMpPad GetSecond() const;
32
33 private:
34 // data members
f79c58a5 35 AliMpPad fPadFirst; // first pad
36 AliMpPad fPadSecond; // second pad
37
5f91c9e8 38
39 ClassDef(AliMpPadPair,1) //utility class for the motif type
40};
41
42// inline functions
43
f79c58a5 44inline AliMpPad AliMpPadPair::GetFirst() const { return fPadFirst; }
45inline AliMpPad AliMpPadPair::GetSecond() const { return fPadSecond; }
5f91c9e8 46
47
48#endif //ALI_MP_PAD_PAIR_H