]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/AliTRDsegmentID.h
Stand-alone library for ESD. Possibility to use only root and lidESD.so for analysis...
[u/mrichter/AliRoot.git] / TRD / AliTRDsegmentID.h
CommitLineData
f7336fa3 1#ifndef ALITRDSEGMENTID_H
2#define ALITRDSEGMENTID_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/* $Id: AliTRDsegmentID.h,v */
8
0a29d0f1 9///////////////////////////////////////////////////////////////////////////////
10// //
11// Base class for a detector segment //
12// //
13///////////////////////////////////////////////////////////////////////////////
f7336fa3 14
793ff80c 15#include <TObject.h>
f7336fa3 16
8230f242 17class AliTRDsegmentID : public TObject {
18
19 public:
20
f7336fa3 21 AliTRDsegmentID();
8230f242 22 AliTRDsegmentID(Int_t index);
23 virtual ~AliTRDsegmentID();
24
793ff80c 25 Int_t GetID() const { return fSegmentID; }
8230f242 26 virtual Int_t GetSize() { return sizeof(*this); }
27
28 void SetID(Int_t index) { fSegmentID = index;}
29
30 protected:
31
32 Int_t fSegmentID; // Identification number of a segment
33
34 ClassDef(AliTRDsegmentID,1) // Detector segment base class
35
f7336fa3 36};
37
8230f242 38#endif
f7336fa3 39