CMS 3D CMS Logo

DTCompactMapWriter.h
Go to the documentation of this file.
1 #ifndef DTCompactMapWriter_H
2 #define DTCompactMapWriter_H
3 
14 //----------------------
15 // Base Class Headers --
16 //----------------------
17 
18 //------------------------------------
19 // Collaborating Class Declarations --
20 //------------------------------------
21 class DTROBCardId;
22 class DTROBCardCompare;
23 class DTTDCChannelId;
25 class DTPhysicalWireId;
27 class DTROSChannelId;
29 
30 //---------------
31 // C++ Headers --
32 //---------------
33 #include <string>
34 #include <vector>
35 #include <map>
36 #include <algorithm>
37 #include <iostream>
38 #include <fstream>
39 
41 public:
42  static void buildSteering(std::istream& jobDesc);
43 
44 private:
45  static void fillTDCMap(const std::string& map_file,
46  int wheel,
47  int sector,
48  std::map<DTROBCardId, int, DTROBCardCompare>& tdc_idm,
49  int stationId, // int robId,
50  int map_count,
51  bool& write);
52  static void fillROSMap(const std::string& map_file,
53  int ddu,
54  int ros,
55  int whdef,
56  int secdef,
57  std::map<DTROSChannelId, DTROBCardId, DTROSChannelCompare>& ddu_map,
58  std::map<DTROSChannelId, DTROBCardId, DTROSChannelCompare>& ros_map,
59  int map_count,
60  bool& write);
61  static void cloneROS(std::map<DTROSChannelId, DTROBCardId, DTROSChannelCompare>& ros_m,
62  std::map<DTROSChannelId, DTROBCardId, DTROSChannelCompare>& ros_a,
63  int ddu_o,
64  int ros_o,
65  int ddu_f,
66  int ros_f);
67  static void appendROS(std::map<DTROSChannelId, DTROBCardId, DTROSChannelCompare>& ros_m,
68  std::map<DTROSChannelId, DTROBCardId, DTROSChannelCompare>& ros_a);
69  static void fillReadOutMap(int ros_count,
70  std::map<DTROBCardId, int, DTROBCardCompare>& tdc_idm,
71  std::map<DTROSChannelId, DTROBCardId, DTROSChannelCompare>& ddu_map,
72  std::map<DTROSChannelId, DTROBCardId, DTROSChannelCompare>& ros_map);
73 };
74 
75 #endif
DTCompactMapWriter::buildSteering
static void buildSteering(std::istream &jobDesc)
Definition: DTCompactMapWriter.cc:221
DTCompactMapWriter::appendROS
static void appendROS(std::map< DTROSChannelId, DTROBCardId, DTROSChannelCompare > &ros_m, std::map< DTROSChannelId, DTROBCardId, DTROSChannelCompare > &ros_a)
Definition: DTCompactMapWriter.cc:422
DTROBCardCompare
Definition: DTCompactMapWriter.cc:100
DTCompactMapWriter::fillROSMap
static void fillROSMap(const std::string &map_file, int ddu, int ros, int whdef, int secdef, std::map< DTROSChannelId, DTROBCardId, DTROSChannelCompare > &ddu_map, std::map< DTROSChannelId, DTROBCardId, DTROSChannelCompare > &ros_map, int map_count, bool &write)
Definition: DTCompactMapWriter.cc:358
DTCompactMapWriter
Definition: DTCompactMapWriter.h:40
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DTROSChannelId
Definition: DTCompactMapWriter.cc:30
DTCompactMapWriter::fillReadOutMap
static void fillReadOutMap(int ros_count, std::map< DTROBCardId, int, DTROBCardCompare > &tdc_idm, std::map< DTROSChannelId, DTROBCardId, DTROSChannelCompare > &ddu_map, std::map< DTROSChannelId, DTROBCardId, DTROSChannelCompare > &ros_map)
Definition: DTCompactMapWriter.cc:431
makeMuonMisalignmentScenario.wheel
wheel
Definition: makeMuonMisalignmentScenario.py:319
DTPhysicalWireCompare
Definition: DTCompactMapWriter.cc:185
writeEcalDQMStatus.write
write
Definition: writeEcalDQMStatus.py:48
DTCompactMapWriter::fillTDCMap
static void fillTDCMap(const std::string &map_file, int wheel, int sector, std::map< DTROBCardId, int, DTROBCardCompare > &tdc_idm, int stationId, int map_count, bool &write)
Definition: DTCompactMapWriter.cc:319
DTTDCChannelId
Definition: DTCompactMapWriter.cc:127
DTCompactMapWriter::cloneROS
static void cloneROS(std::map< DTROSChannelId, DTROBCardId, DTROSChannelCompare > &ros_m, std::map< DTROSChannelId, DTROBCardId, DTROSChannelCompare > &ros_a, int ddu_o, int ros_o, int ddu_f, int ros_f)
Definition: DTCompactMapWriter.cc:400
DTROBCardId
Definition: DTCompactMapWriter.cc:74
DTROSChannelCompare
Definition: DTCompactMapWriter.cc:51
DTTDCChannelCompare
Definition: DTCompactMapWriter.cc:144
DTPhysicalWireId
Definition: DTCompactMapWriter.cc:163