Updates
[u/mrichter/AliRoot.git] / PWGLF / FORWARD / analysis2 / sim / DetConfig.C
CommitLineData
421f877c 1/**
2 * @file DetConfig.C
3 * @author Christian Holm Christensen <cholm@nbi.dk>
4 * @date Wed Oct 15 13:19:34 2014
5 *
6 * @brief Particular setup of detectors to use.
7 *
8 * This is used by Simulate.C, Reconstruct.C, QA.C, and AOD.C
ee275c29 9 */
ee275c29 10/**
11 * Particular set-up of detectors to use. By default everything but
12 * ACORDE is on. Here, we turn off a few other detectors.
13 */
14struct DetCfg : public VirtualDetCfg
15{
16 // virtual Bool_t UseEMCAL() const { return false; }
17 // virtual Bool_t UseMUON() const { return false; }
18 // virtual Bool_t UsePHOS() const { return false; }
19 // virtual Bool_t UseHMPID() const { return false; }
20 // virtual Bool_t UseTOF() const { return false; }
21 // virtual Bool_t UseTRD() const { return false; }
22};
23
24/**
25 * Create the detector configuration
26 *
27 * @return Pointer to global @c detCfg
28 */
29void DetConfig()
30{
31 Info("DetConfig", "Creating detector configuration");
32 detCfg = new DetCfg;
33 detCfg->Print();
34}
35//
36// EOF
37//
38