#ifndef STHITINTEGRATOR_H
#define STHITINTEGRATOR_H 1
 
// Include files

#include <string>
#include <map>
 
// from Gaudi
#include "TrackMonitorBase.h"

// from Kernel
#include "Kernel/ISTReadoutTool.h"

// STTELL1Event
#include "Event/STTELL1Data.h"

#include "GaudiAlg/GaudiTupleAlg.h"


namespace LHCb {
  class Track ;
  class State ;
}
class DeVelo ;
class DeOTDetector ;
class IHitExpectation;
class IVeloExpectation;
class ITrackExtraplator;
class DeSTDetector;

/** @class STHitIntegrator STHitIntegrator.h 
 * 
 * Class for get active area of IT/TT
 *  @author Ch.Elsasser
 *  @date   19-5-2012
 */                 
                                                           
class STHitIntegrator : public GaudiTupleAlg {
                                                                             
 public:
                                                                             
  /** Standard construtor */
  STHitIntegrator( const std::string& name, ISvcLocator* pSvcLocator );
                                                                             
  /** Destructor */
  virtual ~STHitIntegrator();

  /** Algorithm initialize */
  virtual StatusCode initialize();



 private:

  const DeSTDetector*  m_STDet;

  std::string m_detType;
  std::string m_layer;

  double m_Ntestint;

  double m_maxX;
  double m_maxY;
  
  
  
 
  
  
  
  
  
  
  

  
  typedef  std::map<std::string, unsigned int> MultiplicityMap ;
  MultiplicityMap m_multiplicityMap;

  std::map<std::string, unsigned int> m_layerMap;
  
  
};


#endif // STHITINTEGRATOR_H
