00001
00002
00003 #ifndef TRIGBUNCCROSSINGTOOL_STATICBUNCHCROSSINGTOOL_H
00004 #define TRIGBUNCCROSSINGTOOL_STATICBUNCHCROSSINGTOOL_H
00005
00006
00007 #include <map>
00008 #include <vector>
00009
00010
00011 #include "TrigBunchCrossingTool/BunchCrossingToolBase.h"
00012
00013 namespace Trig {
00014
00030 class StaticBunchCrossingTool : public BunchCrossingToolBase {
00031
00033 ASG_TOOL_CLASS( StaticBunchCrossingTool, Trig::IBunchCrossingTool )
00034
00035 public:
00037 StaticBunchCrossingTool( const std::string& name =
00038 "StaticBunchCrossingTool" );
00039
00041 virtual StatusCode initialize();
00042
00044 StatusCode loadConfig( int bgkey );
00046 StatusCode loadConfig( const std::vector< int >& filledBunches,
00047 const std::vector< float >& filledIntensities =
00048 std::vector< float >(),
00049 const std::vector< int >& unpairedBunches =
00050 std::vector< int >(),
00051 const std::vector< float >& unpairedIntensities =
00052 std::vector< float >() );
00053
00054 private:
00056 int m_bgkey;
00057
00059 std::map< int, std::vector< int > > m_knownBGKeys;
00060
00061 };
00062
00063 }
00064
00065 #endif // TRIGBUNCCROSSINGTOOL_STATICBUNCHCROSSINGTOOL_H