Controlled local application of drugs to a certain part of a body of a patient may be of major importance during a cardiac CT scan. By transporting the drugs in containers which prevent an application of the drugs and by rupturing only those containers which are located in the vicinity of the part of the body of a patient to which the drugs have to be applied, a local application of the drugs may be performed. According to an exemplary embodiment of the present invention, the rupturing and therefore the application of the drugs may be triggered by a monitoring algorithm which evaluates changes in the heart beat rate of the patient. Advantageously, the method allows for a local delivery of the drugs on a fine time scale and therefore for a fast control of the heart beat rate during the CT scan.