StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMuETofCollection.h
1 /***************************************************************************
2  *
3  * $Id: StMuETofCollection.h,v 1.2 2021/05/11 19:40:43 jdb Exp $
4  *
5  * Author: Florian Seck, October 2018
6  ***************************************************************************
7  *
8  * Description: Data collection for storing eTOF information (header, digis,
9  * hits) in the muDsts
10  *
11  ***************************************************************************
12  *
13  * $Log: StMuETofCollection.h,v $
14  * Revision 1.2 2021/05/11 19:40:43 jdb
15  * StETofHeader update from philipp W. modified classes to include the front-end missmatch pattern
16  *
17  * Revision 1.1 2019/02/21 13:32:54 jdb
18  * Inclusion of ETOF MuDst code. This code adds support for the full set of ETOF data which includes EtofDigi, EtofHit, EtofHeader. The code essentially copies similar structures from StEvent and additionally rebuilds the maps between Digis and Hits. Accessor methods are added based on the pattern from BTOF to provide access to data at various levels. The code for accessing the PID traits provided by ETOF is also provided
19  *
20  *
21  ***************************************************************************/
22 #ifndef STMUETOFCOLLECTION_H
23 #define STMUETOFCOLLECTION_H
24 
25 #include <vector>
26 
27 #include "TObject.h"
28 
29 class StETofCollection;
30 class StMuETofHeader;
31 class StMuETofDigi;
32 class StMuETofHit;
33 
34 
35 class StMuETofCollection : public TObject {
36 
37 public:
38 
41 
43 
44  const StMuETofHeader* etofHeader() const;
45  StMuETofHeader* etofHeader();
46 
47  StMuETofDigi* etofDigi( int i );
48  StMuETofHit* etofHit( int i );
49 
50  int digisPresent();
51  int hitsPresent();
52 
53 protected:
54 
55  std::vector< StMuETofHeader > mETofHeader;
56  std::vector< StMuETofDigi > mETofDigis;
57  std::vector< StMuETofHit > mETofHits;
58 
59 
60  ClassDef( StMuETofCollection, 2 )
61 };
62 
63 #endif // STMUETOFCOLLECTION_H