ROOT logo
/**
 * @file   DetConfig.C
 * @author Christian Holm Christensen <cholm@nbi.dk>
 * @date   Wed Oct 15 13:19:34 2014
 * 
 * @brief  Particular setup of detectors to use. 
 * 
 * This is used by Simulate.C, Reconstruct.C, QA.C, and AOD.C
 */
/** 
 * Particular set-up of detectors to use.  By default everything but
 * ACORDE is on.  Here, we turn off a few other detectors.
 */
struct DetCfg : public VirtualDetCfg
{
  // virtual Bool_t UseEMCAL()  const { return false; }
  // virtual Bool_t UseMUON()   const { return false; }
  // virtual Bool_t UsePHOS()   const { return false; }
  // virtual Bool_t UseHMPID()  const { return false; }
  // virtual Bool_t UseTOF()    const { return false; }
  // virtual Bool_t UseTRD()    const { return false; }
};

/** 
 * Create the detector configuration 
 * 
 * @return Pointer to global @c detCfg
 */
void DetConfig()
{
  Info("DetConfig", "Creating detector configuration");
  detCfg = new DetCfg;
  detCfg->Print();
}
// 
// EOF
//

 DetConfig.C:1
 DetConfig.C:2
 DetConfig.C:3
 DetConfig.C:4
 DetConfig.C:5
 DetConfig.C:6
 DetConfig.C:7
 DetConfig.C:8
 DetConfig.C:9
 DetConfig.C:10
 DetConfig.C:11
 DetConfig.C:12
 DetConfig.C:13
 DetConfig.C:14
 DetConfig.C:15
 DetConfig.C:16
 DetConfig.C:17
 DetConfig.C:18
 DetConfig.C:19
 DetConfig.C:20
 DetConfig.C:21
 DetConfig.C:22
 DetConfig.C:23
 DetConfig.C:24
 DetConfig.C:25
 DetConfig.C:26
 DetConfig.C:27
 DetConfig.C:28
 DetConfig.C:29
 DetConfig.C:30
 DetConfig.C:31
 DetConfig.C:32
 DetConfig.C:33
 DetConfig.C:34
 DetConfig.C:35
 DetConfig.C:36
 DetConfig.C:37
 DetConfig.C:38
 DetConfig.C:39