Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BbcPmtInfoContainerV1.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file BbcPmtInfoContainerV1.h
1 #ifndef __BBCPMTINFOCONTAINERV1_H__
2 #define __BBCPMTINFOCONTAINERV1_H__
3 
4 #include "BbcPmtInfoV1.h"
5 
6 #include <calobase/TowerInfoContainer.h>
7 
8 #include <phool/PHObject.h>
9 
10 #include <TClonesArray.h>
11 
13 {
14 public:
15 
17 
18  ~BbcPmtInfoContainerV1() override;
19 
20  void Reset() override;
21 
22  BbcPmtInfoV1 *get_tower_at_channel(int pos) override;
23 
24  BbcPmtInfoV1 *get_pmt(int ich) { return (BbcPmtInfoV1*) _clones->ConstructedAt(ich); }
25  TClonesArray *getarray() const { return _clones; }
26 
27  size_t size() const override { return _clones->GetEntries(); }
28 
29  //void AddBbcPmtInfo(const short ipmt, const Float_t q, const Float_t tt, const Float_t tq);
30 
31 protected:
32  TClonesArray *_clones = nullptr;
34 
35 private:
37 };
38 
39 #endif