CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiPixelFolderOrganizer.h
Go to the documentation of this file.
1 #ifndef SiPixelCommon_SiPixelFolderOrganizer_h
2 #define SiPixelCommon_SiPixelFolderOrganizer_h
3 // -*- C++ -*-
4 //
5 // Package: SiPixelCommon
6 // Class : SiPixelFolderOrganizer
7 //
16 //
17 // Original Author: chiochia
18 // Created: Thu Jan 26 23:49:46 CET 2006
19 // $Id: SiPixelFolderOrganizer.h,v 1.4 2008/05/01 18:15:51 merkelp Exp $
21 #include <boost/cstdint.hpp>
22 #include <string>
23 
25 
26  public:
27 
30 
32  virtual ~SiPixelFolderOrganizer();
33 
35  //type is: BPIX mod=0, lad=1, lay=2, phi=3,
36  // FPIX mod=0, blade=4, disc=5, ring=6
37  bool setModuleFolder(const uint32_t& rawdetid=0, int type=0);
38  void getModuleFolder(const uint32_t& rawdetid, std::string& path);
39 
41  bool setFedFolder(const uint32_t FedId);
42 
43  private:
44 
45  std::string rootFolder;
46  std::string slash;
48 };
49 #endif
type
Definition: HCALResponse.h:22
int path() const
Definition: HLTadd.h:3
bool setFedFolder(const uint32_t FedId)
Set folder name for a FED (used in the case of errors without detId)
void getModuleFolder(const uint32_t &rawdetid, std::string &path)
virtual ~SiPixelFolderOrganizer()
Destructor.
bool setModuleFolder(const uint32_t &rawdetid=0, int type=0)
Set folder name for a module or plaquette.