test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiStripBadModuleGenerator.h
Go to the documentation of this file.
1 #ifndef CalibTracker_SiStripESProducers_SiStripBadModuleGenerator_H
2 #define CalibTracker_SiStripESProducers_SiStripBadModuleGenerator_H
3 
9 
10 #include <string>
11 
12 class SiStripBadModuleGenerator : public SiStripDepCondObjBuilderBase<SiStripBadStrip,TrackerTopology> {
13  public:
14 
17 
18  void getObj(SiStripBadStrip* & obj, const TrackerTopology* tTopo){obj=createObject(tTopo);}
19 
20  private:
21 
23 
24  void selectDetectors(const TrackerTopology* tTopo, const std::vector<uint32_t>& , std::vector<uint32_t>& );
25 
26  bool isTIBDetector(const TrackerTopology* tTopo,
27  const DetId & therawid,
28  uint32_t requested_layer,
29  uint32_t requested_bkw_frw,
30  uint32_t requested_int_ext,
31  uint32_t requested_string,
32  uint32_t requested_ster,
33  uint32_t requested_detid) const;
34 
35  bool isTOBDetector(const TrackerTopology* tTopo,
36  const DetId & therawid,
37  uint32_t requested_layer,
38  uint32_t requested_bkw_frw,
39  uint32_t requested_rod,
40  uint32_t requested_ster,
41  uint32_t requested_detid) const;
42 
43  bool isTIDDetector(const TrackerTopology* tTopo,
44  const DetId & therawid,
45  uint32_t requested_side,
46  uint32_t requested_wheel,
47  uint32_t requested_ring,
48  uint32_t requested_ster,
49  uint32_t requested_detid) const;
50 
51  bool isTECDetector(const TrackerTopology* tTopo,
52  const DetId & therawid,
53  uint32_t requested_side,
54  uint32_t requested_wheel,
55  uint32_t requested_petal_bkw_frw,
56  uint32_t requested_petal,
57  uint32_t requested_ring,
58  uint32_t requested_ster,
59  uint32_t requested_detid) const;
60 
62  typedef std::vector< edm::ParameterSet > Parameters;
64 
65 };
66 
67 #endif
void selectDetectors(const TrackerTopology *tTopo, const std::vector< uint32_t > &, std::vector< uint32_t > &)
bool isTIDDetector(const TrackerTopology *tTopo, const DetId &therawid, uint32_t requested_side, uint32_t requested_wheel, uint32_t requested_ring, uint32_t requested_ster, uint32_t requested_detid) const
std::vector< edm::ParameterSet > Parameters
bool isTIBDetector(const TrackerTopology *tTopo, const DetId &therawid, uint32_t requested_layer, uint32_t requested_bkw_frw, uint32_t requested_int_ext, uint32_t requested_string, uint32_t requested_ster, uint32_t requested_detid) const
SiStripBadModuleGenerator(const edm::ParameterSet &, const edm::ActivityRegistry &)
Definition: DetId.h:18
SiStripBadStrip * createObject(const TrackerTopology *tTopo)
bool isTOBDetector(const TrackerTopology *tTopo, const DetId &therawid, uint32_t requested_layer, uint32_t requested_bkw_frw, uint32_t requested_rod, uint32_t requested_ster, uint32_t requested_detid) const
bool isTECDetector(const TrackerTopology *tTopo, const DetId &therawid, uint32_t requested_side, uint32_t requested_wheel, uint32_t requested_petal_bkw_frw, uint32_t requested_petal, uint32_t requested_ring, uint32_t requested_ster, uint32_t requested_detid) const
void getObj(SiStripBadStrip *&obj, const TrackerTopology *tTopo)