/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimDataFormats/SimHitMaker/interface/CaloSlaveSD.h
41 строка
1 KB
Christopher Jones
Removed unnecessary include of MessageLogger.h from header
08 фев 2021, 19:48
08 фев 2021, 19:48
7e048cc
Код
Авторство
О чём код?
/////////////////////////////////////////////////////////////////////////////// // File: CaloSlaveSD.h // Date: 10.02 // Description: Interfaces CaloHit to appropriate container for ORCA usage /////////////////////////////////////////////////////////////////////////////// #ifndef CaloSlaveSD_h #define CaloSlaveSD_h #include "SimDataFormats/CaloHit/interface/PCaloHit.h" #include "SimDataFormats/CaloHit/interface/PCaloHitContainer.h" #include <string> #include <vector> class CaloSlaveSD { public: typedef std::vector<PCaloHit> Collection; typedef Collection::iterator iterator; typedef Collection::const_iterator const_iterator; CaloSlaveSD(std::string); virtual ~CaloSlaveSD(); virtual void Initialize(); std::string name() const { return name_; } virtual bool processHits(uint32_t, double, double, double, int, uint16_t depth = 0); virtual bool format(); Collection &hits() { return hits_; } std::string type() { return "calo"; } virtual const_iterator begin() { return hits_.begin(); } virtual const_iterator end() { return hits_.end(); } virtual void Clean(); virtual void ReserveMemory(unsigned int size); protected: Collection hits_; private: std::string name_; }; #endif // CaloSlaveSD_h