CMS 3D CMS Logo

HGCalModuleTreeReader.h
Go to the documentation of this file.
1 /****************************************************************************
2  *
3  * This is a part of HGCAL offline software.
4  * Authors:
5  * Pedro Silva, CERN
6  * Laurent Forthomme, CERN
7  *
8  ****************************************************************************/
9 
10 #ifndef EventFilter_HGCalRawToDigi_HGCalModuleTreeReader_h
11 #define EventFilter_HGCalRawToDigi_HGCalModuleTreeReader_h
12 
14 
15 namespace hgcal::econd {
19  public:
24  const std::string& tree_name,
25  const std::vector<std::string>& filenames);
26 
29  unsigned int event, chip;
31  std::vector<unsigned int>* daqdata{nullptr};
32  };
33  ECONDInput next() override;
34 
35  private:
37  ECONDInputColl::const_iterator it_data_;
38  };
39 
40 } // namespace hgcal::econd
41 
42 #endif
ECONDInputColl::const_iterator it_data_
Pure virtual base class for a ECON-D event emulator implementation.
ECONDInput next() override
Fetch the next ECON-D event.
std::pair< EventId, ERxInput > ECONDInput
ECON-D inputs for a given event.
Definition: SlinkTypes.h:32
std::map< EventId, ERxInput > ECONDInputColl
collection of ECON-D inputs
Definition: SlinkTypes.h:35
HGCalModuleTreeReader(const EmulatorParameters &, const std::string &tree_name, const std::vector< std::string > &filenames)