CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PixelToLNKAssociateFromAscii.h
Go to the documentation of this file.
1 #ifndef PixelToLNKAssociateFromAscii_H
2 #define PixelToLNKAssociateFromAscii_H
3 
9 #include <vector>
10 #include <string>
11 #include <map>
12 
15 
16 class PixelBarrelName;
17 class PixelEndcapName;
18 class PixelModuleName;
19 
21 public:
22 
25 
27 
28  virtual const CablingRocId * operator()(const DetectorRocId& roc) const;
29 
31  virtual std::string version() const;
32 
33 private:
34  typedef TRange<int> Range;
35 
37  void init( const std::string & fileName);
38  void addConnections( int fedId, int linkId, std::string module, Range rocDetIds);
39 
40 
42  std::vector< std::pair<DetectorRocId,CablingRocId> > theConnection;
43 
44  Range readRange( const std::string &) const;
45 
46 };
47 #endif
void init(const std::string &fileName)
initialisatin (read file)
PixelToFEDAssociate::CablingRocId CablingRocId
PixelToLNKAssociateFromAscii(const std::string &fileName)
void addConnections(int fedId, int linkId, std::string module, Range rocDetIds)
virtual const CablingRocId * operator()(const DetectorRocId &roc) const
LNK id for module.
std::vector< std::pair< DetectorRocId, CablingRocId > > theConnection
virtual std::string version() const
version
PixelToFEDAssociate::DetectorRocId DetectorRocId
Range readRange(const std::string &) const
Definition: vlib.h:209