ATLAS Offline Software
AthTileTripReader.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /*
6  * File: AthTileTripReader.h
7  * Author: Stephen Cole <stephen.cole@cern.ch>
8  *
9  * Created on August 21, 2012, 11:32 AM
10  */
11 
12 #ifndef ATHTILETRIPREADER_H
13 #define ATHTILETRIPREADER_H
14 
16 
17 #include "PATCore/AcceptInfo.h"
18 #include "PATCore/AcceptData.h"
20 
21 
23 
24 static const InterfaceID IID_AthTileTripReader("AthTileTripReader", 1 , 0);
25 
27 {
28 public:
29  static const inline InterfaceID& interfaceID() { return IID_AthTileTripReader; }
30  AthTileTripReader(const std::string& type,
31  const std::string& name,
32  const IInterface* parent);
33 
34 
35  virtual ~AthTileTripReader();
36 
37  virtual StatusCode initialize() override;
38 
39  virtual StatusCode finalize() override;
40 
42 
43  float calculate(const INavigable4Momentum* part);
44 
45  bool checkEvent();
46 
48 
49  inline virtual const asg::AcceptInfo getAcceptInfo(){
50  return getRootTool()->getAcceptInfo();
51  }
52 
53  //static const InterfaceID& interfaceID(){return IID_AthTileTripReader;}
54 
55 // inline void setReaderVerbosity(int verbose=1){
56 // m_tripReader->setVerbosity(verbose);
57 // }
58 //
59 // inline void setTileTripFile(const char* file){
60 // m_tripFile=file;
61 // m_tripReader->setTripFile(file);
62 // }
63 
64 private:
65  std::string m_tripFile;
67  double m_dR;
68 };
69 
70 #endif /* ATHTILETRIPREADER_H */
71 
LArG4FSStartPointFilter.part
part
Definition: LArG4FSStartPointFilter.py:21
AthTileTripReader::m_tripFile
std::string m_tripFile
Definition: AthTileTripReader.h:65
AthTileTripReader::getRootTool
Root::TTileTripReader * getRootTool()
Definition: AthTileTripReader.h:47
AthTileTripReader::checkEvent
bool checkEvent()
Definition: AthTileTripReader.cxx:123
AthTileTripReader::getAcceptInfo
virtual const asg::AcceptInfo getAcceptInfo()
Definition: AthTileTripReader.h:49
AthTileTripReader::finalize
virtual StatusCode finalize() override
Definition: AthTileTripReader.cxx:74
AthTileTripReader::calculate
float calculate(const INavigable4Momentum *part)
Definition: AthTileTripReader.cxx:104
AthTileTripReader::initialize
virtual StatusCode initialize() override
Definition: AthTileTripReader.cxx:48
asg::AcceptInfo
Definition: AcceptInfo.h:28
AthTileTripReader::m_tripReader
Root::TTileTripReader * m_tripReader
Definition: AthTileTripReader.h:66
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
Root::TTileTripReader::getAcceptInfo
const asg::AcceptInfo & getAcceptInfo() const
Definition: TTileTripReader.h:57
AcceptData.h
AthTileTripReader::interfaceID
static const InterfaceID & interfaceID()
Definition: AthTileTripReader.h:29
AthTileTripReader::~AthTileTripReader
virtual ~AthTileTripReader()
Definition: AthTileTripReader.cxx:43
AthTileTripReader::AthTileTripReader
AthTileTripReader(const std::string &type, const std::string &name, const IInterface *parent)
Definition: AthTileTripReader.cxx:27
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
AthTileTripReader::m_dR
double m_dR
Definition: AthTileTripReader.h:67
AcceptInfo.h
INavigable4Momentum
Definition: INavigable4Momentum.h:21
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AthTileTripReader::accept
asg::AcceptData accept(const INavigable4Momentum *part=0)
Definition: AthTileTripReader.cxx:82
AthTileTripReader
Definition: AthTileTripReader.h:27
TTileTripReader.h
AthAlgTool
Definition: AthAlgTool.h:26
asg::AcceptData
Definition: AcceptData.h:30
Root::TTileTripReader
Definition: TTileTripReader.h:41