CMS 3D CMS Logo

DTUserKeyedConfigHandler.h
Go to the documentation of this file.
1 #ifndef DTUserKeyedConfigHandler_H
2 #define DTUserKeyedConfigHandler_H
3 
14 //----------------------
15 // Base Class Headers --
16 //----------------------
18 
19 //------------------------------------
20 // Collaborating Class Declarations --
21 //------------------------------------
25 #include <memory>
26 #include <string>
27 
28 namespace coral {
29  class ISessionProxy;
30 }
31 
32 namespace cond {
33  namespace persistency {
34  class KeyList;
35  }
36 } // namespace cond
37 
38 //---------------
39 // C++ Headers --
40 //---------------
41 
42 // ---------------------
43 // -- Class Interface --
44 // ---------------------
45 
47 public:
51 
54  ~DTUserKeyedConfigHandler() override;
55 
58  void getNewObjects() override;
60  std::string id() const override;
61 
63 
64 private:
65  int dataRun;
71  std::vector<DTConfigKey> userConf;
72  bool writeKeys;
73  bool writeData;
75 
77  std::shared_ptr<coral::ISessionProxy> isession;
78  void chkConfigList(const std::map<int, bool>& userBricks);
79  bool userDiscardedKey(int key);
80  static bool sameConfigList(const std::vector<DTConfigKey>& cfgl, const std::vector<DTConfigKey>& cfgr);
81 
83 };
84 
85 #endif // DTUserKeyedConfigHandler_H
PopConSourceHandler.h
DTUserKeyedConfigHandler::DTUserKeyedConfigHandler
DTUserKeyedConfigHandler(const edm::ParameterSet &ps)
Definition: DTUserKeyedConfigHandler.cc:48
ConnectionPool.h
DTUserKeyedConfigHandler::keyList
const cond::persistency::KeyList * keyList
Definition: DTUserKeyedConfigHandler.h:82
DTUserKeyedConfigHandler::~DTUserKeyedConfigHandler
~DTUserKeyedConfigHandler() override
Definition: DTUserKeyedConfigHandler.cc:79
DTUserKeyedConfigHandler::ccbConfig
DTCCBConfig * ccbConfig
Definition: DTUserKeyedConfigHandler.h:74
DTUserKeyedConfigHandler::dataRun
int dataRun
Definition: DTUserKeyedConfigHandler.h:65
DTUserKeyedConfigHandler::sameConfigList
static bool sameConfigList(const std::vector< DTConfigKey > &cfgl, const std::vector< DTConfigKey > &cfgr)
Definition: DTUserKeyedConfigHandler.cc:383
DTUserKeyedConfigHandler::chkConfigList
void chkConfigList(const std::map< int, bool > &userBricks)
Definition: DTUserKeyedConfigHandler.cc:309
coral
Definition: Binary.h:9
cond::persistency::ConnectionPool
Definition: ConnectionPool.h:35
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
cond
Definition: plugin.cc:23
edm::ParameterSet
Definition: ParameterSet.h:36
DTUserKeyedConfigHandler::dataTag
std::string dataTag
Definition: DTUserKeyedConfigHandler.h:66
DTUserKeyedConfigHandler::brickContainer
std::string brickContainer
Definition: DTUserKeyedConfigHandler.h:70
DTUserKeyedConfigHandler::writeKeys
bool writeKeys
Definition: DTUserKeyedConfigHandler.h:72
DTUserKeyedConfigHandler::userConf
std::vector< DTConfigKey > userConf
Definition: DTUserKeyedConfigHandler.h:71
popcon::PopConSourceHandler
Definition: PopConSourceHandler.h:30
DTUserKeyedConfigHandler::id
std::string id() const override
Definition: DTUserKeyedConfigHandler.cc:381
DTUserKeyedConfigHandler::writeData
bool writeData
Definition: DTUserKeyedConfigHandler.h:73
DTUserKeyedConfigHandler::onlineConnect
std::string onlineConnect
Definition: DTUserKeyedConfigHandler.h:67
DTUserKeyedConfigHandler
Definition: DTUserKeyedConfigHandler.h:46
DTUserKeyedConfigHandler::setList
void setList(const cond::persistency::KeyList *list)
Definition: DTUserKeyedConfigHandler.cc:427
DTUserKeyedConfigHandler::onlineAuthentication
std::string onlineAuthentication
Definition: DTUserKeyedConfigHandler.h:68
DTUserKeyedConfigHandler::connection
cond::persistency::ConnectionPool connection
Definition: DTUserKeyedConfigHandler.h:76
cond::persistency::KeyList
Definition: KeyList.h:33
DTUserKeyedConfigHandler::onlineAuthSys
int onlineAuthSys
Definition: DTUserKeyedConfigHandler.h:69
list
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*", "!HLTx*" if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL. It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of "!*" before the partial wildcard feature was incorporated). Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run
ParameterSet.h
DTUserKeyedConfigHandler::getNewObjects
void getNewObjects() override
Definition: DTUserKeyedConfigHandler.cc:84
DTUserKeyedConfigHandler::isession
std::shared_ptr< coral::ISessionProxy > isession
Definition: DTUserKeyedConfigHandler.h:77
crabWrapper.key
key
Definition: crabWrapper.py:19
DTUserKeyedConfigHandler::userDiscardedKey
bool userDiscardedKey(int key)
Definition: DTUserKeyedConfigHandler.cc:416
DTCCBConfig
Definition: DTCCBConfig.h:60
DTCCBConfig.h