CMS 3D CMS Logo

RootNeutronWriter.h
Go to the documentation of this file.
1 #ifndef SimMuon_Neutron_RootNeutronWriter_h
2 #define SimMuon_Neutron_RootNeutronWriter_h
3 
6 #include <TFile.h>
7 #include <vector>
14 public:
16  ~RootNeutronWriter() override;
17 
20  void initialize(int detType) override;
21 
22  RootChamberWriter& chamberWriter(int chamberType);
23 
24  void writeCluster(int chamberType, const edm::PSimHitContainer& hits) override;
25 
26 private:
27  std::map<int, RootChamberWriter> theChamberWriters;
28  TFile* theFile;
29 };
30 
31 #endif
hfClusterShapes_cfi.hits
hits
Definition: hfClusterShapes_cfi.py:5
RootNeutronWriter::theFile
TFile * theFile
Definition: RootNeutronWriter.h:28
NeutronWriter
Definition: NeutronWriter.h:15
RootNeutronWriter::writeCluster
void writeCluster(int chamberType, const edm::PSimHitContainer &hits) override
writes out a list of SimHits.
Definition: RootNeutronWriter.cc:39
RootNeutronWriter::RootNeutronWriter
RootNeutronWriter(const std::string &fileName)
Definition: RootNeutronWriter.cc:6
MillePedeFileConverter_cfg.fileName
fileName
Definition: MillePedeFileConverter_cfg.py:32
RootNeutronWriter::theChamberWriters
std::map< int, RootChamberWriter > theChamberWriters
Definition: RootNeutronWriter.h:27
RootNeutronWriter::initialize
void initialize(int detType) override
Definition: RootNeutronWriter.cc:19
RootNeutronWriter::chamberWriter
RootChamberWriter & chamberWriter(int chamberType)
Definition: RootNeutronWriter.cc:25
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
RootChamberWriter
Definition: RootChamberWriter.h:8
RootChamberWriter.h
RootNeutronWriter
Definition: RootNeutronWriter.h:13
NeutronWriter.h
edm::PSimHitContainer
std::vector< PSimHit > PSimHitContainer
Definition: PSimHitContainer.h:11
RootNeutronWriter::~RootNeutronWriter
~RootNeutronWriter() override
Definition: RootNeutronWriter.cc:8